[osg-users] Fwd: problem on render order

Robert Osfield robert.osfield at gmail.com
Thu Sep 18 07:55:29 PDT 2008

Hi Ufuk? (could you sign your posts with the name you'd like to be
addressed as to make it clear how to address you),

There isn't really enough info about how you are going about rendering
the terrain, the roads or the trees to know what might be amiss, as
things stand one struggles can only guess at what you are doing, let
along come to conclusion as to what is going wrong.

Could you explain how you have set up the scene graph, and what your
shaders are doing.


On Thu, Sep 18, 2008 at 3:27 PM, ufuk gun <ufuk.osg at gmail.com> wrote:
>   hi i have problem about rendering my roads and trees. i produce them by
> using shaders...
> but the problem is their rendering order. Even roads are far away from the
> trees, they render as they are close to camera.
> since they have texture with transparency i changed render Bin number of
> trees and roads.
> i gave larger render Bin number to trees geometry. this time i totally lost
> my trees if there is a road on the screen.
> if no road i can see them.
> i'm sending you 3 screen shots.
> same_render_bin.png => they have same render bin number and there is a
> problem on rendering order.
> different_render_bin_1.png => screen shot of trees without any roads on the
> screen...
> different_render_bin_2.png => screen shot of trees with a corner of a road
> on the screen... (trees are lost)
> so do you have any idea about it?
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

More information about the osg-users mailing list