Re: [osg-users] Yaw pitch and roll or xyz conversion to and from Quaternion
Hi Jason, here you have YPR from osg::Quat (look at the snippets) http://forum.openscenegraph.org/viewtopic.php?t=548 As for the other way it is easy, you create the Matrix and get the rotate Quat, (return matrix.getRotate()), something like: osg::Matrixd Utils::createMatrix(double x, double y, double z, double h, double p, double r) { osg::Matrixd mxR; mxR.makeRotate(osg::DegreesToRadians(r),osg::Vec3(0,1,0)); osg::Matrixd mxP; mxP.makeRotate(osg::DegreesToRadians(p),osg::Vec3(1,0,0)); osg::Matrixd mxH; mxH.makeRotate(osg::DegreesToRadians(h),osg::Vec3(0,0,1)); osg::Matrixd mxT; mxT.makeTranslate(osg::Vec3(x,y,z)); return (mxP*mxH*mxT*mxR); } On Thu, Dec 18, 2014 at 12:03 AM, Jason Anderssen janders...@exactal.com wrote: Hi Chris, Thank you for you reply. I had a look at those, maybe I can get it to work with them, but I really just want a simple 3 values for Yaw Pitch and Roll, from which I can re-create the exactly same Quat or Matrix. I will also clarify, I don't care about translation or scale etc, and the quaternion I am using is of course only a rotation anyway. So basically I want the following type of code : getYPR(float yaw, float pitch, float roll); Quaternion::fromYPR(yaw, pitch, roll); Cheers Jason Anderssen From: Chris Hanson xe...@alphapixel.com Reply-To: OpenSceneGraph Users osg-users@lists.openscenegraph.org Date: Wed, 17 Dec 2014 15:47:57 -0700 To: OpenSceneGraph Users osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Yaw pitch and roll or xyz conversion to and from Quaternion Just wondering if in OSG there is anywhere I can extract either Yaw pitch and roll / or XYZ eular angles, too and from either a matrix or a quaternion? The void http://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a01593.html#a306a73ea16dfe10406725cefb3867dfa get http://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00648.html#a341e0295def3df6e07a014a1ff8195b4 (Matrixd http://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00489.html matrix) const method lets you convert a Quat to a 4x4 Matrix. void http://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a01593.html#a306a73ea16dfe10406725cefb3867dfa decompose http://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00489.html#a3aad163d793a9d5af248e42fd2e94dea (osg::Vec3d http://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00972.html translation, osg::Quat http://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00648.html rotation, osg::Vec3d http://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00972.html scale http://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00489.html#a9a9ad7cd3f007df5f559e10d471f1981 , osg::Quat http://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00648.html so) constdecompose the matrix into translation, rotation, scale and scale orientation. Will extract the trans, rot and scale components out of the matrix. Is that what you want? -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Training * Consulting * Contracting 3D * Scene Graphs (Open Scene Graph/OSG) * OpenGL 2 * OpenGL 3 * OpenGL 4 * GLSL * OpenGL ES 1 * OpenGL ES 2 * OpenCL Digital Imaging * GIS * GPS * osgEarth * Terrain * Telemetry * Cryptography * Digital Audio * LIDAR * Kinect * Embedded * Mobile * iPhone/iPad/iOS * Android @alphapixel https://twitter.com/alphapixel facebook.com/alphapixel (775) 623-PIXL [7495] ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org Internet Email Confidentiality Footer: This email and any files transmitted with it contain privileged/confidential information intended for the addressee. Neither the confidentiality of nor any privilege in the email is waived, lost or destroyed by reason that it has been transmitted other than to the addressee. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message, and notify us immediately. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- trajce nikolov nick ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [forum] Resize Geometry in a HUD on Resize of Window
Hi all, My goal is to have a HUD that consists of one circle drawn programmatically. I followed the osgHUD example and was able remove the text they draw and draw my circle instead. I did this by adding a (circle) Geometry to the Geode and removing the text and bounding box from the Geode. My problems: 1) When I resize my window, my circle gets deformed into an ellipse. Why is this? And how do I keep my circle from deforming on window resize? 2) Currently I am using: hud_camera-setProjectionMatrix(osg::Matrix::ortho2D(0, 1280, 0, 1024)); but I want my program to work with any screen resolution (not just 1280x1024). How do I obtain the screen resolution of the screen my program is running on? If you could give me an answer using osgHUD as a reference that'd be especially great! Thanks so much! John-Luke -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=62092#62092 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] where is the Dashboard ?
Hi Mattias, The correct link for the cdash machine is http://cdash.openscenegraph.org/index.php?project=OpenSceneGraph. Last activity was in september this year ( http://cdash.openscenegraph.org/index.php?project=OpenSceneGraphdate=2014-09-19 ) In the main website there is a post about contributing to the OpenSceneGraph CDASH instance ( http://www.openscenegraph.org/index.php/community/cdash ). At the moment we don't have any dedicated machine doing builds for OSG. Anyway, anyone can publish to the public dashboard following the link instructions. Cheers. 2014-12-17 23:40 GMT+01:00 Mattias Helsing helsin...@gmail.com: Hi people, I was looking at some really awkward cmake code in out top-level CMakeLists.txt. It is awkward because will still support cmake-2.4 which (if I remember correctly) is mostly because this is the cmake version that comes with RHEL5. So I decided to have a look at the CDash to see how existing RHEL5 computers are doing these days. http://my.cdash.org/index.php?project=OpenSceneGraph There are no builds whatsoever...for the last 2 years. Is this the correct link? We don't have a single computer doing nightly builds? Mattias ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Jordi Torres ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [forum] Resize Geometry in a HUD on Resize of Window
Hi John-Luke, Uf the HUD camera is assigned to the GraphicsContext then when it's resized the projection matrix can be adjusted automatically if required. In osg::Camera there is the following control: enum ProjectionResizePolicy { FIXED, /** Keep the projection matrix fixed, despite window resizes.*/ HORIZONTAL, /** Adjust the HORIZONTAL field of view on window resizes.*/ VERTICAL /** Adjust the VERTICAL field of view on window resizes.*/ }; /** Set the policy used to determine if and how the projection matrix should be adjusted on window resizes. */ inline void setProjectionResizePolicy(ProjectionResizePolicy policy) { _projectionResizePolicy = policy; } /** Get the policy used to determine if and how the projection matrix should be adjusted on window resizes. */ inline ProjectionResizePolicy getProjectionResizePolicy() const { return _projectionResizePolicy; } If the HUD Camera is embedded in the scene graph this automatic adjustment isn't active so you'd need to manually manage it by checking for resize events. Robert. On 17 December 2014 at 21:04, John-Luke jlguitar...@gmail.com wrote: Hi all, My goal is to have a HUD that consists of one circle drawn programmatically. I followed the osgHUD example and was able remove the text they draw and draw my circle instead. I did this by adding a (circle) Geometry to the Geode and removing the text and bounding box from the Geode. My problems: 1) When I resize my window, my circle gets deformed into an ellipse. Why is this? And how do I keep my circle from deforming on window resize? 2) Currently I am using: hud_camera-setProjectionMatrix(osg::Matrix::ortho2D(0, 1280, 0, 1024)); but I want my program to work with any screen resolution (not just 1280x1024). How do I obtain the screen resolution of the screen my program is running on? If you could give me an answer using osgHUD as a reference that'd be especially great! Thanks so much! John-Luke -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=62092#62092 ___ 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
Re: [osg-users] where is the Dashboard ?
Hi Jordi, great. Thanks for the link. I was actually one of the submitters of the CDash howto wiki page back in the days, but never cared to setup my own nightly as I mostly build on plain vanilla linux. I guess I could at least run a continuous build once in a while. I don't have a dedicated machine. Anyway - thanks for the info Mattias On Thu, Dec 18, 2014 at 10:01 AM, Jordi Torres jtorresfa...@gmail.com wrote: Hi Mattias, The correct link for the cdash machine is http://cdash.openscenegraph.org/index.php?project=OpenSceneGraph. Last activity was in september this year (http://cdash.openscenegraph.org/index.php?project=OpenSceneGraphdate=2014-09-19) In the main website there is a post about contributing to the OpenSceneGraph CDASH instance ( http://www.openscenegraph.org/index.php/community/cdash ). At the moment we don't have any dedicated machine doing builds for OSG. Anyway, anyone can publish to the public dashboard following the link instructions. Cheers. 2014-12-17 23:40 GMT+01:00 Mattias Helsing helsin...@gmail.com: Hi people, I was looking at some really awkward cmake code in out top-level CMakeLists.txt. It is awkward because will still support cmake-2.4 which (if I remember correctly) is mostly because this is the cmake version that comes with RHEL5. So I decided to have a look at the CDash to see how existing RHEL5 computers are doing these days. http://my.cdash.org/index.php?project=OpenSceneGraph There are no builds whatsoever...for the last 2 years. Is this the correct link? We don't have a single computer doing nightly builds? Mattias ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Jordi Torres ___ 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] [vpb] Roads as Shapefiles in VPB?
Hi All, I have road geometry (3D) that I might be able to convert to SHP file using shapelib library. If I load the shapefile for the road, shall I expect the terrain in VPB to be modified to accompany the road on top? My Aim: Wherever the road is present, the terrain must be flattened (go below the road). At least, VPB experts can be able to tell if this is feasible with existing SHP file support in VPB? Thank you! Cheers, umesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=62117#62117 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] Roads as Shapefiles in VPB?
HI Umesh, There isn't any support for matching terrain generated by VPB to shape files. Such functionality would require a great deal of work. Robert. On 18 December 2014 at 16:04, umesh ramesh mailp...@yahoo.co.in wrote: Hi All, I have road geometry (3D) that I might be able to convert to SHP file using shapelib library. If I load the shapefile for the road, shall I expect the terrain in VPB to be modified to accompany the road on top? My Aim: Wherever the road is present, the terrain must be flattened (go below the road). At least, VPB experts can be able to tell if this is feasible with existing SHP file support in VPB? Thank you! Cheers, umesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=62117#62117 ___ 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
Re: [osg-users] [vpb] Roads as Shapefiles in VPB?
Hi Robert, After posting this, I quickly realized that SHP files might be doing some sort of draping rather than modifying the terrain. Anyway,It will not do the job I Feel now. There was osgTDS (Terrain Deformation s/w) sometime back. Now it seems to be out of shape. That was doing something similar to what I trying to achieve. Isn't it? I do not prefer osgEarth. VPB satisfies my needs good enough except with this road issue. Anything you can suggest to try out to modify Terrain to adjust to my 3D roads (using VPB/ osgTerrain etc)? I can try out your concepts. Please reply to this part if you have little spare time :) . Thank you! Cheers, umesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=62120#62120 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] Roads as Shapefiles in VPB?
Hi Robert, How about osg Delaunay (Cutting terrain for road)? Or modifying the heightmap image itself (may be 2048X2048), modifying the pixels where the road falls with proper height value? VPB shall do the rest. Thank you! Cheers, umesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=62121#62121 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] Roads as Shapefiles in VPB?
HI Umesh, On 18 December 2014 at 16:50, umesh ramesh mailp...@yahoo.co.in wrote: How about osg Delaunay (Cutting terrain for road)? Or modifying the heightmap image itself (may be 2048X2048), modifying the pixels where the road falls with proper height value? VPB shall do the rest. VPB and osgTerrain are built around height fields rather than irregular triangle networks. VPB and osgTerrain is not something that one could easily add remeshing to a road network. While it is possible to implement re-tessellation of meshes to fit roads and other cultural data it's not a trivial task to implement, I'm not about to go an write an essay for you on a complex topic. Go search the internet. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Please test svn/trunk in prep for OSG-3.3.3 dev release
Hi All, I will be tagging the OSG-3.3.3 dev release tomorrow. Could users please check out svn/trunk and let me know how your build and runtime usage fairs. Cheers, Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.3.3 dev release
CMake Warning (dev) at CMakeLists.txt:648 (FIND_PACKAGE): A logical block opening on the line /home/alberto/OSGSVN2/osg.git/CMakeModules/FindLIBLAS.cmake:102 (if) closes on the line /home/alberto/OSGSVN2/osg.git/CMakeModules/FindLIBLAS.cmake:105 (endif) with mis-matching arguments. This warning is for project developers. Use -Wno-dev to suppress it. -- Alberto ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Please test svn/trunk in prep for OSG-3.3.3 dev release
hi robert, OS:windows 7 X64 compiler:VC2010 cmake version: 3.1.0 CMake Error at CMakeModules/FindGLIB.cmake:89 (file): file failed to open for reading (No such file or directory): E:/OpenSceneGraphsvn14622VC10x86DLL/GLIBCONFIG_INCLUDE_DIR-NOTFOUND/glibconfig.h Call Stack (most recent call first): CMakeLists.txt:633 (FIND_PACKAGE) Then: gstreamer version: 1.0-devel-1.4.4 Then: DisplaySettings.cpp add: #if defined(WIN32) !defined(__CYGWIN__) #include windows.h #endif compiled and tested OK zhuwan 12,19,2014 -原始邮件- 发件人: Robert Osfield robert.osfi...@gmail.com 发送时间: 2014-12-19 2:17:07 收件人: OpenSceneGraph Users osg-users@lists.openscenegraph.org 抄送: 主题: [osg-users] Please test svn/trunk in prep for OSG-3.3.3 dev release Hi All, I will be tagging the OSG-3.3.3 dev release tomorrow. Could users please check out svn/trunk and let me know how your build and runtime usage fairs. Cheers, Robert. ___ 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
Re: [osg-users] Yaw pitch and roll or xyz conversion to and from Quaternion
Hi NICK, Thank you for your reply. What do you think I maybe doing wrong with the following code : (NOTE: getHPRfromQuat is cut and paste from link, and the createMatrix is cut and paste from your reply. I was basically hoping that q2 == q after the conversion to and from osg::Quat q(-0.7071067811865475, 0.0, 0.0, 0.7071067811865476); osg::Vec3d hpr = getHPRfromQuat(q); osg::Matrixd m = createMatrix(0.0, 0.0, 0.0, hpr.x(), hpr.y(), hpr.z()); osg::Quat q2; q2.set(m); Any assistance is very much appreciated. Cheers Jason Anderssen Jason Anderssen, Senior Product Engineer Exactal — Precision Software [Exactal Pty Ltd]http://www.exactal.com/ Level 2, Toowong Tower, 9 Sherwood Road, Toowong QLD 4066, Australia P: +61 7 3870 2666 | F: +61 7 3870 5266 | janders...@exactal.com | www.exactal.comhttp://www.exactal.com/ [http://www.exactal.com/images/emails/sig/ex2b.gif][Download CostX Viewer]http://www.exactal.com/viewer/download.php[Send a CostX Invitation]http://www.exactal.com/viewer/invite.php From: osg-users [osg-users-boun...@lists.openscenegraph.org] on behalf of Trajce Nikolov NICK [trajce.nikolov.n...@gmail.com] Sent: Thursday, 18 December 2014 6:14 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Yaw pitch and roll or xyz conversion to and from Quaternion Hi Jason, here you have YPR from osg::Quat (look at the snippets) http://forum.openscenegraph.org/viewtopic.php?t=548 As for the other way it is easy, you create the Matrix and get the rotate Quat, (return matrix.getRotate()), something like: osg::Matrixd Utils::createMatrix(double x, double y, double z, double h, double p, double r) { osg::Matrixd mxR; mxR.makeRotate(osg::DegreesToRadians(r),osg::Vec3(0,1,0)); osg::Matrixd mxP; mxP.makeRotate(osg::DegreesToRadians(p),osg::Vec3(1,0,0)); osg::Matrixd mxH; mxH.makeRotate(osg::DegreesToRadians(h),osg::Vec3(0,0,1)); osg::Matrixd mxT; mxT.makeTranslate(osg::Vec3(x,y,z)); return (mxP*mxH*mxT*mxR); } On Thu, Dec 18, 2014 at 12:03 AM, Jason Anderssen janders...@exactal.commailto:janders...@exactal.com wrote: Hi Chris, Thank you for you reply. I had a look at those, maybe I can get it to work with them, but I really just want a simple 3 values for Yaw Pitch and Roll, from which I can re-create the exactly same Quat or Matrix. I will also clarify, I don’t care about translation or scale etc, and the quaternion I am using is of course only a rotation anyway. So basically I want the following type of code : getYPR(float yaw, float pitch, float roll); Quaternion::fromYPR(yaw, pitch, roll); Cheers Jason Anderssen From: Chris Hanson xe...@alphapixel.commailto:xe...@alphapixel.com Reply-To: OpenSceneGraph Users osg-users@lists.openscenegraph.orgmailto:osg-users@lists.openscenegraph.org Date: Wed, 17 Dec 2014 15:47:57 -0700 To: OpenSceneGraph Users osg-users@lists.openscenegraph.orgmailto:osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Yaw pitch and roll or xyz conversion to and from Quaternion Just wondering if in OSG there is anywhere I can extract either Yaw pitch and roll / or XYZ eular angles, too and from either a matrix or a quaternion? The voidhttp://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a01593.html#a306a73ea16dfe10406725cefb3867dfa gethttp://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00648.html#a341e0295def3df6e07a014a1ff8195b4 (Matrixdhttp://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00489.html matrix) const method lets you convert a Quat to a 4x4 Matrix. voidhttp://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a01593.html#a306a73ea16dfe10406725cefb3867dfa decomposehttp://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00489.html#a3aad163d793a9d5af248e42fd2e94dea (osg::Vec3dhttp://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00972.html translation, osg::Quathttp://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00648.html rotation, osg::Vec3dhttp://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00972.html scalehttp://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00489.html#a9a9ad7cd3f007df5f559e10d471f1981, osg::Quathttp://trac.openscenegraph.org/documentation/OpenSceneGraphReferenceDocs/a00648.html so) const decompose the matrix into translation, rotation, scale and scale orientation. Will extract the trans, rot and scale components out of the matrix. Is that what you want? -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.commailto:xe...@alphapixel.com http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography •
Re: [osg-users] [vpb] Roads as Shapefiles in VPB?
Umesh, I think maybe Torben with the osgVisual project might have done something like this. I have done something similar but it is not open source. On Dec 18, 2014 9:50 AM, Robert Osfield robert.osfi...@gmail.com wrote: HI Umesh, On 18 December 2014 at 16:50, umesh ramesh mailp...@yahoo.co.in wrote: How about osg Delaunay (Cutting terrain for road)? Or modifying the heightmap image itself (may be 2048X2048), modifying the pixels where the road falls with proper height value? VPB shall do the rest. VPB and osgTerrain are built around height fields rather than irregular triangle networks. VPB and osgTerrain is not something that one could easily add remeshing to a road network. While it is possible to implement re-tessellation of meshes to fit roads and other cultural data it's not a trivial task to implement, I'm not about to go an write an essay for you on a complex topic. Go search the internet. Robert. ___ 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