I find the ReadWriter's virtual function read/write Object/Image/Node from file
and also from the memory by istream. I think That's what I want. But It seems
to only the osg plugin implement the function completely. Is what I said right?
anyone correct me. I'm sorry about my bad English. Thanks ---MingWei---
在2007-08-28,"Nick Prudent" <[EMAIL PROTECTED]> 写道:
David, Let me get this straight: you want to read models that are already in
memory? What did you use to load them in memory in the first place? If you have
a lot of models in formats supported by OSG, it should not be a problem. Anyone
correct me if I'm wrong, but there's only one way to read file:
osgDB::readNodeFile(..) group of functions. You can also stream from the web,
but I guess this is not what you want. - Nick -
________________________________ > Date: Tue, 28 Aug 2007 13:42:11 +0800 >
From: [EMAIL PROTECTED] > To: [email protected] > Subject:
[osg-users] parse 3d model not storaged in local file > > I have a lot of 3d
models, but I want save these models in database, then I read the models , not
in the local file. But I did not find the function to read or parse the 3d
model from memory. I know my models' file format(3ds/OpenFlight...). did I must
save the model to local disk first? > Thanks! >
________________________________ > 网 易 Yeah.net 免 费 邮 箱 全 新 改 版,珍 藏 帐 号 开 放,快 来
抢 注 >> _________________________________________________________________
Connect to the next generation of MSN Messenger
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
_______________________________________________ osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org