« Return to Thread: ParticleShapeNode and RenderContext

ParticleShapeNode and RenderContext

by Libor Capak :: Rate this Message:

Reply to Author | View in Thread

hello,

i have another question about RenderContext concept. I think that i
found inconsistency with ParticleShapeNode - simply it's
not state-less.
Imagine tree as a hierarchy:
/tree (mesh node)
    flames (particle shape node)

if i'd like to create forest of burning trees then i get to
trouble with ParticleShapeNode::emitterVarIndex (each render
context/tree may have some additional variables then index
may be different - but this value is always overwritten in last
ParticleShapeNode::RenderContextCreated() call).
So i have to split this type of hierarchy and for each flame
create context separately? What is common solution?

thanks

Libor Capak



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

*** NOTE: To reply to the list use "reply to all",  ***
***       to reply direct to the sender use "reply" ***
_______________________________________________
Nebuladevice-discuss mailing list
Nebuladevice-discuss@...
https://lists.sourceforge.net/lists/listinfo/nebuladevice-discuss

 « Return to Thread: ParticleShapeNode and RenderContext