Re: [osg-users] Image - terrain, Simple question
Hi Anders, Have a look at osgTerrain::TerrainTile for rendering height fields - you can use osg::Image or osg::HeightField as the source for the layers that it renders. Robert. On Mon, Jun 9, 2008 at 1:24 PM, Anders Backman [EMAIL PROTECTED] wrote: Simple question from someone that hasn't follow the development in detail for a long while What is the simplest way of generating a terrain mesh from a 2D image with heights? Im not looking for paging textures, terrain etc, just image- mesh. There use to be the osgDem app that did this, but now you have to install and build VirtualPlanetBuilder, right? Is there anyway to do this with osg-only right now? /Anders -- Anders Backman Email: [EMAIL PROTECTED] HPC2N/VRlab Phone: +46 (0)90-786 9936 Umea university Cellular: +46 (0)70-392 64 67 S-901 87 UMEA SWEDEN Fax: +46 90-786 6126 http://www.cs.umu.se/~andersb ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Image - terrain, Simple question
Simple question from someone that hasn't follow the development in detail for a long while What is the simplest way of generating a terrain mesh from a 2D image with heights? Im not looking for paging textures, terrain etc, just image- mesh. There use to be the osgDem app that did this, but now you have to install and build VirtualPlanetBuilder, right? Is there anyway to do this with osg-only right now? /Anders -- Anders Backman Email: [EMAIL PROTECTED] HPC2N/VRlab Phone: +46 (0)90-786 9936 Umea university Cellular: +46 (0)70-392 64 67 S-901 87 UMEA SWEDEN Fax: +46 90-786 6126 http://www.cs.umu.se/~andersb ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Image - terrain, Simple question
Anders, I believe osgdem is part of VPB now. When you build VPB, it compiles to osgdem that can be run from the command line just as in the past. -Shayne -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anders Backman Sent: Monday, June 09, 2008 6:25 AM To: OpenSceneGraph Users Subject: [osg-users] Image - terrain, Simple question Simple question from someone that hasn't follow the development in detail for a long while What is the simplest way of generating a terrain mesh from a 2D image with heights? Im not looking for paging textures, terrain etc, just image- mesh. There use to be the osgDem app that did this, but now you have to install and build VirtualPlanetBuilder, right? Is there anyway to do this with osg-only right now? /Anders -- Anders Backman Email: [EMAIL PROTECTED] HPC2N/VRlab Phone: +46 (0)90-786 9936 Umea university Cellular: +46 (0)70-392 64 67 S-901 87 UMEA SWEDEN Fax: +46 90-786 6126 http://www.cs.umu.se/~andersb ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org smime.p7s Description: S/MIME cryptographic signature ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Image - terrain, Simple question
Hi Anders, at one point, this used to work, don't know if it does still: osgviewer --dem elevations.png -- mew -Original Message- From: [EMAIL PROTECTED] [mailto:osg-users- [EMAIL PROTECTED] On Behalf Of Anders Backman Sent: Monday, June 09, 2008 7:25 AM To: OpenSceneGraph Users Subject: [osg-users] Image - terrain, Simple question Simple question from someone that hasn't follow the development in detail for a long while What is the simplest way of generating a terrain mesh from a 2D image with heights? Im not looking for paging textures, terrain etc, just image- mesh. There use to be the osgDem app that did this, but now you have to install and build VirtualPlanetBuilder, right? Is there anyway to do this with osg-only right now? /Anders -- Anders Backman Email: [EMAIL PROTECTED] HPC2N/VRlab Phone: +46 (0)90-786 9936 Umea university Cellular: +46 (0)70-392 64 67 S-901 87 UMEA SWEDEN Fax: +46 90-786 6126 http://www.cs.umu.se/~andersb ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org