[osg-users] Moving object in a trajectory

2015-08-03 Thread Vijeesh Theningaledathil
Hi, I have created a circle using opengl and made an osg::Node object out of it. Now I want to move it in a fixed trajectory. How to do that. Also it has to be at a distance of say 250m ahead with respect to viewer. If viewer is out of the trajectory, the object has to stop moving. Once the

[osg-users] [vpb] altitude in flat terrain

2015-06-08 Thread Vijeesh Theningaledathil
Hi, I generated a vpb terrain from imagery and elevation data which are in latlon WGS84 projection. In the output database the altitude seems to be in degrees. is that true? if yes whats the reference? how can i convert into meters? I'm using osgdem as: osgdem -t texture_file.tif -d

Re: [osg-users] osg threading model

2011-12-16 Thread Vijeesh Theningaledathil
Hi, Thanks a lot Jason Thank you! Cheers, Vijeesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=44404#44404 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] osg threading model

2011-12-12 Thread Vijeesh Theningaledathil
Hi, Excuse me for posting this question as I'm just a beginner in the computer graphics. Which threading model will give the best performance in a dual core computer with Nvidia Quadro graphics card. Also I have a doubt regarding the makeRotate for camera rotation. If I use pitch,roll, yaw

Re: [osg-users] [vpb] model placing using osgdem

2011-05-25 Thread Vijeesh Theningaledathil
Hi Mr. Glenn Do you mean to create a .earth file that loads the terrain and model files. I tried that today. But it doesn't get loaded. Also I want to know in detail how the earth file will be, if a model to be added. Thank you! Cheers, Vijeesh -- Read this topic online

Re: [osg-users] [vpb] model placing using osgdem

2011-05-23 Thread Vijeesh Theningaledathil
Hi Glenn Waldron But will osgearth can render the terrain at 60Hz. The terrain is required for a flight simulator. so the timing is very important. ... Thank you! Cheers, Vijeesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=39645#39645

Re: [osg-users] [vpb] model placing using osgdem

2011-05-22 Thread Vijeesh Theningaledathil
Hi Robert, Thanks for your reply. Can you tell me such a terrain post processing software. Is there any open source tools available? Thank you! Cheers, Vijeesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=39622#39622

Re: [osg-users] [vpb] model placing using osgdem

2011-05-21 Thread Vijeesh Theningaledathil
Hi, From the code, I saw that the model will get added to the created scene(DestinationTile::CreateScene). So will it not displayed. Thank you! Cheers, Vijeesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=39611#39611

[osg-users] [vpb] model placing using osgdem

2011-05-19 Thread Vijeesh Theningaledathil
Hi, I just tried to add 3d models to the terrain by adding -m modelname option. But Icouldn't see the object in the terrain. What exactly -m option will do. My object is also in the same coordinate. Why the option doesn't work. Thank you! Cheers, Vijeesh -- Read this topic

Re: [osg-users] [vpb] terrain in meters

2011-04-06 Thread Vijeesh Theningaledathil
Hi, Thanks Mr. Ralf Thank you! Cheers, Vijeesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=38248#38248 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] [vpb] terrain in meters

2011-04-05 Thread Vijeesh Theningaledathil
Hi, Is it possible to generate the database in meter(cartesian coordinates rather than lat lon degrees)? Thank you! Cheers, Vijeesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=38240#38240 ___

Re: [osg-users] Camera control in osgvisual

2011-03-29 Thread Vijeesh Theningaledathil
Hi Torben I'm sorry. I couldn't get your question. According to my knowledge, the cigi event processsors(classes) are event queues. so we just have to process and discard the data. I incorpaorated the example code from DumyIG example which is bundled with CIGI. Thank you! Cheers, Vijeesh

Re: [osg-users] Camera control in osgvisual

2011-03-29 Thread Vijeesh Theningaledathil
Hi Torban I implemented dataIO_extLinkCIGI::readTO_OBJvalues() with the code to receive cigi packet and decode it. So on each dataIO_eventCallback, The viewcontrol data is available as a structure. Now I need to map it to the particular slots as you did for VCL from where the camera is

Re: [osg-users] Camera control in osgvisual

2011-03-29 Thread Vijeesh Theningaledathil
Hi Torben Thanks for your explanation on slots mechanism. Still I couldn't make out where the slot values are assigned to observer position and attitude. I'll look in to MPV implementation and see any better implementation. ... Thank you! Cheers, Vijeesh -- Read this topic

