« Return to Thread: rendercontext question

rendercontext question

by Libor Capak :: Rate this Message:

Reply to Author | View in Thread

hello,

i have trouble with RenderContext concept. Documentation is clear to me.
Idea of stateless nodes is nice, but i have problems with quite simple
issues.

for example scene node tree:

/car
   wheel1
   wheel2
   wheel3
   wheel4

there is spatial hierarchy. /car is root node in my RenderContext
instance. If I'd like to rotate wheels according to render context
concept - so then i have to flatten this hierarchy and create for each
wheel another RenderContext instance? By flattening i loose relative
position of wheels so i have to calculate local->world transformation
manually for each wheel render context. Or am i missing something?

thank you

Libor Capak

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

*** 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: rendercontext question