Re: [osg-users] newbie help
Hi Gerry, It seems like you need to adjust your view matrix in order to see the new scene. If you have a camera manipulator, it can do it for you by calling home(). Hitting the space bar should do the same thing. Mourad On Tue, Oct 19, 2010 at 5:47 PM, Gerry Danza g.da...@mclink.it wrote: Hi, I am really a newbie and got a bit lost on this problem I have everything running fine if i load a osg file but after that when i add dynamically a new Node for example a simple line this never shows in the display. I add the new entities in a Update callback . I have tried to follow the render stage but got lost . I suppose there is some kind of flag i have to set to ask for a rebuild of the object or scenegraph but found nothing in the docs and even reading the headers. I have also set a DrawCallback on my new geod and it never gets called Any tip on what to look at Thank you! Cheers, gerry -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=32864#32864 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] newbie help
Hi, thanks for your help but this is not the case I am able to manupilate the view and see the space where the new objects should be I have even loaded a new osg model while running the app and even this model does not show up , the same model is visible if loaded at application startup Thank you! Cheers, Gerry -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=32876#32876 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] newbie help
Did you try pushing the space bar? Mourad On Tue, Oct 19, 2010 at 11:00 PM, Gerry Danza g.da...@mclink.it wrote: Hi, thanks for your help but this is not the case I am able to manupilate the view and see the space where the new objects should be I have even loaded a new osg model while running the app and even this model does not show up , the same model is visible if loaded at application startup Thank you! Cheers, Gerry -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=32876#32876 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] newbie help
As we cannot see your code were guessing in the blind An obvious question springs to is are you actually adding the nodes to the your scenegraph after you load your model? Another question are your models very small ? ( as small feature culling in on by default ) Also turn your OSG notify level up to DEBUG for more detailed log output __ Gordon Tomlinson gor...@gordontomlinson.com IM: gordon3db...@3dscenegraph.com www.vis-sim.com www.gordontomlinson.com www.PhotographyByGordon.com __ -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Gerry Danza Sent: Tuesday, October 19, 2010 10:00 PM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] newbie help Hi, thanks for your help but this is not the case I am able to manupilate the view and see the space where the new objects should be I have even loaded a new osg model while running the app and even this model does not show up , the same model is visible if loaded at application startup Thank you! Cheers, Gerry -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=32876#32876 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org