Re: [osg-users] Camera control in osgvisual

2011-03-23 Thread Vijeesh Theningaledathil
Hi Torben I was trying to integrate CIGI to osgvisual. I could subclass extlink for cigi and data is receiving from host. Now I don't know how to connect the values to camera. I looked into VCL implementation but it just writes the data to a dataslot. But in CIGI case packet is received as a

Re: [osg-users] Camera control in osgvisual

2011-03-23 Thread Vijeesh Theningaledathil
Hi Torben Cigi provides classes for various interfaces such as View control, Entity Control, HAT/HOT request etc. between host and IG. From Host you will set the values for these objects, pack it and send it through UDP using usual Windows/Linux sockets. From IG, you will receive the packet,

[osg-users] [vpb] target coordinate system into meters

2011-03-17 Thread Vijeesh Theningaledathil
Hi, I generated the terrain using osgdem. But the positions are in lat/lon degress. Is there any way to set target coordinate system into meters. Also is there any tool to place 3d models in to the terrain? Thank you! Cheers, Vijeesh -- Read this topic online here:

Re: [osg-users] [vpb] coordinate system in terrain

2011-03-01 Thread Vijeesh Theningaledathil
Hi Shayne, Ralf, Thanks for the suggestion. I generated osg terrain with and without geocentric options and compared. In geocentric terrain ellipsoid modal is there so I assume it is ECEF terrain. In flat database the center point lat lon are matching with acutal lat lon but z value is

Re: [osg-users] [vpb] coordinate system in terrain

2011-02-24 Thread Vijeesh Theningaledathil
Hi Shayne Thanks. But still I cannot make out how to differentiate between flat earth and ECEF. Is there anything we can check to identify? Thank you! Cheers, Vijeesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37117#37117

Re: [osg-users] [vpb] coordinate system in terrain

2011-02-24 Thread Vijeesh Theningaledathil
Hi, Thanks Mr. Ralf. But from the output of gdalinfo, how can i say that it is flat earth or round earth. In my first post i had pasted the output of gdalinfo for the source files. My problem is I'm not able to render the terrain generated from the above source files using any of the

Re: [osg-users] [vpb] coordinate system in terrain

2011-02-23 Thread Vijeesh Theningaledathil
Hi, Thanks JP. By vector length you mean Local vertex or World vertex. If I created the terrain using geocentric option I'm getting local vertex with x/y and alt in meters and world vertex in some 7 digit number. But when the terrain is created without geocentric option the world coordinate

Re: [osg-users] [vpb] coordinate system in terrain

2011-02-23 Thread Vijeesh Theningaledathil
Hi, How can I generate terrain in UTM coordinate using osgdm? Thank you! Cheers, Vijeesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37026#37026 ___ osg-users mailing list

Re: [osg-users] [vpb] coordinate system in terrain

2011-02-22 Thread Vijeesh Theningaledathil
Hi, Thanks. But can you please tell me how to check using osgpick. Thank you! Cheers, Vijeesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36929#36929 ___ osg-users mailing list

Re: [osg-users] [vpb] coordinate system in terrain

2011-02-22 Thread Vijeesh Theningaledathil
Hi, Thanks. But how can I make out whether it's UTM or FLAT earth or ECEF? Thank you! Cheers, Vijeesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36942#36942 ___ osg-users mailing list

[osg-users] [vpb] coordinate system in terrain

2011-02-21 Thread Vijeesh Theningaledathil
Dear All, What will be the projection type If I specify --geocentric option to osgdem. ie whether it'll be UTM/ECEF/Flat/ECI. The command I used is osgdem --geocentric -t 77-12_geo_wgs84.tif -d N12E77.hgt -l 4 -o terrain.ive Gdal info of source files are given below Driver: GTiff/GeoTIFF

Re: [osg-users] [vpb] VPB Latest build

2011-02-16 Thread Vijeesh Theningaledathil
Hi, I think this issue is related to latest OSG. I'm using quite older card ie 3dLabs wildcate 7210. I tried the terrain on different pc with Nvidia card and there is no issue there. Sorry for posting here. Thank you! Cheers, Vijeesh -- Read this topic online here:

Re: [osg-users] OSG 2.9.11 and Delta3D

