Hi all!
I am writing a 3D-Building-Client as an Applet based on XML-formatted world-files together with two co-workers. So far I am getting quite good results.
We implemented Hotspot-functionality by using JavaScript in the HTML-page containing the Applet and it opens up nicely new websites by collision with those hotpots (e.g. doors).
Now we wanted to add another type of hotspot for level-change inside the building. It works so far but after the loading of the new world-file is finished I get a “Error freeing GLcontext”-message. I tried things like putting an animator.stop() and animator.start() as first and last line into the load-routine and stuff like that. Nothing helped. I’m getting quite desperate by now since I cannot figure out what the problem exactly is.
I am not trying to free the context by myself. I don’t even break up the normal display-routine, since it just calls a draw-function inside the world-object. I made the world-object static and just copied the data from the new one into the old one so that the object never became invalid, added a switch to not render while loading and things like that. Now I don’t come up whith any new ideas.
Can anyone help me at least that far as to tell me what exactly is the cause for such an error? Really any help is appreciated!
Greetz…
…Hoschi