Hi Eric,

I don't know the cause of the problem as there isn't any particular
operations that osgProducer::Viewer does which are related to osgFX
effects, and osgFX shouldn't require any outside operations for it to
work. So I'm stumped for what might be amiss.

I'd recommend putting a few break points or debugging output into
osgFX to look at how it works when run in osgviewer and in your app to
see what the difference is.   The
osgFX::Effect::traverse(osg::NodeVisitor&) implementation is probably
going to be a useful place to start.  The osgFX has to choose a
technique to implement the effect, and perhaps its this selection
which is going astray.

Robert.


On 5/30/06, Eric ZAREMBA <[EMAIL PROTECTED]> wrote:




Hi!



I develop a Railway editor, so I'm based on osgQt that use a
osgUtil::SceneView.

I want to use the osgFX::BumpMapping effect on few part of my scene.



My problem is that nodes that are under Bump mapping are not visibles.

I dump the scene graph into a .osg file and when I load it with osgViewer it
is Ok.

The same problem occurs with osgSimple example.

I joint my example with this mail. The rails appears correctly but the bump
mapped floor not.



I think I have to initialize something somewhere ( that have to be done in
the realize function of the osgProducer::viewer as effect don't run if the
model is loaded after the call to realize() ) But I cannot find what it is.

  Thanks for any replies!


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/



_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to