Hi, Dario

0: Ops I was sure these methods are available.... Thats awkward ommission
considering how old this technique is. We probably should add them. But as
a temporal workoaround you can derive your own class from LispSM and add
proper setter and getter for polygon offset...

1: Yes "closed" was not a stric term but you got it right: cube is closed
in this definition and single quad is not.

2: Yes you can. Assuming the vertices are oriented properly and it not
change how it looks of course.

Cheers,
WL

2012/8/28 Dario Minieri <[email protected]>

> Hi,
>
> Thanks for your reply. Yes, I see now the polygonoffsetfactor and
> polygonoffsetunits variables even if there are no methods to set them (osg
> 3.0.0), they are setted as attribute camera StateSet because shadow map
> generation. I can try to tweak these values in some way. You speaks about
> two stuffs which I would to discuss:
>
> 1. You say that the model must be closed, but what do you means precisely?
> "Closed" in term of vertex mesh or "closed" in terms of shape? For example
> a cube is a "closed" model, my truck obviously not...
>
> 2. I can set the cull faces on my objects stateset via GL_CULL_FACE, do
> you means that?
>
> Many thanks
>
> Thank you!
>
> Cheers,
> Dario
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=49624#49624
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to