Hi Sadi,

Sadi Tanis wrote:
> Hi Carsten,
> 
> the last dayd I worked a little bit more on the problem. Thats my new 
> approach but still not working:
> 
> I have traversed the puppet object to get one specific node. For this 
> node with the help of getVolume and getCenter I get the center point of 
> it in world coordinates. Now I can set it as the at coordinates with 
> setAt() from the Navigator Class. After compiling the code I get the 
> following error:
> 
> Unbehandelte Ausnahme(unhandled exception) bei (at) 0x0043a40e in 
> 01hello.exe: 0xC0000005: Zugriffsverletzung-Leseposition(access 
> violation) 0x00000034.
> 
> I suppose something went wrong with the NodePtr's but I cannot fix it

that's possible, but it's hard to say from that error message. It really 
doesn't 
say anything more than 'the program crashed'. It would be more useful if you 
could run the the program in debug mode under control of a debugger, as that 
would give you a stack trace that shows where the program actually crashed, 
which usually gives a good idea which variables are involved and what might go 
wrong.

Running a program in debug mode is independent of OpenSG, and really beyond the 
scope of this mailing list. If you need help with that, look around you and 
talk 
to the guy who looks like he has the most programming experience, he should 
know. ;)

Once you have a stack trace you can send that to us and we can take a look at 
it. Or hopefully it will give you enough hints to fix it yourself. ;)

Also sending just snippets of code is not really that helpful, as there might 
be 
something going on in the code that doesn't seem relevant to you but is 
actually 
the critical part. The best way to get attention is to send a fully compilable 
program that exhibits the problem, and all the data it needs to exhibit that 
problem. In general we prefer programs based on Tutorial examples, as those are 
easy to compile and run on whatever platform the person looking at it works on 
(few of the core developers use Windows, for example).

Hope it helps

        Dirk

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to