[Gvsig_english] View3D
Neumann, Tobias
tobias.neumann at berner-mattner.com
Mon Apr 18 09:58:50 CEST 2011
Dear Jordi,
I have got a problem with displaying some geodata into the TerrainViewer.
I have successfully build the example with the cow at the north pole (I have send a screenshot of it), but when I want to load a satellite footprint as texture (chapter "Adding layers") it will not be displayed.
When the update-method is called (public UpdateDataEvent loadData(RequestDataEvent rde)) the log output is like "Scaling image 'C:\...\World1_24M.jpg' from (7200,3600) to (8192,4096)", but I can only see the grey plane surface of the default terrain.
I have created the RasterLayer and added it to a new LayerManager. This LayerManager then is getting assigned as the LayerManager of my earth-terrain (just new Terrain()).
Do you have an easy explanation for this problem?
Thank you
Tobias
________________________________
From: gvsig_internacional-bounces at listserv.gva.es on behalf of Jordi Torres
Sent: Wed 13.04.2011 15:29
To: Users and Developers mailing list
Subject: Re: [Gvsig_english] View3D
Hi Tobias,
The code you are looking for must utilize osgVirtualPlanets (osgVP). The documentation is available here[1], take a look to the Terrain Section. You will find simple snippets of code to achieve this kind of things. Hope it helps.
Cheers.
[1]http://forge.osor.eu/docman/view.php/177/447/UserGuide_en.pdf
2011/4/13 Neumann, Tobias <tobias.neumann at berner-mattner.com>
Hi,
I am trying to set up a 3D view with gvSIG. Does someone have got a short code example how to generate and display a default spherical view?
Thank you!
Tobias
_______________________________________________
Gvsig_internacional mailing list
Gvsig_internacional at listserv.gva.es
http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
--
Jordi Torres Fabra
gvSIG 3D blog
http://gvsig3d.blogspot.com <http://gvsig3d.blogspot.com/>
Instituto de Automática e Informática Industrial
http://www.ai2.upv.es <http://www.ai2.upv.es/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 5787 bytes
Desc: not available
Url : http://listserv.gva.es/pipermail/gvsig_internacional/attachments/20110418/d04021dd/attachment.bin
More information about the Gvsig_internacional
mailing list