[osg-users] StandardManipulator
Hi, in standard Manipulator class has some functions as following virtual performMovementLeftMouseButton( const double eventTimeDelta, const double dx, const double dy ); virtual bool performMovementMiddleMouseButton( const double eventTimeDelta, const double dx, const double dy ); virtual bool performMovementRightMouseButton( const double eventTimeDelta, const double dx, const double dy ); virtual bool performMouseDeltaMovement( const float dx, const float dy ); what is eventTimeDelta,dx and dy ? and How i can get current mouse position in world position ? is there any predefined function or we have to write our own ? Thank you! Cheers, Vinoth -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=71004#71004 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] change default coordinate system unit
Hi, in osg default coordinate system units are in 'meters'.i am developing a 2D application in that i want change coordinate system units to Lat Lon in Degrees and also respective 2D Projection, is it possible ? and is there any 2D Camera Manipulator in OSG ? Thank you! Cheers, Vinoth -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70999#70999 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osg Coordinate system
Hi, ... Thank You Thank you! Cheers, Vinoth -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70863#70863 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] osg Coordinate system
Hi, ... yaa,Now i am getting the Up Vector.But i unable to rotate correctly my object(entity) in scene with respect to Particular Axis. if it is not geocentric(flat),if i want change the heading i can make rotate with respect to Z-axis,same pitch w.r.to X-Axis and Roll w.r.to Y-Axis. But in geocentric how i can change heading,Pitch and Roll of my Entity ? Can anyone explain me please ? Thank you! Cheers, Vinoth -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70861#70861 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] osg Coordinate system
Hi, ... i am using osg3.5.1 in my application.when i am running in flat terrain mode, Z axis is Up Vector in my Scene .if i am changing to Geocentric Mode,the Up Vector is Changing to Y axis. So how i can Change Up Vector in my Scene ? Thank you! Cheers, Vinoth -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70853#70853 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [vpb] How to query height of terrain given lat lon position ?
Hi, I have created terrain using VPB tool I would like to query height of a point in terrain provided corresponding latitude and longitude. Any Help is appreciated... I am generating flat terrain using VPB. Thank you! Cheers, Vinoth -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70485#70485 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] Doubt regarding integrating shapefile with VPB
Hi Sebastian, Will a possible solution be to traverse using NodeVistor, get the shapefile data and render myself ?? Thank you! Cheers, Vinoth R -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70226#70226 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] Doubt regarding integrating shapefile with VPB
Hi Sebastian, Does it mean shapefile can't be rendered in my scenario ?? Thank you! Cheers, Vinoth -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70222#70222 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] problem with shapefile height when loaded in osgviewer
Thanks for clearing the issue Thank you! Cheers, Vinoth -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70214#70214 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] problem with shapefile height when loaded in osgviewer
Hi Community, I am loading a shapefile(.shp) for a small city using osgviewer. All i get is overlay of those shapefiles on the surface. Why am i not rendered with height from those shapefiles ?? Am i missing something?? The shapefiles are from OpenStreetMap. I hereby attach the output from osgviewer for reference. Thank you! Cheers, Vinoth -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70211#70211 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [vpb] Error building terrain with shapefile in VPB
Hi, I have a shapefile (buildings) for a region, downloaded from QGIS. When i try to build with osgdem i get the following error : ERROR 6: No translation for Mercator_Auxiliary_SPhere to PROJ.4 format is known The command i used to build is: osgdemd -d cochin.tif --building cochin_buildings.shp -o sample.osg Point me where i am getting it wrong...Any Help is appreciated Thank you! Cheers, Vinoth[/b] -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70111#70111 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [vpb] Command line option for inputing X/Y Interval in VPB ??
Hi Community, I am generating terrain using VPB from GeoTiff file.. Is there any command line option to adjust X/Y interval for HeightField. I would like to be able to input X/Y interval , so that i get smooth terrain... Is it possible... Thank you! Cheers, Vinoth R -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70048#70048 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Multi thread Rendering
Hi, i am developing one application with terrain, Ocean and some entities.the terrain and some entities reducing the frame rate while rendering.in osg is it possible to create multi thread rendering using QT ? is there any sample code in osg Examples ? ... Thank you! Cheers, Vinoth -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70005#70005 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] Problem building .dae format file using vpb
Hi robert osfield, Thanks for clearing the issue. Cheers, Vinoth R -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69992#69992 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] Problem building .dae format file using vpb
Hi Voerman, I tried your suggestion, still the same problem Is it that the problem might be with collada plugin which i have built ?? Thank you! Cheers, Vinoth R -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69990#69990 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [vpb] Problem building .dae format file using vpb
Hi, I can load and view terrains generated using vpb in .ive/.osg formats in my project. Now i tried building the same terrain using vpb in .dae format, but not able to view the terrrain... I have no idea where i went wrong, please guide me. I have attached snapshot of the osgdem output for reference (osgdemd.png) I have also attached the snapshot of the output file i.e) sample.dae for reference(sample.png) Thank you! Cheers, Vinoth -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69988#69988 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [vpb] Any good site/software to get texture for a region
Hi, I got the texture for my region using QGIS software . Cheers, Vinoth -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69874#69874 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [vpb] How to change terrain elevation manually ?
Hi, I am using vpb to convert my geotiff terrain data (.tif) to .ive file... I would like to change the elevation height in some part of my terrain, is there any software or option available to do that ? Any help is appreciated... Thank you! Cheers, Vinoth R -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69850#69850 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [vpb] Any good site/software to get texture for a region
Hi, I want to build a 3D-terrain to be used with Osg project... I can get DEM data for my region from Earth Explorer But i can't get texture for my region.. The texture i am expecting is like a google earth map Is there any good site/software to get texture, so that i can use them in Virtual Planet Builder to built 3D terrain. Thank you! Cheers, Vinoth -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69804#69804 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org