[osg-users] [osgPlugins] 3DS model loader: textures are not transparent

2011-06-28 Thread Roberto Sartori
Hi, I'm loading a 3ds track model with some transparent materials that represent trees. Unfortunately in OSG these textures does not appear transparent. See attached screenshot. Transparency is assigned in the 3ds material and alpha is associated to a b/w jpg image. Is there a way to cycle

[osg-users] [3rdparty] 3DS track model and mipmap detail distance

2011-06-24 Thread Roberto Sartori
Hi, I'm loading a track in 3ds format, textures are loaded with mipmap levels automatically but the mipmap switch is too close to the camera thus mipmap artefact are too clearly visible expecially on lane borders. Is there a way in OSG to setup texture mipmap distance switching for a loaded

[osg-users] [3rdparty] osgShadowMap problems

2011-06-24 Thread Roberto Sartori
Hi, I've got problems using shadows, I've followed the standard examples as following: // create the shadowed scene m_OSG_Default_3D_Scene = new osgShadow::ShadowedScene; // create and setup the shadow technique m_OSG_ShadowMap = new osgShadow::ShadowMap; m_OSG_ShadowMap-setLight(