[osg-users] osgEarth often crashes in multi-display extension mode
Hi all, I have successfully compiled the osg and osgEarth. During the debugging process, I found that when using a single display,viewer(osgviewer and osgearth_viewer) could successfully running the cow.osg and glsl.earth. Now I want to use multi-display(two displays), the question is when using multi-display copy mode, the cow.osg and glsl.earth could be run successfully.But when using the multi-display extension mode, the cow.osg is runing OK, the glsl.earth crashes often occur(e.g. xxx has stopped working). Why does the osgEarth crash in multi-display extension mode? I'm surprised by such a problem. Is it a hardware problem or a software problem? Could you give me some suggestion about this question? Best regards?? Judy Fan.___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] viewer events synchronization
Hi All?? I have used the osgViewer::CompositeViewer generating two viewers??and I have overrided the method handleof osgGA::GUIEventHandler ??BUT finally just only the viewer where the cursor in is responded. My question is how to make the two viewers events synchronization through just one keyboard click. Thank you very much?? Judy___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] How to generate fixed alpha value?
Hi all, Now??I have a flt. model with itself texture??but the internal format of the texture is RGB??not with ALPHA value??so the ALPHA TEST function is disabled. My question is how to generate some random fixed alpha value of the texture with the GLSL language??So that I can use the ALPHA TEST function to fufill the point cloud. Thanks very much! Judy___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] How to replace the texture data in the node?
Hi , As a beginner of openscenegraph. I have used a terrain(.flt) as a node,but the texture data of this node doesn't have alpha value, So I want to create a new Texture data(with alpha) to replace the exist Texture.At the same time I hope to copy the former texture data in a different texture unit so that I can use it next time. Now my question is how to replace the exist texture with a new texture, and keep a texture copy in a different texture unit?is there any functions I can use? Best Regards! Judy___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] How to get the camera's roll pitch and heading??
Hi Robert, As a beginner of openscenegraph??I have an urgent question that how to get the camera's heading pitch and yaw ?? could you give me some suggestion about this question?? Best regards?? Judy Fan.___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] Error when loading DirectX .x files
Thanks, Ulrich! That helps a lot. I had finally found a different method use, i.e. converting the .x files into .obj files (of course I had to write a conversion script first) but the load time was getting bad. Then I found the osgconv tool and converted all of my .obj files into .ive files and it's amazing how fast they load! I'm going to test and see whether the .x files load faster, but I kind of doubt it. Cheers, Judy -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17390#17390 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] Error when loading DirectX .x files
Hi, Forgot to mention that I am using Visual Studios 9 (2008) for deveoping, so this is happening on a Windows machine. Thanks! Judy -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17286#17286 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [osgPlugins] Error when loading DirectX .x files
Hi, I'm in the process of converting a DirectX program to OpenGL using OSG. It would be a lot easier for me if I could use the .x file models from the original program, but I seem to be having some trouble. When I try to load any of my .x files, I get the following message: DirectX Loader: Error reading material list; 1 instead of 0 ..or similar. The number changes based on how many materials are listed. I thought maybe it might be because the material numbering started at 0 rather than 1, but changing that did not end in success. I am using 2.8.2 version of OSG. Does anyone have any ideas on what the problem might be? Thank you! Cheers, Judy -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17246#17246 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org