|
From: Vieri Di P. <vie...@ya...> - 2002-01-02 20:55:12
|
Hi. I'd like to know if there's a way to load a vrml scene from memory, not from a file. What I do is put the node information (just like a regular wrl file) into an ostrstream. Then I call myvrmlScene->loadFromString(myostrstream.str()). Shouldn't this replace the myvrmlScene->load(wrlfilename..) method correctly? My problem is that when I call loadFromString I get a segmentation fault. I was wondering if someone could help me out. Thanks in advance, Vieri P.S.: my system is Linux Mandrake 8.1 and the openvrml lib version is recent. __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com |