[osg-users] How to zoomming, in orthogonal projection view
Should I change camera's Projection matrix (setProjectionMatrixAsOrtho(.)) my self? Or more smart way? Jeongseok Lee ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] What's the difference between member of osgUtil::Intersector::CoordinateFrame?
Thank you very much, Robert. J Jeongseok Lee ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] What's the difference between member of osgUtil::Intersector::CoordinateFrame?
Hello everyone, I'm making PickHandler inherit from osgGA::GUIEnentHandler. This class implememt Pick function. In this Pick func., there are PolytopeIntersector. And I use it as follows osgUtil::PolytopeIntersector* pPicker = new osgUtil::PolytopeIntersector( osgUtil::Intersector::WINDOW, dX - dW, dY - dH, dX + dW, dY + dH ); Here, I wonder what is the difference between osgUtil::Intersector::WINDOW, VIEW, and so on. Jeongseok. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Plugins vrml compile error, and so on
1. 'Plugins vrml' compile error I tried to compile 'Plugins vrml' I follows that, http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/Vi sualStudio/VisualStudioPlugins After all, I succeed compiling in 'Debug mode'. But in 'Release mode' compiling, occur compile error. [Error messege] fatal error LNK1104: Can not open file 'LIBC.lib' Plugins vrml What the problem? 2. Loading VRML file in program problem osgDB::readNodeFiles("filename"); This code does not work. ======== Jeongseok Lee MS Candidate Robotics Laboratory School of Mechanical & Aerospace Engineering Seoul National University Tel : +82-2-880-7149 Cell : +82-10-8958-3791 E-mail : <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] How to load VRML file in OSG?
Hi Robert, Oh, I didn't know that mail archive, http://dir.gmane.org/gmane.comp.graphics.openscenegraph.user There is a lot of discussions VRML and others! Thank you. Jeongseok. -Original Message- From: Robert Osfield [mailto:[EMAIL PROTECTED] Sent: Thursday, May 08, 2008 6:21 PM To: OpenSceneGraph Users Subject: Re: [osg-users] How to load VRML file in OSG? Hi Joengseok, On Thu, May 8, 2008 at 7:08 AM, Jeongseok Lee <[EMAIL PROTECTED]> wrote: > Thanks for your answer. :-) > > Then, > in OSG(2.4) what I have does not include vrml plugin, even other plugin is included. > So, I can't complie vrml plugin or get complied vrml plugin. > Did I miss some file? If you want .wrl support then you need to compile either the vrml or iv plugins, for these you'll need OpenVRML or Coin respectively. This topic has been covered a number of times recently so please check through the archives. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] How to load VRML file in OSG?
Thanks for your answer. :-) Then, in OSG(2.4) what I have does not include vrml plugin, even other plugin is included. So, I can't complie vrml plugin or get complied vrml plugin. Did I miss some file? Jeongseok Lee -Original Message- From: Joakim Simonsson [mailto:[EMAIL PROTECTED] Sent: Thursday, May 08, 2008 1:19 AM To: 이정석; OpenSceneGraph Users Subject: Re: [osg-users] How to load VRML file in OSG? On Wed, 07 May 2008 18:10:43 +0200, 이정석 <[EMAIL PROTECTED]> wrote: > Hi all. > > I encounter with VRML file (*.wrl) > I have to load this VRML file on OSG. > > How am I suppose to do? > Is there good example? even simple. > > Thanks to everybody read my naive questions. :-) > > Jeongseok Lee First, be sure that you compiled the vrml plugin, and that it resides in you environmet path. You don't say if you want to load your model from console or programmatical. From a console, type: osgviewer.exe youfile.wrl To see how this is achieved programmatical, have a look in the source code to osgviewer (applications\osgviewer\osgviewer.cpp). This line is relevant for you: osg::ref_ptr loadedModel = osgDB::readNodeFile("youfile.wrl"); -- Joakim Simonsson ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] How to change shape?
Hi Robert, I'm so surprised, because I received mail from you. :-) Thanks for your help. I solved the problem with your solution. Thanks! I think OSG is so cool graphic library! I am having developed some graphic library for 3d robot simulator, about for 1years. OSG is very good for this. ^^ I hope that I am good at using OSG, sooner or later. Jeongseok. -Original Message- From: Robert Osfield [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 07, 2008 9:31 PM To: OpenSceneGraph Users Subject: Re: [osg-users] How to change shape? Hi Jeongseok, By default the OSG uses display lists to speed up rendering, but the downside is that rendering once built into the display lists won't be updated automatically. To get ShapeDrawable to update the display list simple do drawable->dirtyDisplayList(false). Robert. On Wed, May 7, 2008 at 1:23 PM, Jeongseok Lee <[EMAIL PROTECTED]> wrote: > > > > > Here is my code for explain. > > > > Geode* NewGeode1 = Geode; > > ShapeDrawable* pShapeDrawable = ShapeDrawable; > > Geode->addDrawable(pShapeDrawable); > > // 1. Box : This works well > > pxgLink->m_rpShapeDrawable->setShape(new Box(Vec3(0.0, 0.0, 0.0), width, > depth, height)); > > > > // 2. Sphere : This doesn't work! The shape do not be changed from BOX to > SPHERE > > pxgLink->m_rpShapeDrawable->setShape(new Sphere(Vec3(0.0, 0.0, 0.0), > radius)); > > > > What should I do? > > > > > > Jeongseok Lee > > MS Candidate > > Robotics Laboratory > > School of Mechanical & Aerospace Engineering > > Seoul National University > > Tel : +82-2-880-7149 > > Cell : +82-10-8958-3791 > > E-mail : [EMAIL PROTECTED] > > > > > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] How to change shape?
Here is my code for explain. Geode* NewGeode1 = Geode; ShapeDrawable* pShapeDrawable = ShapeDrawable; Geode->addDrawable(pShapeDrawable); // 1. Box : This works well pxgLink->m_rpShapeDrawable->setShape(new Box(Vec3(0.0, 0.0, 0.0), width, depth, height)); // 2. Sphere : This doesn't work! The shape do not be changed from BOX to SPHERE pxgLink->m_rpShapeDrawable->setShape(new Sphere(Vec3(0.0, 0.0, 0.0), radius)); What should I do? ======== Jeongseok Lee MS Candidate Robotics Laboratory School of Mechanical & Aerospace Engineering Seoul National University Tel : +82-2-880-7149 Cell : +82-10-8958-3791 E-mail : <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Is there good OpenScenGraph Users Forum?
This mail list system so cool. But, it's a little hard to read. I'm not familiar with this way. T-T So, what I want to know is. Is there good OpenScenGraph Users Forum, on web? Jeongseok Lee MS Candidate Robotics Laboratory School of Mechanical & Aerospace Engineering Seoul National University Tel : +82-2-880-7149 Cell : +82-10-8958-3791 E-mail : <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Some 'osg::Geode' that can be transformed should be made as 'osg::MatrixTransform'?
Hi, Gordon and Vincent! Thanks for answering my question. I designed as following. class XGLink : public osg::MatrixTransform { . } After that, I wanna add some drawables into XGLink. But XGLink is not a Geode. (osg::Drawable is can be add to only Geode) So, I need to addChild (new Geode) into XGLink. And I addDrawable osg::Drawable to the new Geode. [ hierarchy ] XGLink (osg::Group) | XGLinkGeode (osg::Geode) | XGDrawable (osg::Drawable) Is this correct? Ps. I cannot speak English so well. Please understand me J Ps. How to reply again to reply? T-T From: Gordon Tomlinson [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 06, 2008 10:39 PM To: 'OpenSceneGraph Users' Subject: Re: [osg-users] Some 'osg::Geode' that can be transformed should bemade as 'osg::MatrixTransform'? If you want to change the position / orientation of this node and its children as in a shoulder of an arm then is really HAS to be a transformation node and not a basic group or node What's is the issue with using a transform node for what it is designed to do ? _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vincent Bourdier Sent: Tuesday, May 06, 2008 9:28 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Some 'osg::Geode' that can be transformed should bemade as 'osg::MatrixTransform'? Hi, osg::group inherit from osg::node, so a group is a node. Is it your question ? or it is more complicated ? 2008/5/6 Jeongseok Lee <[EMAIL PROTECTED]>: Hi all. This is my first question to all of you. So, it's very naive question. J I'm developing 3D robot dynamics simulator. There are links of robot in that simulator. And the links can move (transform). So I used 'osg::MatrixTransform'. But this a kind of osg::Group. I wanna make link as 'osg::Node'. How am I suppose to do? Jeongseok Lee MS Candidate Robotics Laboratory School of Mechanical & Aerospace Engineering Seoul National University Tel : +82-2-880-7149 Cell : +82-10-8958-3791 E-mail : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Some 'osg::Geode' that can be transformed should be made as 'osg::MatrixTransform'?
Hi all. This is my first question to all of you. So, it's very naive question. J I'm developing 3D robot dynamics simulator. There are links of robot in that simulator. And the links can move (transform). So I used 'osg::MatrixTransform'. But this a kind of osg::Group. I wanna make link as 'osg::Node'. How am I suppose to do? ======== Jeongseok Lee MS Candidate Robotics Laboratory School of Mechanical & Aerospace Engineering Seoul National University Tel : +82-2-880-7149 Cell : +82-10-8958-3791 E-mail : <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] test
test ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org