Re: [osg-users] [3rdparty] OSG EXPORTER for 3DS MAX - Y-up
We are using Version 1.1.0, installed from here: http://sourceforge.net/projects/osgmaxexp/files/OpenSceneGraph%20Max%20Exporter/1.1.0/ Tim -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=56913#56913 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [3rdparty] OSG EXPORTER for 3DS MAX - Y-up
I know this is an old thread, but I would like to ask the original poster if he ever found a resolution to this issue. I have also found that after a recent update to osgexp my model's up orientation has changed. ... Thank you! Cheers, Tim -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=56878#56878 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Download details: Microsoft Visual Studio 2010 Service Pack 1 (Installer)
I use VS2010 every day with OSG code... And I have installed the recent service pack. It is generally working quite well for me. Although, as others have mentioned,Intellisense can degrade performance. There is a good work around to limit the amount of time Intellisense is working in the background and degrading performance: In VS1010 Select: Tools ..Options Text Editor C++ Advanced Change _Disable Auto Updating_ to TRUE This stops the system from constantly scanning Change _Rescan Solution Interval_ to 60 Causes your solution to be scanned once an hour (instead of constantly) Also note, that if you are opening code that is actually on a network share, you should make use of a fallback location on your local machine. Thank you! Cheers, Tim -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37723#37723 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] problem with osgUtil::IntersectVisitor and osg::LineSegment
I stumbled on this thread when working on a similar problem that I had using IntersectionVisitor in Visual Studio projects. I just wanted to confirm that I have found that the OSG examples and OSGHelp examples that utilized IntersectionVisitor crashed under Windows when utilizing the latest downloaded Visual Studio binaries. (I tried the exaples MouseSceneIntersection, osgpick and osgkeyboardmouse and could not get any of them to function) However, numerous other example apps are working in Visual Studio. Based on the previous posters response it appears that recompiling the Source within Visual studio is the method to address this problem. omartinaud wrote: Hi everybody, Finally, I decided to reinstall osg using the sources. I took the osg 2.8.3 sources and I compiled them using my version of visual studio. Now everything works perfectly ! Looks like I didn't have the good binaries. Thank you all for your help ! Cheers, Olivier -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29877#29877 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Understanding Transparent Textures with an transparent image with alpha channels
I am attempting to utilize a transparent image as a texture map. I can successfully display the transparent image as a texture on a simple rectangular geometry. But, I would like to be able to see through to the background wherever the image is transparent. I've utilized the osgHelp program GeometryTexture as a baseline and I can load my image, but the transparent parts of the image show through to the default gray material of the underlying geometry. I see a gray rectangle with my image on top of it. Even though my image has many transparent areas. I would like to be able to see through the transparent areas of the image into the background. i.e. If all I have on the screen is a single rectangular geometry with my transparent image, then I'd like to see the blue background through the transparent parts of my image. Can anyone give me a pointer or advise? Thanks in Advance. Tim -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29503#29503 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Understanding ControlPoint with translation, rotation in an AnimationPath
In attempting to understand the issue. I have written the following two snipits of code in an #if 0 - #else. The code that simply creates an AnimationPathCallBack around a PivotPoint works as expected and rotates around the desired location. But, the second snippet that uses ControlPoint rotates around a different location in space. What is the difference between the two blocks of code in relation to rotation and pivot points? osg::Node* pWidgetNode = FindNodeByName( pModel, roller_piv ); osg::MatrixTransform* pWidgetMT = AddMatrixTransform( pWidgetNode ); osg::Vec3 PivotPoint (0, 26.45 , -22.3); osg::ref_ptrosg::AnimationPath rWidgetPath = new osg::AnimationPath; #if 1 /// This block of code rotates around the pivot point as expected. pWidgetMT-setUpdateCallback( new osg::AnimationPathCallback(PivotPoint, osg::X_AXIS, osg::inDegrees(45.0f)) ); #else // This block of code rotates around a completely different location in space // What is the difference between this and the code above in relation to rotation and pivot // points? osg::AnimationPath::ControlPoint C0( PivotPoint, osg::Quat(0, osg::X_AXIS) ); osg::AnimationPath::ControlPoint C1(PivotPoint, osg::Quat( osg::inDegrees(45.0f), osg::X_AXIS)); rWidgetPath-insert( 3.0f, C0 ); rWidgetPath-insert( 15.0f, C1 ); osg::ref_ptrosg::AnimationPathCallback AniCallback = new osg::AnimationPathCallback( rWidgetPath.get() ); pWidgetMT-setUpdateCallback( AniCallback.get() ); #endif -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=28161#28161 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Understanding ControlPoint with translation, rotation in an AnimationPath
Hi, I am new to OSG and am attempting to better understand ControlPoint. I have a situation where I need to rotate an object around a pivot point I know that if I were doing a matrix transformation, I would perform a translation, then a rotation and then the opposite translation. But, I don't understand how this is represented in a ControlPoint that I insert into an AnimationPath. In my case, I know that I am rotating the object about the point (0,26.45,-22.3) And that I am attempting to rotate aorund the X Axis (1,0,0) But if I use a Control point like the following, I get a result that I can not make sense of. osg::AnimationPath::ControlPoint LoadRollerC1(osg::Vec3(0,26.45,-22.3), osg::Quat(osg::PI /8.0f, osg::Vec3(1,0,0))); Do you have any advise. Thank you in advance. Tim -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=28140#28140 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org