Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3509 Members - Latest Member: lioneltenel

26. May 2012, 10:00:51 pm
Xith3D CommunityProjectsYour Projects (Moderator: 'n ddrylliog)Gis 3D Project
Pages: [1]
Print
Author Topic: Gis 3D Project  (Read 2678 times)
elFer
Just dropped in

Offline Offline

Posts: 4


View Profile Email
« on: 04. May 2007, 08:34:11 am »

Hi, I want to create an interface 3d to visualize gis Data. In the first state of the project, I want to place images (satellite images) into a flat surface dinamicaly. I download the textures from a Geoserver service (via http), and I want to load this textures (256*256pixels) to visualize over the flat terrain. When the user move the camera, the program must unload/load this textures (the images download from the server are save on hh.dd, in order to download only one time).
But, where I apply this textures???. Can I create an 2d object (plane) and put over this all the textures dinamicaly?, or I have to create many 3d quad object (a box without thickness) and apply the textures over single objects?.

Thanks in advanced...
..and apologize for my english....

Logged
'n ddrylliog
Moderator
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #1 on: 04. May 2007, 01:02:28 pm »

Hi elFer, welcome to Xith3D !

I guess the best would be to have several quads : it's more fexible, you can also do culling like that. Multi-texturing a single plane would be also possible but more difficult, and some cards only have 2-4 texture units so you would have to create a HUGE texture and *paint* the images you downloaded from the http servers directly on it : that would be really slow. So I advise you the first solution : several quads.
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #2 on: 04. May 2007, 06:40:31 pm »

I agree. Several Quads is certainly the simplest and the fastest solution (of the simple ones).

Creating a huge Texture would not even work because of maximum Texture size of OpenGL.

Marvin
Logged
Mathias 'cylab' Henze
Fierce Warrior
****
Offline Offline

Posts: 540

1064620
View Profile WWW
« Reply #3 on: 05. May 2007, 08:58:02 pm »

Maybe you are interested in the current terrain development. Texture LOD is the next thing on my todo-list...
Logged

elFer
Just dropped in

Offline Offline

Posts: 4


View Profile Email
« Reply #4 on: 07. May 2007, 06:03:14 am »

I made some test with the terrain clases (1year ago). But the terrain that I have it's too large, 300km*150km with 10m*10m of DEM resolution (we need to download terrain data in real-time too). I start my project without DEM representation, but in future I would like to view the terrain. The first steep is see a plain map with textures that load (and unload) dinamicaly.

Thanks....
Logged
Mathias 'cylab' Henze
Fierce Warrior
****
Offline Offline

Posts: 540

1064620
View Profile WWW
« Reply #5 on: 07. May 2007, 07:31:33 am »

the new implementation (has nothing to do with the old one) will support this requirement. If you are interested to help out, maybe we could both benefit.
« Last Edit: 07. May 2007, 07:37:14 am by Mathias 'cylab' Henze » Logged

Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #6 on: 07. May 2007, 09:23:04 am »

What is DEM (except for the short form for D-Mark Wink)?

Marvin

PS: It's dynamically not dinamically Wink
Logged
Mathias 'cylab' Henze
Fierce Warrior
****
Offline Offline

Posts: 540

1064620
View Profile WWW
« Reply #7 on: 07. May 2007, 09:34:59 am »

digital elevation model
Logged

elFer
Just dropped in

Offline Offline

Posts: 4


View Profile Email
« Reply #8 on: 07. May 2007, 09:37:04 am »

DEM is Digital Elevation Model. It's a bitmap where every pixel represent the height of the terrain in this point. I access to the DEM through http: I request to the server with two corner coordinates, and the server response is a gif where the height is codified as a color (I use WMS server).
Can I dinamicaly change the LOD of terrain with Xith?. I start using plane quads for texturing, but the next step is apply the DEM to this quads. But the problem is the 'streaming' of the textures and bitmaps of terrain model. As the user move the camera, textures and terrain will load/unload from memory....
Thanks...
Logged
Mathias 'cylab' Henze
Fierce Warrior
****
Offline Offline

Posts: 540

1064620
View Profile WWW
« Reply #9 on: 07. May 2007, 10:03:01 am »

Can I dinamicaly change the LOD of terrain with Xith?. I start using plane quads for texturing, but the next step is apply the DEM to this quads. But the problem is the 'streaming' of the textures and bitmaps of terrain model. As the user move the camera, textures and terrain will load/unload from memory....
The terrain implementation is not finished (here is an overview of planned features), but the plan is to provide multiple detail levels for height data and textures. It's basically an implementation of the Chunked LOD algorithm by Thatcher Ulrich (linked in the overview) with the triangulation borrowed from SOAR. Maybe helping out in the terrain implementation will result in exact the application you are trying to create.
Logged

Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic