drape and render order

classic Classic list List threaded Threaded
3 messages Options
ShaderMan ShaderMan
Reply | Threaded
Open this post in threaded view
|

drape and render order

Hi,

I'm trying to get the "render-order" styling working with draping technique : is it possible?
i can reorder my layers by changing their xml order in the file but the field render order has no effect on a draped layer.

if i remove the drape technique , the reorder is working as expected.

on this thread it seemed possible :

http://forum.osgearth.org/Render-order-of-FeatureNodes-td7587049.html#a7587050


am i missing something?

here is my test file with osgviewer, i'm using a forked osgearth 2.9.
testLayerPrio.earth

thanks,


ShaderMan
remoe remoe
Reply | Threaded
Open this post in threaded view
|

Re: drape and render order

Hi

Yes this should work. Do you have tried 2.10 ? https://github.com/gwaldron/osgearth/tree/2.10 with REX engine:

terrain driver = "rex"

Cheers
Remo Eichenberger, Switzerland
ShaderMan ShaderMan
Reply | Threaded
Open this post in threaded view
|

Re: drape and render order

thanks for the quick answer!
my sample file works in 2.10.1 even with mp driver. so it's probably one of our forked modification or the 2.9 version that cause this issue...

i will look into that... or migrate to 2.10.

thanks again !