# Niagara / unreal GDC

**URL:** <https://realtimevfx.com/t/niagara-unreal-gdc/4359>\
**Category:** General Discussion\
**Tags:** unreal\
**Created:** [May 23, 2018, 7:00am UTC](https://realtimevfx.com/t/niagara-unreal-gdc/4359 "2018-05-23T07:00:00Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![ShaunKime](https://realtimevfx.com/letter_avatar_proxy/v4/letter/s/7bcc69/32.png) [@ShaunKime](https://realtimevfx.com/u/ShaunKime)\
**Post date:** [June 3, 2018, 11:18pm UTC](https://realtimevfx.com/t/niagara-unreal-gdc/4359/21 "2018-06-03T23:18:01Z")

</div>

We’ve made a lot of changes post this build to get rotations to work better. At the build you have I think that we were still on axis-angle for mesh orientation. It is now a quarternion with several well tested functions around quats.

---

<div class="post-metadata">

**Author:** ![lionroot](https://realtimevfx.com/user_avatar/realtimevfx.com/lionroot/32/3559_2.png) [@lionroot](https://realtimevfx.com/u/lionroot)\
**Post date:** [June 4, 2018, 5:16am UTC](https://realtimevfx.com/t/niagara-unreal-gdc/4359/22 "2018-06-04T05:16:14Z")

</div>

Just starting to Learn Unreal VFX and saw this. Is it worth going through the Cascade Intro for v4.2, or should I wait? Thx

---

<div class="post-metadata">

**Author:** ![cannabis.cod3r](https://realtimevfx.com/user_avatar/realtimevfx.com/cannabis.cod3r/32/5443_2.png) [@cannabis.cod3r](https://realtimevfx.com/u/cannabis.cod3r)\
**Post date:** [June 4, 2018, 5:22am UTC](https://realtimevfx.com/t/niagara-unreal-gdc/4359/23 "2018-06-04T05:22:14Z")

</div>

@ShaunKime Thanks, I’ll grab latest from Dev-Niagara and try again.

A couple more questions if you’re willing to entertain:

1. Can you create arbitrary namespaces? Or can you only add arbitrary values to _existing_ namespaces? I’ve defined a bunch of values under Emitter that are picked up in Particles. I would like to clump them all together under one arbitrary namespace that is visible farther down the stack.
2. Is there a way to get real-time feedback in the viewport when I drag a slider? Or am I _not_ getting real-time feedback because I’ve defined values in emitter spawn scripts and it has to recompile/reload it every time?

---

<div class="post-metadata">

**Author:** ![ShaunKime](https://realtimevfx.com/letter_avatar_proxy/v4/letter/s/7bcc69/32.png) [@ShaunKime](https://realtimevfx.com/u/ShaunKime)\
**Post date:** [June 4, 2018, 5:36am UTC](https://realtimevfx.com/t/niagara-unreal-gdc/4359/24 "2018-06-04T05:36:25Z")

</div>

You can create arbitrary namespaces, but they are “temporary”, meaning they only have meaning for the script type that you are on. The values are scoped to that update, spawn or event and are not persisted in any way. We use Physics.Force for this. It is set to zero by default at the beginning of the update script, a bunch of force modules go in and accumulate their forces for the frame, and then the SolveForcesAndVelocity module resolves those into changes to Particles.Velocity and Particles.Position. Anything you create will follow that same paradigm. However, you can create sub-namespaces within the supported ones. So Particles.Cannabis. is a perfectly valid namespace to organize all your custom stuff into, which I think gets you most of what you want.

We reset the sim when you change values for now as we don’t know if the change is cosmetic or functional and just opted for the safest. If paused, we re-sim up to that point, but that may be flakey in the build you are using.

---

<div class="post-metadata">

**Author:** ![cannabis.cod3r](https://realtimevfx.com/user_avatar/realtimevfx.com/cannabis.cod3r/32/5443_2.png) [@cannabis.cod3r](https://realtimevfx.com/u/cannabis.cod3r)\
**Post date:** [June 4, 2018, 5:38am UTC](https://realtimevfx.com/t/niagara-unreal-gdc/4359/25 "2018-06-04T05:38:20Z")

</div>

I was never a big fan of Cascade. I always felt it was cumbersome to use and not easily extensible. Niagara changes all that. So far, I think Niagara is a very well designed and intuitive system.

In 2 days of Niagara, I (roughly) got working what took me 2 weeks in C++. I think I’ve found a new home. The more I learn about Niagara, the more it keeps blowing my mind.

@ShaunKime Thanks again.

---

<div class="post-metadata">

**Author:** ![ShaunKime](https://realtimevfx.com/letter_avatar_proxy/v4/letter/s/7bcc69/32.png) [@ShaunKime](https://realtimevfx.com/u/ShaunKime)\
**Post date:** [June 4, 2018, 5:38am UTC](https://realtimevfx.com/t/niagara-unreal-gdc/4359/26 "2018-06-04T05:38:23Z")

</div>

We’re trying hard to make it easy for people with Cascade knowledge to jump in and use Niagara, so your efforts in Cascade should still pay off. Watch the video mentioned above to help prep for what’s coming, but you should still be able to get a lot accomplished within Cascade.

---

<div class="post-metadata">

**Author:** ![ShaunKime](https://realtimevfx.com/letter_avatar_proxy/v4/letter/s/7bcc69/32.png) [@ShaunKime](https://realtimevfx.com/u/ShaunKime)\
**Post date:** [June 4, 2018, 5:39am UTC](https://realtimevfx.com/t/niagara-unreal-gdc/4359/27 "2018-06-04T05:39:13Z")

</div>

> [@cannabis.cod3r](#):
>
> I was never a big fan of Cascade. I always felt it was cumbersome to use and not easily extensible. Niagara changes all that. So far, I think Niagara is a very well designed and intuitive system.
> 
> In 2 days of Niagara, I (roughly) got working what took me 2 weeks in C++. I think I’ve found a new home. The more I learn about Niagara, the more it keeps blowing my mind.
> 
> @ShaunKime Thanks again.

Wow… we love to hear that!

---

<div class="post-metadata">

**Author:** ![ShaunKime](https://realtimevfx.com/letter_avatar_proxy/v4/letter/s/7bcc69/32.png) [@ShaunKime](https://realtimevfx.com/u/ShaunKime)\
**Post date:** [June 4, 2018, 5:48am UTC](https://realtimevfx.com/t/niagara-unreal-gdc/4359/28 "2018-06-04T05:48:00Z")

</div>

As with any tool, once we release Niagara, evaluate both and see which one best meets the needs of you and your team.

---

<div class="post-metadata">

**Author:** ![lionroot](https://realtimevfx.com/user_avatar/realtimevfx.com/lionroot/32/3559_2.png) [@lionroot](https://realtimevfx.com/u/lionroot)\
**Post date:** [June 4, 2018, 5:48am UTC](https://realtimevfx.com/t/niagara-unreal-gdc/4359/29 "2018-06-04T05:48:31Z")

</div>

Great thanks! Will there be tutorial videos as well to walkthrough it?

---

<div class="post-metadata">

**Author:** ![ShaunKime](https://realtimevfx.com/letter_avatar_proxy/v4/letter/s/7bcc69/32.png) [@ShaunKime](https://realtimevfx.com/u/ShaunKime)\
**Post date:** [June 4, 2018, 5:50am UTC](https://realtimevfx.com/t/niagara-unreal-gdc/4359/30 "2018-06-04T05:50:46Z")

</div>

It will take us some time, but you can expect a lot of doc/videos/training info to help people transition over.

---

<div class="post-metadata">

**Author:** ![cannabis.cod3r](https://realtimevfx.com/user_avatar/realtimevfx.com/cannabis.cod3r/32/5443_2.png) [@cannabis.cod3r](https://realtimevfx.com/u/cannabis.cod3r)\
**Post date:** [June 6, 2018, 5:10am UTC](https://realtimevfx.com/t/niagara-unreal-gdc/4359/31 "2018-06-06T05:10:10Z")

</div>

@ShaunKime I see data interfaces for:

- Curl noise
- Spline
- Static Mesh
- Parameter binding

I understand future interfaces will surface over time. I’m just curious to know what interfaces (if any) are queued in your backlog. Or have you deferred implementation of data interfaces to subsystem owners (ie. audio).

---

<div class="post-metadata">

**Author:** ![Gronk](https://realtimevfx.com/user_avatar/realtimevfx.com/gronk/32/1035_2.png) [@Gronk](https://realtimevfx.com/u/Gronk)\
**Post date:** [June 6, 2018, 7:51am UTC](https://realtimevfx.com/t/niagara-unreal-gdc/4359/32 "2018-06-06T07:51:00Z")

</div>

Looks like an amazing architecture guys, really well thought out, can’t wait!

---

<div class="post-metadata">

**Author:** ![cannabis.cod3r](https://realtimevfx.com/user_avatar/realtimevfx.com/cannabis.cod3r/32/5443_2.png) [@cannabis.cod3r](https://realtimevfx.com/u/cannabis.cod3r)\
**Post date:** [June 6, 2018, 9:15am UTC](https://realtimevfx.com/t/niagara-unreal-gdc/4359/33 "2018-06-06T09:15:18Z")

</div>

Another presentation that just popped up in my feed:

[![](https://img.youtube.com/vi/mk3MJOqxT3g/maxresdefault.jpg "Introduction to the Niagara Visual Effects System | 2018 EDU Summit | Unreal Engine") ](https://www.youtube.com/watch?v=mk3MJOqxT3g)

---

<div class="post-metadata">

**Author:** ![cannabis.cod3r](https://realtimevfx.com/user_avatar/realtimevfx.com/cannabis.cod3r/32/5443_2.png) [@cannabis.cod3r](https://realtimevfx.com/u/cannabis.cod3r)\
**Post date:** [June 6, 2018, 6:11pm UTC](https://realtimevfx.com/t/niagara-unreal-gdc/4359/34 "2018-06-06T18:11:15Z")

</div>

MeshOrientation and real-time update (of slider changes) are indeed working in latest. So much fun…

[https://vimeo.com/263464945](https://vimeo.com/263464945)

Can I set keyframes for my value changes in Sequencer yet?

---

<div class="post-metadata">

**Author:** ![Ninjin](https://realtimevfx.com/user_avatar/realtimevfx.com/ninjin/32/1554_2.png) [@Ninjin](https://realtimevfx.com/u/Ninjin)\
**Post date:** [June 8, 2018, 5:36am UTC](https://realtimevfx.com/t/niagara-unreal-gdc/4359/35 "2018-06-08T05:36:43Z")

</div>

I never thought a stupid table would blow my mind, but it actually did.

---

<div class="post-metadata">

**Author:** ![cannabis.cod3r](https://realtimevfx.com/user_avatar/realtimevfx.com/cannabis.cod3r/32/5443_2.png) [@cannabis.cod3r](https://realtimevfx.com/u/cannabis.cod3r)\
**Post date:** [June 8, 2018, 7:12am UTC](https://realtimevfx.com/t/niagara-unreal-gdc/4359/36 "2018-06-08T07:12:47Z")

</div>

Grid distribution…

[https://vimeo.com/263672307](https://vimeo.com/263672307)

@ShaunKime I got really tripped up when I re-defined the parameter map. In an emitter script I defined Foo.Bar as a float. In a particle script, I also had Foo.Bar defined as a float. Back in my emitter script, I realized I actually wanted an int32, so I changed the type and moved on. I forgot to change Foo.Bar in the other script to an int32 as well. So I started playing VM in my head, running the update script through the range of inputs because it wasn’t working properly. Okay, my math is wrong. Clearly. (99% of the time it is.) Double check…oh there _is_ a bug in my code. Fix. Still doesn’t work. Hrm. Rinse and repeat for WAY too long until I’m convinced it’s _not_ my code. I start looking elsewhere and Capture shows Foo.Bar is always 0. No matter what value I set Foo.Bar with, it’s always 0. What the…why? Oh, there are two Foo.Bars defined in the parameter map! One of type int32 and one of type float. And that’s the problem. I was setting the int32 version of Foo.Bar and the script was using the float version of Foo.Bar. Because the float value is never set, the input is always 0. Clear as mud?

I guess the name isn’t used as a hash into the map? Or I’m dealing with different maps in different scopes? Or is this a feature where you can define the same variable name multiple times, each holding different types?

---

<div class="post-metadata">

**Author:** ![ShaunKime](https://realtimevfx.com/letter_avatar_proxy/v4/letter/s/7bcc69/32.png) [@ShaunKime](https://realtimevfx.com/u/ShaunKime)\
**Post date:** [June 8, 2018, 10:58am UTC](https://realtimevfx.com/t/niagara-unreal-gdc/4359/37 "2018-06-08T10:58:49Z")

</div>

We have a long list, but likely won’t have a chance to get to them before we have to ship 4.20. The great thing about the new architecture is that anyone can add new ones and put them on the marketplace to share.

---

<div class="post-metadata">

**Author:** ![ShaunKime](https://realtimevfx.com/letter_avatar_proxy/v4/letter/s/7bcc69/32.png) [@ShaunKime](https://realtimevfx.com/u/ShaunKime)\
**Post date:** [June 8, 2018, 11:05am UTC](https://realtimevfx.com/t/niagara-unreal-gdc/4359/38 "2018-06-08T11:05:32Z")

</div>

If you expose them as user namespaces variables you can animate within the level using sequencer.

---

<div class="post-metadata">

**Author:** ![ShaunKime](https://realtimevfx.com/letter_avatar_proxy/v4/letter/s/7bcc69/32.png) [@ShaunKime](https://realtimevfx.com/u/ShaunKime)\
**Post date:** [June 8, 2018, 11:10am UTC](https://realtimevfx.com/t/niagara-unreal-gdc/4359/39 "2018-06-08T11:10:47Z")

</div>

Yeah, we need to catch that as an error when compiling. If you mix types and the same names, we probably don’t properly hook up the tweaked constants and the shader code.

---

<div class="post-metadata">

**Author:** ![cannabis.cod3r](https://realtimevfx.com/user_avatar/realtimevfx.com/cannabis.cod3r/32/5443_2.png) [@cannabis.cod3r](https://realtimevfx.com/u/cannabis.cod3r)\
**Post date:** [June 8, 2018, 3:31pm UTC](https://realtimevfx.com/t/niagara-unreal-gdc/4359/40 "2018-06-08T15:31:25Z")

</div>

This one is a Copy module. In the example video, it duplicates the linear dist module higher up in the stack. And of course, all changes update across all copies.

[https://vimeo.com/263700922](https://vimeo.com/263700922)

[Previous page](https://realtimevfx.com/t/niagara-unreal-gdc/4359.md?page=1)

[Next page](https://realtimevfx.com/t/niagara-unreal-gdc/4359.md?page=3)
