El Miércoles 21 Mayo 2008ES 10:18:58 Daniel Moos escribió:
> Good morning @all
>
> I have a question about setting colors of a geometry. We have 3d-
> objects which is described by a triangle area.
> This triangle area has a color, which is set with a ColorArray and a
> ColorBinding (BIND_OVERALL)
>
> Now I want to give a inner and outer color for the triangle area. How
> can I do this?
>
> An example:
> The inside of the triangle area should be red and the outside should
> be green. See the attachement
>
> Thanks for your help...
> Have a nice day.
> Daniel

Hi,

it would be easier using materials, because you can specify different colour 
values depending on the face (face = front or back) that you want. See

http://www.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a01287.html
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to