On 5/27/06, Manoj Radhakrishnan <[EMAIL PROTECTED]> wrote:
Dear All,
I have two doubts. Please comment.
1. Is it possible to show border lines for each
geometry/objects even in solid mode ?
You can do it, but you have to use a multipass techinique where you
draw the subgraph twice, the first pass just standard state, but the
second you change the polygon mode to wireframe, up the line width and
use polygon offset to avoid the thick lines poking through the
original obejcts. The most robust way is to use a stencil buffer
effect.
2. Is it possible to control the default lighting ?
I mean ... 100% , 50 % etc.
Use osg::LightSource to control lighting. See osglight example.
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/