Re: [osg-users] exception with cullVisitor->traverse(*_camera) after manually creating a geode

2012-03-08 Thread Renato Oliveira
Hi, awsome, thanks again for the advice. will do that from now on HAHA Thank you! Cheers, Renato -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=46113#46113 ___ osg-users mailing list osg-users@list

Re: [osg-users] exception with cullVisitor->traverse(*_camera) after manually creating a geode

2012-03-08 Thread Renato Oliveira
Hi, i finaly solved the problem. I kind of feel stupid with this issue. I was creating the my mesh class with out allocating memory for it. Mesh mesh; //wrong Mesh* mesh = new Mesh; //right thanks again for the advices Thank you! Cheers, Renato -- Read this topic online here

Re: [osg-users] exception with cullVisitor->traverse(*_camera) after manually creating a geode

2012-03-07 Thread Renato Oliveira
Hi, sure i understand, sorry about that. i just wanted to know if someone already experienced the same issue before. what i am actually doing is i created a obj loader similar to the obj loader plugin from openscenegraph (the mojoraity of the code of copied directly just for test). once i have

[osg-users] exception with cullVisitor->traverse(*_camera) after manually creating a geode

2012-03-07 Thread Renato Oliveira
Hi, I am having a problem in which i get an exception when OSG is trying to render my manually created geode. The crash happens in sceneView.cpp when calling cullVisitor->traverse(*_camera). Does anyone have any ideias what might be? ... Thank you! Cheers, Renato -- Read thi

Re: [osg-users] getFirstIntersection() causes an excpetion

2012-03-01 Thread Renato Oliveira
Hi, Forget about everything writing above. This is a problem due to the code generation of openscenegraph not mathching the applicaiton code generation for example, openscenegraph was generated as multi-threaded debug DLL (/MDd) while my code was being generated as Multi-threaded debug (/MT). E

Re: [osg-users] indices

2012-03-01 Thread Renato Oliveira
Hi, Wow, thanks guys for the quick and helpfull response. these information will definitely help. I am kind of lost with 3D but i will get there. Thanks again. Cheers, Renato -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=45942#45942 __

[osg-users] indices

2012-03-01 Thread Renato Oliveira
Hi, Sorry for this question, but i want to know exaclty what is an indice and what is used for. the way that i understood is basicly an ID number to the vertexes? i am a completly noob in 3D graphics programming and some terms i quite dont understand yet. Thank you! Cheers, Renato -

Re: [osg-users] more than 1 object in the same viewer

2012-02-28 Thread Renato Oliveira
Got it working after setting the scales. but possitioning and scalling properly will be a challenge. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=45851#45851 ___ osg-users mailing list osg-users@li

Re: [osg-users] more than 1 object in the same viewer

2012-02-28 Thread Renato Oliveira
i guess i really dont know how to use it. i very new to openscenegraph and i was just able to learn how to load a single obj file for 1 viewer only. i also saw that that i can split the viewer into views so that the objects can have diffrent cameras but my real goal is just to have shapes loaded

[osg-users] more than 1 object in the same viewer

2012-02-28 Thread Renato Oliveira
Hi, I am wondering if i can load 2 object files and have them share the same scene or viewer as a whole object? i was thinking the same way as the geode work when you add a Drawable (addDrawable()) if it is possible? can someone can give me an exemple? much appreciated. Thank you! Cheers, Ren

[osg-users] Missing ot12-OpenThreadsd.dll when building staticlly

2012-02-22 Thread Renato Oliveira
Hi, I am having an issue when building my code staticlly. when the applicaiton runs, i get the error that the ot12-OpenThreadsd.dll is missing. I am using openscenegraph staticlly and also osgNV and osgNVPhysx staticlly. using only openscenegraph static libs does not give me any problem in my c

Re: [osg-users] getFirstIntersection() causes an excpetion

2012-02-20 Thread Renato Oliveira
one other thing also i noticed, my code is calling the ~Intersection() destructor while osg example (osgkeyboardmouse) is not when exiting the pick function() -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=45609#45609

Re: [osg-users] getFirstIntersection() causes an excpetion

2012-02-20 Thread Renato Oliveira
as i was looking when this error happen the _Myfirstiter is NULL when its going through the ~Interserction() destruction. could that be a possible cause of the issue? i mean trying to delete a null pointer? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic

[osg-users] getFirstIntersection() causes an excpetion

2012-02-20 Thread Renato Oliveira
Hi, I am having a anyoing issue that i cannot figure out. Ive seen some post about similar issue but with no defenit fix. I writing a picker code to know the vertices of my object when i click in it following faitfully the example in picking in the samples, however, getFirstIntersection() is cau