[osg-users] Mirror transformation

Ale Maro sasha71 at teletu.it
Wed Sep 13 05:52:30 PDT 2017


Hi,

this is probably a trivial question but what is the most straithforward way to mirror a node?
I would like to use a MatrixTransformation so I simply set a negative scaling but the resulting node is totally black.
Is it the expected result or did I miss something?
I thought it was usefull to set GL_RESCALE_NORMAL mode but anything changed.
Any suggestion? 

My scene is built as follow:

Group->ClipNode->osgShadow::ShadowedScene->Group->MatrixTransformation->Group->MatrixTransformation (MIRROR)->osgFX::Outline->Geode

The last geode is visualized completely black. 
I exported the scene in osg format and opened with osgviewer and the geode is still black

Thank you. Best regards.
Ale

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=71704#71704







More information about the osg-users mailing list