On Mon, 2006-10-16 at 10:41 +0200, Sébastien Grignard wrote:
> As you said the main question is whether we can reproduce the OSG's 
> StateSet inheriting in collada,

I don't think you can because COLLADA materials cannot be defined with
the assumptions that the scenegraph makes about the run-time state of
the rendering pipeline.

> or are we forced to create one material 
> for each geometry that has a different list of statesets attached to it.

Something like that will work yes. Optimally, ... for all the geometry
in the scene compute the fewest number of effects and instantiate them
into the fewest number of materials (and parameter settings), and then
bind those materials to the individual geometries.

Regards,
Marcus

-- 
Mark Barnes
COLLADA Project Lead, tel:+1.650.655.7342
Sony Computer Entertainment America
http://research.scea.com

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to