Hi! Solved! Thanks!
I had bracketed the changes in begin/endEditCP() but used TransformPtr::dcast(root->getChild(RINGE)) as the begin/endEditCP() parameter instead of TransformPtr::dcast(root->getChild(RINGE)->getCore()) ... Wouldn't have found it without that bracketing hint. I feel stupid now. Anyway, I didn't know begin/endEditCP() was important in applications that are not multithreading/clustering. Thanks again. Garry > Hi Garry, > > Garry Hoberg wrote: > > Hi all, > > > > I'm using the SimpleSceneManager with a walkNavigator. (I disabled the > > collision detection by setting a node with a group core and no children > > as world and ground.) The scene consists of the root node, two transform > > nodes (both translations) and one object from a VRML file in this order > > from top to bottom. So far everything's displayed fine. But when I move > > the object by changing the matrices of the transform node cores (on the > > push of a button) the object is only visible as long as I'm facing > > roughly the direction I was facing when the programme started (-z). When > > I move to a different position from which I have to turn about 50 degrees > > (which seems to coincide with the opening angle of the camera) to view > > the object I can make the object appear and disappear by turning a little > > (the object would still be about in the centre of the window). When > > viewing from a position that would require to turn more than 50 degrees > > to face the object it's invisible. > > I checked this with some more objects in the scene and found that this is > > not a near/far clipping plane issue. > > Has anyone else encountered this? Can anyone explain this? > > As Carsten said, sounds like a bounding volume problem. Have you checked > the begin/endEdits to make sure that all your transformation changes are > bracketed by those? > > Yours > > Dirk > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Opensg-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensg-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
