Hi,
I am new to opensg, just making some tests these days. So far looks very
promising.
I have one problem though, it seems to be a constraint imposed by the scene
graph.
Let's say I want to represent a scene where objects can be selectively lit
by lights, that is I can enable a light or disable a light for any
particular object. It seems that this cannot be easily expressed in opensg.
However this is a fairly common problem.
The problem is because objects that are lit by a light must have that light
as parent. More over, opensg imposes that a node can only have one parent.
This is a very hard constraint, especially considering that both transforms
and light states are expressed through that single parenting capability.
(I am talking about local lights, global light can't be disabled for objects
as far as I understand it)
The only solution I can see is to duplicate local lights all over the graph,
but this is tedious and not elegant solution to a simple lighting need.
Have you guys thought of other possible implementation of lights, that would
be more like "attribute" that can be turned on/off through the graph
traversal?
I may not be aware of the entire story, so excuse me for that. I only tested
opensg 1.8 at this time.
Thank you,
Raphael
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users