2011-02-15 Thread Vijeesh Theningaledathil
Hi, Thanks. But what about compileGLObjects. Thank you! Cheers, Vijeesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36673#36673 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] OSG 2.9.11 and Delta3D

2011-02-14 Thread Vijeesh Theningaledathil
Hi, The SetFramerate and GetFramerate function errors are solved by adding getIncrementalCompileOperation()-SetFramerate(). But the foloowing function are not there in IncrementalCompileOperation also. If I comment that, will it create any issues? ‘setExpiryDelay’ ‘compileGLObjects’ Thank

Re: [osg-users] [vpb] VPB Latest build

2011-02-11 Thread Vijeesh Theningaledathil
Hi, Thanks. I'm getting the error Error: glGenBuffers not supported by OpenGL driver Also Error: glBindBuffer/glBufferData not supported by OpenGL driver. Is it the issue. I'll try on some other graphics card. Thank you! Cheers, Vijeesh -- Read this topic online here:

Re: [osg-users] Camera control in osgvisual

2011-02-03 Thread Vijeesh Theningaledathil
Hi, I want to interface with a simulation host. but before going to the interface part, I want to see the terrain. is there any API in osg through which the camera can be set. If there any, can you please tell me how to use it. I have a test program. I'll try in that. I'm just starting the osg

[osg-users] [vpb] VPB Latest build

2011-02-03 Thread Vijeesh Theningaledathil
Hi, I downloaded the latest vpb and build in visual studio 2005. I'm using OSG 2.9.11 and GDAL 1.7.3. Build completed successfully but when I use osgdem to generate a database from srtm3 hgt file and a georefernced tiff imagery(WGS84), the entire process is completed within seconds and when i

[osg-users] Camera control in osgvisual

2011-02-02 Thread Vijeesh Theningaledathil
Hi, I' new to the osg. I generated a terrain using osgdem. now Iwant to render it and I should be able to fly around. I downloaded osgVisual and in configuration file a selected the terrain which i created. But while executing the camera goes to some lat/lon . How can I control the camera

Re: [osg-users] Camera control in osgvisual

2011-02-02 Thread Vijeesh Theningaledathil
Hi Torben Thanks for the reply. I want to develop a flight simulation visuals. That'ts why I can't use osgviewer. I modified the xml configuration file that is included in the download so that my terrain is loaded. (section pointing to terrain filename). and I removed the animation because I

[osg-users] [vpb] altitude in WGS84 coordinates

2011-01-31 Thread Vijeesh Theningaledathil
Hi, I created terrain from srtm30 hgt file and georeferenced (using gdal_warp with srs WGS84) google earth images. I got the terrain but the altitude seems not included in terrain. When I opened the osg file, I could see altitude is less than 1 which is not the actual. I don't know why? Can

Re: [osg-users] [vpb] Terrain creation procedure in vpb

2011-01-07 Thread Vijeesh Theningaledathil
Hi, Now when I increased number of LODs, the terrain became OK. and I patched the rest of the area using a generic image file. Now a new problem occurs. I used SRTM 3 arc sec data (1degx1deg)hgt. When I place my camera near the ground and displayed the eye position, x and y are matching with

Re: [osg-users] [vpb] Terrain creation procedure in vpb

2010-12-31 Thread Vijeesh Theningaledathil
Hi Martin, Thanks for your information, I'll try with better resolution imagery Thank you! Cheers, Vijeesh -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35238#35238 ___ osg-users mailing

Re: [osg-users] [vpb] Terrain creation procedure in vpb

2010-12-29 Thread Vijeesh Theningaledathil
Hi, I'm new to vpb/osg. I have a tiff file which is only 5x5km. Also I dowloaded the srtm hgt data from dds.cr.usgs.gov. I want to create a terrain out of these two files. I tried osgdem with --xx 10 --yy 10 as specified in vpb tutorial. Terrain is created but when it is loaded, Only a small

Re: [osg-users] [vpb] Terrain creation procedure in vpb

2010-12-29 Thread Vijeesh Theningaledathil
Hi Martin Thanks a lot. That image was georeferenced. So when i removed -xx and --yy as you told, I got the terrain. But my next question is my imagery file is only covering a small area and the elevation data is 3 arc sec srtm hgt file for 1degx1deg . So I'm getting the terrain with imagery