Jiba wrote:

Hum... it's a bit more complex in Soya, because the order in which
> the objects are rendered may not follow the scene tree.

You'd only have to rely on the OpenGL state in the display
list of a Shape. Then there are only two possibilities --
a given face specifies its own material (using calls compiled
into the display list), or it uses whatever material was set
before calling the display list.

In all other situations you can do whatever is necessary
to figure out what material to apply to a Face. It needn't
have anything to do with OpenGL state management.

--
Greg

_______________________________________________
Soya-user mailing list
Soya-user@gna.org
https://mail.gna.org/listinfo/soya-user

Reply via email to