Hi Adrien,

>   beginEditCP(occluderMat);
>     occluderMat->setDiffuse(Color3f(0.42, 0.42, 0.52));
>     occluderMat->addChunk(occluderChunk);
>     occluderMat->setSortKey(Int32(10));  }
>   endEditCP(occluderMat);
>
>   beginEditCP(geo);
>     geo->setMaterial(occluderMat);
>   endEditCP(geo);


You should use a negative value for the sortkey. Can
you try that?

Regards,

  Toni

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to