[osg-users] generate texture with multiple image files

2013-04-29 Thread tianyun . su
Hi, I have an elevation model and multiple image files (jpeg format). The four vertex coordinates of each image file are recorded in a text file. So, I wonder how can I put all these image files on he surface of elevation model with their vertex coordinates. Now, I can put only one image file

[osg-users] geographical coordination conversion

2013-04-29 Thread tianyun . su
Hi, I use osgdem to create an IVE model with mercator projection and can load the model in my OSG program. I want to realize such funciton: (1) input the WGS84 coordinate (lon, lat) of target point (2) calculate the elevation (z) of the point from the terrain file (3) draw a graphic object at

[osg-users] geographic coordinate convert

2013-07-31 Thread Tianyun Su
Hi, I use osgdem to create an IVE model with mercator projection and can load the model in my OSG program. I want to realize such funciton: (1) input the WGS84 coordinate (lon, lat) of target point (2) calculate the elevation (z) of the point from the terrain file (3) draw a graphic object at

[osg-users] put multiple image file on one elevation model

2013-07-31 Thread Tianyun Su
Hi, I have an elevation model and multiple image files (jpeg format). The four vertex coordinates of each image file are recorded in a text file. So, I wonder how can I put all these image files on he surface of elevation model with their vertex coordinates. Now, I can put only one image file

Re: [osg-users] geographical coordination conversion

2013-07-31 Thread Tianyun Su
Hi, Shayne. Thanks for your reply. What i want to do is converting Lon/Lat coordinate with WGS84 coordinate system to X/Y coordinate with Mercator coordate system. How can I program in OSG? Thank you! Cheers, tianyun -- Read this topic online here:

Re: [osg-users] geographic coordinate convert

2013-08-01 Thread tianyun . su
it. Robert. On 24 April 2013 08:47, Tianyun Su tianyun...@gmail.com wrote: Hi, I use osgdem to create an IVE model with mercator projection and can load the model in my OSG program. I want to realize such funciton: (1) input the WGS84 coordinate (lon, lat) of target point (2) calculate

Re: [osg-users] put multiple image file on one elevation model

2013-08-01 Thread tianyun . su
file on one elevation model Hi Tianyun, On 24 April 2013 09:31, Tianyun Su tianyun...@gmail.com wrote: I have an elevation model and multiple image files (jpeg format). The four vertex coordinates of each image file are recorded in a text file. So, I wonder how can I put all these image files

[osg-users] change each point's size and color in particlesystem

2013-08-10 Thread Tianyun Su
Hi, I am developing an application to display large amount of points which are moving dynamically. The each point's position, size and color will change according to a parameter file for every frame. Using particle system, I can render movement of large amount of points, but I don't know how

[osg-users] problem about sequence of intersection points using osgUtil::PlaneIntersector

2013-10-08 Thread Tianyun Su
Hi, I am trying to get the intersection points between an intersection plane and a terrain using osgUtil::PlaneIntersector。 The code is listed as following: osg::Plane planeLeft( osg::Vec3(1,0,0), osg::Vec3(0+1,0,0) );//define an intersetion plane osg::Polytope

[osg-users] problem about sequence of intersection points using osgUtil::PlaneIntersector

2013-10-17 Thread tianyun . su
Hi, I am trying to get the intersection points between an intersection plane and a terrain using osgUtil::PlaneIntersector。 The code is listed as following: osg::Plane planeLeft( osg::Vec3(1,0,0), osg::Vec3(0+1,0,0) );//define an intersetion plane osg::Polytope polytopeLeft;//define the

[osg-users] osgVolume intersected by geode problem about sequence of intersection points using osgUtil::PlaneIntersector

2013-10-17 Thread tianyun . su
Hi, I am trying to get the intersection points between an intersection plane and a terrain using osgUtil::PlaneIntersector。 The code is listed as following: osg::Plane planeLeft( osg::Vec3(1,0,0), osg::Vec3(0+1,0,0) );//define an intersetion plane osg::Polytope polytopeLeft;//define the

[osg-users] problem about sequence of intersection points using osgUtil::PlaneIntersector

2013-10-21 Thread Tianyun Su
Hi, I am trying to get the intersection points between an intersection plane and a terrain using osgUtil::PlaneIntersector。 The code is listed as following: osg::Plane planeLeft( osg::Vec3(1,0,0), osg::Vec3(0+1,0,0) );//define an intersetion plane osg::Polytope polytopeLeft;//define the range of

Re: [osg-users] problem about sequence of intersection points using osgUtil::PlaneIntersector

2013-10-21 Thread Tianyun Su
the file polylines generated then you are best doing this as post process. The alternatively is to simply write code that isn't sensitive to the ordering of the polylines. Robert. On 21 October 2013 08:45, Tianyun Su tianyun...@gmail.com wrote: Hi, I am trying to get the intersection points