Could any one help me with this problem?
*I've read this book, but I still don't know how to change this stateset.
I try to disable texture of this model:
osg::StateSet *state = myModel->getOrCreateStateSet();
state->setTextureMode(0,GL_TEXTURE_2D,osg::StateAttribute::PROTECTED |
osg::StateAttribut
Hi.
You see in the viewer, there's setupviewerinwindow method to run your
application in windowed mode.
Regards!
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
I've read this book, but I still don't know how to change this stateset.
I try to disable texture of this model:
osg::StateSet *state = myModel->getOrCreateStateSet();
state->setTextureMode(0,GL_TEXTURE_2D,osg::StateAttribute::PROTECTED |
osg::StateAttribute::OFF);
but it doesn't work.
And I'm con
Hi all!
I have an .flt model file with some of its textures. In my program, first I
load this model with a texture, after that, I want to change to another
texture of this model. I don't know how to do it.
Please support me, thank you!
___
osg-users mai
This problem was solved in the past.
http://groups.google.com/group/osg-users/browse_thread/thread/b9725f6566bd92f3/700f0659ed89598e?lnk=gst&q=animate+model#700f0659ed89598e
Please search the group before posting. Hĩ ;)
___
osg-users mailing list
osg-user
Thanks, I've done it.
I don't know how to reply a post, because this group is annoucement only!?
--
ЯicKy
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Hi all,
just a simple question, and I can't find related topics on the group.
How can I get/set my components' local center coordinate? I have lots of
components, all of them are contained in one 3DS model and have it's own
local coordinate.
I used matrixtransform to set a component's position to (
I used OSG 1.2 before and didn't meet problems like this. I've just tried
OSG 2.2 with VS 2005 SP1, a simple code: loading a model.
The code like this:
osg::ref_ptr m_Node = new osg::Node();
osg::ref_ptr root = NULL;
osgViewer::Viewer viewer;
osg::Vec3 nodePosit;
osg::ref_ptr no
I see references to "Reference Pointers" all through the OSG source, but
what are Reference pointers?
What are the differences between Reference Pointer of OSG and normal Pointer
of C++ ?
I'm newbie and don't know many reference books about OSG.
Thank you!
--
ЯicKy
___
9 matches
Mail list logo