Commit Graph

25 Commits

Author SHA1 Message Date
Olaf Piesche
143d0ef9a7 Niagara: adding mesh effect renderer; few additional bug fixes
[CL 2636020 by Olaf Piesche in Main branch]
2015-07-28 16:50:47 -04:00
Simon Tovey
149ff75b67 Added a new, alternate UI to the Niagara effect editor. Accesible as a new tab under the windows menu.
This arranges all emitters in an SDetailView with some customization.
Primary benefit of this is that hooking things into the UI will require almost no work and elements can still be customized for a good UX.
Previous UI is still available and should work exactly as before.

Quite a bit of refactoring was needed to acheive this but much of it was needed for other things anyway and/or has some nice additonal benefits.
E.g.
- All constant types are supported easily.
- You can now create a default data object in the graph which will propagate through to the effect editor.
- Adding new data object types will be very easy.

Also added a delete and duplicate button for emitters in both UIs.

#codereview olaf.piesche

[CL 2590057 by Simon Tovey in Main branch]
2015-06-17 10:12:41 -04:00
Olaf Piesche
3335a1e952 Hopefully fixing a compiler error on the build machine that never showed up in my local builds.
[CL 2587903 by Olaf Piesche in Main branch]
2015-06-15 17:29:23 -04:00
Olaf Piesche
0bd22cbcfd Niagara: proper serialization of data objects; couple of bug fixes
[CL 2587782 by Olaf Piesche in Main branch]
2015-06-15 15:51:40 -04:00
Olaf Piesche
888f5f5961 Niagara fixes:
- much improved noise, should be more or less divergence free now
- sin/cos/tan now have a full period within [0:1]
- added a Divide node

[CL 2551525 by Olaf Piesche in Main branch]
2015-05-14 18:00:40 -04:00
Adric Worley
e578e2d7cd Separate automated system tests from project-specific tests
[CL 2514485 by Adric Worley in Main branch]
2015-04-16 12:40:47 -04:00
Graeme Thornton
47c8b039a5 Fix for monolithic build fails
#codereview Olaf.Piesche

[CL 2511405 by Graeme Thornton in Main branch]
2015-04-14 05:23:40 -04:00
Olaf Piesche
89375030fe Moved Niagara to its own module; made curve access work; fixed various small things
#codereview simon.tovey

[CL 2510645 by Olaf Piesche in Main branch]
2015-04-13 15:25:14 -04:00
Olaf Piesche
1a91cde253 Fixing compile error. Stupid mistake, forgetting to completely remove an experiment.
[CL 2494345 by Olaf Piesche in Main branch]
2015-03-27 15:47:28 -04:00
Olaf Piesche
2dd94d0b5f Niagara; first pass buffer write, curve data object, curve data editor in the effect editor
[CL 2494172 by Olaf Piesche in Main branch]
2015-03-27 14:18:23 -04:00
Olaf Piesche
e6d04275b7 Niagara: various changes, fixes, and optimizations; first pass data objects (for buffer access, curves, etc.), to be enabled when niagara is in its own module (Curve data object sample currently always returns (1,0,0,1)).
[CL 2401041 by Olaf Piesche in Main branch]
2015-01-08 11:49:58 -05:00
Olaf Piesche
ce262e0d30 Niagara:
-adding renderer configuration
-fixing various bugs, including crashes, failed rendering, and weird behavior
-some additional UI love, making preview viewport work properly, more consistent updating of in-level effects after changes, immediate constant display in the effect editor on script compile for both update and spawn scripts
-changed sin/cos/tan nodes to use [0:1] instead of [0:Pi] for half a period (most range restricted values we deal with are [0:1], so it makes more sense to scale implicitly)
-added less than comparison operator; outputs 0 if false, 1 if true. Still experimental, may change

[CL 2383563 by Olaf Piesche in Main branch]
2014-12-10 10:48:03 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Simon Tovey
dc448bd092 Stubbed out support for all VM ops. Most need a vectorized implementation.
Sin and Cos implementation is done.

#codereview Lee.Clark, Olaf.Piesche

[CL 2373587 by Simon Tovey in Main branch]
2014-12-02 05:52:32 -05:00
Olaf Piesche
37aed713fd Bunch of Niagara work: effects editor, underlying infrastructure changes to the component, scene proxy, effect renderers, NiagaraSimulation, and some code cleanup; next up, proper serialization and more code cleanup.
[CL 2334728 by Olaf Piesche in Main branch]
2014-10-20 14:14:16 -04:00
Olaf Piesche
62947ae8f7 Hopefully fixing compiler error on XBone.
[CL 2333500 by Olaf Piesche in Main branch]
2014-10-17 16:14:11 -04:00
Simon Tovey
57184746dc More compile fixes. Will be at least 1 more as there's an xbone error I've not sussed yet.
[CL 2331497 by Simon Tovey in Main branch]
2014-10-16 08:17:17 -04:00
Simon Tovey
a95ef28928 Improvements to NiagaraCompiler and VM.
- Support for Matrix and scalar ops.
- Constant handling improved to support saclars and matrices. Also reduced constant table to only constants being used. (Matrix and scalar attributes still to do.)
- Refactored compiler to separate the VM from UnrealEd and allow future compilers for compute etc.
- Reduced temp register usage.
- Improved output attriubte writing.
- Improved support for tooltips / descriptions and other UI niceties for Niagara Ops.

- Support for VectorVM ops with 4 operands.
- Refactored VM to be neater and fixed a few bugs that were caused by the mess and code duplication.
- New VM ops for splatting, shuffling and streaming output.

- Fixed a few bugs in the UI Node code.

#reviewedby Olaf.Piesche

[CL 2331268 by Simon Tovey in Main branch]
2014-10-16 03:41:17 -04:00
Max Preussner
121fccd2ab Code and documentation cleanup pass
- removed dummy UClasses (no longer needed)
- removed file header comments (not used)
- removed duplicated function documentation in cpp files
- documentation cleanup, punctuation, spelling etc.
- pragma once include guards (now work on all platforms)
- relative public includes (are auto-discovered by UBT)
- fixed too many/too few line breaks
- deleted empty files
- missing override
- NULL to nullptr

[CL 2305058 by Max Preussner in Main branch]
2014-09-21 20:35:48 -04:00
Olaf Piesche
081c5e1d85 New Niagara effect class, factory, asset type actions and surrounding infrastructure plus a skeleton editor; bit of cleanup and removal of unnecessary opcodes from the VM. Moved particle data into its own class for separate and easier buffer management.
[CL 2300011 by Olaf Piesche in Main branch]
2014-09-16 16:11:48 -04:00
Ryan Gerleve
80f5933ce3 Fix narrowing conversion with explicit cast
#codereveiw Olaf.Piesche

[CL 2263417 by Ryan Gerleve in Main branch]
2014-08-19 20:09:28 -04:00
Olaf Piesche
a7adb263f2 Niagara updates; rendering refactor, noise node, various other fixes, changes and updates
[CL 2263315 by Olaf Piesche in Main branch]
2014-08-19 18:29:03 -04:00
Olaf Piesche
08213137e4 Adding sin4 opcode to VectorVM. Fixing unit test which was causing all sorts of havoc with cooking
#codereview: rolando.caloca

[CL 2236242 by Olaf Piesche in Main branch]
2014-07-29 17:32:05 -04:00
Olaf Piesche
8312a2d140 Niagara rebuild, first iteration; sim framework works, simple actor with a single simuation;
[CL 2234616 by Olaf Piesche in Main branch]
2014-07-28 13:15:12 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00