Hi Anders,
On Wed, 17 Feb 2021 at 17:02, Anders Backman wrote:
> I was wondering if there is any way of using the osgTerrain library by
> feeding it with a dynamic (changing over time) heightmap?
> I was thinking that most of the core features are there, including
> the
Hi all.
I was wondering if there is any way of using the osgTerrain library by
feeding it with a dynamic (changing over time) heightmap?
I was thinking that most of the core features are there, including
the DisplacementMappingTechnique for quick tesselation.
But perhaps this is completely out of
Thanks Robert ! Very well explained !
Cheers!
Nick
On Tue, Dec 6, 2016 at 10:17 AM, Robert Osfield
wrote:
> Hi Nick,
>
> On 6 December 2016 at 05:38, Trajce Nikolov NICK
> wrote:
> > Hi Robert, Community,
> >
> > This might sounds
Hi Nick,
On 6 December 2016 at 05:38, Trajce Nikolov NICK
wrote:
> Hi Robert, Community,
>
> This might sounds stupid so I am apologize upfront. I spent some time
> reading the code of TerrainTile and I am seeing it as a Group (right?). When
> using NodeVisitors I
Hi Robert, Community,
This might sounds stupid so I am apologize upfront. I spent some time
reading the code of TerrainTile and I am seeing it as a Group (right?).
When using NodeVisitors I am seeing the TerrainTiles as part of the scene.
When I want to use it as ordinary Group it is not.
For
> The current CLAMP_TO_EDGE approach requires me to modify the edge
> pixels of that terrain tile to have a transparent color.
Sorry, I meant to say "edge pixels of that image". I should proof-read my
postings better.
2015-09-08 13:52 GMT+02:00 Christian Buchner :
Hi all,
I am questioning the hardcoded use for CLAMP_TO_EDGE texture wrapping modes
in the osgTerrain/GeometryTechnique.cpp.
Let's say that I wanted to add a high tes texture patch on some small
location on a terrain tile. The current CLAMP_TO_EDGE approach requires me
to modify the edge pixels
Hi,
I'm trying to load an heightfield and smooth it by adding a
GeometryTechnique to the osgTerrain::TerrainTile.
Since I didn't get it working I tried the osgthreadedTerrain example.
Loading a heightfield or elevation from texture and modifying the
filter used doesn't change anything there
Hi,
I have a geocentric terrain database built by osgDEM of which I need the
highest LOD as geometry in order to post process it in another toolchain.
What I tried is to get the highest LOD subtiles and visit them with a
NodeVisitor which will then convert the geodes.
In order to do so I use
Okay, I've found the solution myself.
I simply use the transforms from getWorldMatrices on the group
containing the geometry.
cheers
Sebastian
Attached you'll find the obj produced by the nodevisitor and a
screenshot.
Thanks.
Hi,
I have a geocentric terrain database built by osgDEM of
Hi Brad,
well, than I might try to traverse the terrain first. But I just realized that
Tileaccess might not be a solution for my problem
(http://forum.openscenegraph.org/viewtopic.php?t=9416).
@zonk: Terrain is a ref_ptr Object, not a normal pointer.
--
Read this topic online
Hi,
I want to access TerrainTiles, but I get always a 0 Pointer.
Code:
ref_ptrNode model=osgDB::readNodeFile(Filename.toStdString());
//try to convert the node to an osg::Terrain and analyse it
ref_ptrosgTerrain::Terrain Terrain(model-asTerrain());
if(Terrain)
{
cout We have a terrain :)\n
would have been loaded.
Cheers,
Brad
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Jonathan Klein
Sent: Thursday, 24 November 2011 5:31 AM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users
Hi,
by the way:
*Terrain
* annihilates itself - the adress of the content of an pointer is the pointer
itself, so Terrain would be sufficient.
Cheers,
Torben
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=44021#44021
On 6/15/2011 12:33 PM, Torben Dannhauer wrote:
Can you help me and give a short overview how to preload a plugin?
I see Robert already answered this.
Additionally, do I have to open my loader to all file extensions? I tried
it but that does not work, all subtiles are loaded then with the
Hi Chris, thanks for your input.
1.
Thanks for your preload idea, but I had a unpleasant dicussion with robert
(http://forum.openscenegraph.org/viewtopic.php?t=8538), because the term
preloading is often named, but there is no information what this is in detail.
Can you help me and give a
Hi,
I need an approach to modify osgTerrain at runtime. Therefore I implemented a
pseudo loader, which acts transparent to the rest of the system and modifies
the loaded height values. (to flatten the terrain around a selected airport)
This approach works well, but it works not on run time,
On 6/13/2011 4:27 AM, Torben Dannhauer wrote:
My current approach:
Force/query the DB Pager to reload the affected tiles/subgraphs and apply the
new modification algorithm while loading (again, via the pseudo loader).
Everytime a modified tile is loaded, the alogrithm should replace in the
Hi Chris
Yes I implemented already working prototype, but managing (especially reverting
modifications) is not yet finished. The following lines describe what I have
implemented so far.
I have a pseudo laoder, which loads file with the suffix .terrainmod:
1. It strips the filename
2. Loads
On 6/13/2011 11:21 AM, Torben Dannhauer wrote:
1. If the node is a pagedLOG: Modify the entry and add to all paged filenames
the .terrainmod suffix to ensure that they are also loaded via the pseudo
loader.
I did this too. It turns out not to be needed. If you pre-load your
psuedoloader,
Hi all,
I solved this problem. To help others I'll explain my ideas here, so other can
use this information as well.
The wrong part in my structure was the function were I modified the height
values.
To explain my optionion of the right way, it is required to understand how the
tiles are
Hi,
I am trying to use osgTerrain together with vpb to achieve dynamic terrain
manipulation. After going through the interface for the various classes in
osgTerrain, I have a few questions: (whether I have understood right or not)
Using virtual planet builder (vpb) we generate a number of
Hi Sanat,
I have not read the complete source code of VPB yet, but my current
understanding is:
Visualizing a VPB terrain, you only load the root file. This means, in the root
file the next sublevel tiles must be noted down. So if we are zooming in, the
viewer calculates the appropriate LOD
HI Brad,
What do you mean by ON_DEMAND rendering in osgTerrain? Is this an
osgEarth feature, rather than an osgTerrain one?
Robert.
On Wed, Oct 20, 2010 at 12:01 AM, Brad Huber br...@procerusuav.com wrote:
It appears that ON_DEMAND rendering is broken in osgTerrain as of rev
11307. The
Hi Robert,
Brad is talking about OSG's ON_DEMAND mode to (osgviewer
--run-on-demand). The setting of the
setNumChildrenRequiringUpdateTraversal to get an update traversal in
osgTerrain (as well in osgEarth) causes the frameloop to run
continuously instead of only when something changes. So
Beverage
Sent: Wednesday, October 20, 2010 7:50 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] osgTerrain -- ON_DEMAND rendering broken?
Hi Robert,
Brad is talking about OSG's ON_DEMAND mode to (osgviewer
--run-on-demand). The setting of the
setNumChildrenRequiringUpdateTraversal to get
Hi Brad,
On Wed, Oct 20, 2010 at 6:02 PM, Brad Huber In my working copy I've
removed the setNumChildrenRequiringUpdateTraversal
call and ON_DEMAND rendering in osgViewer works again. I would not propose
this as a fix because it probably broke something else and so that's why I'd
like to see
, October 20, 2010 12:37 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] osgTerrain -- ON_DEMAND rendering broken?
Hi Brad,
On Wed, Oct 20, 2010 at 6:02 PM, Brad Huber In my working copy I've
removed the setNumChildrenRequiringUpdateTraversal
call and ON_DEMAND rendering in osgViewer works
It appears that ON_DEMAND rendering is broken in osgTerrain as of rev 11307.
The offend lines appear to be the manual setting of
numchildrenrequiringupdatetraversal in the constructors for
osgTerrain::Terrain.
We are using osgEarth (using osgTerrain) and would really like to use
ON_DEMAND to
Hi,
to render terrain in OSG, there are several methods.
First of all you have to choose between
preprocessing your terrain for high performance and
rendering on demand for high flexibility and low performance.
For the first method, you can use VirtualPlanetBuilder (an other project of
OSG),
Hi,
I am trying to render a landscape in OSG. How do I do it? I can't find any
tutorial on how to use osgTerrain.
I have an image for the heightmap and an image (of the same resolution) for the
texture of the entire landscape. Is a terrain engine in OSG that would use
geomipmaping or anything
Could anyone provide an example of command line arguments to run
Example_osgTerrain please?
I have always got the error:
No model created, please specify terrain or master file on command line.
Thank you!
Cheers,
Ang
--
Read this topic online here:
Hi,
a newbie question: what is the purpose of osgTerrain::ProxyLayer?
Thank you!
Cheers,
Hartwig
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=20913#20913
___
osg-users mailing list
Hi Hartwig,
osgterrain is primarily a unit test that I've used for testing and
debugging of threading and osgTerrain usage, and the master file is
part of this.The master file is simply a list of files for the
models to load, so you could stick a range of models including ones
like cow.osg
Hi,
I am calling the osgterrain example only with the argument --image
land_shallow_topo_2048.jpg.
The earth is now displayed on the left edge of my window/screen. If I am adding
lines parallel to the coordinate axes x, y and z with a length of 10e6 the
whole scene is centered.
From my
Hi,
sorry, I meant of course a length of 20e6 symmetric to (0, 0, 0).
Thank you!
Cheers,
Hartwig
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=20523#20523
___
osg-users mailing list
Hi,
what kind of input file does the osgterrain example expect?
BTW: what is a master file in this context??
Thank you!
Cheers,
Hartwig
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=20501#20501
Hi GuiYei,
The osgterrain is a little complex due to it's illustration of custom paging
and lots of command line parsing, but it is probably the best place to
learn.
Robert.
2009/4/15 GuiYe guiy...@163.com
Hello,robert!
Can you provide some examples about how to use the library of
Hello,robert!
Can you provide some examples about how to use the library of osgTerrain
except osgTerrain! The library is so complex that I don't know how to use it to
render terrain data! Can you provide some documents about the library! On the
other hand , I hope that the example of
Hi Maciej,
This is very likely to be an ATI driver bug. It may be saying that it
supports FBO's but totally screws them up.
Robert.
On Tue, Feb 10, 2009 at 10:32 AM, Maciej Krol mack...@gmail.com wrote:
Hi all,
I am testing trunk OSG on older devices. I've noticed that osgTerrain
crashes
Hi Ryan,
On Tue, Dec 23, 2008 at 4:15 AM, Ryan Morris russell.co...@gmail.com wrote:
Thanks guys for the quick responses! This is the kind of information you
can't really come by going through the ref docs. I didn't know you could
only use certain plugins could be used as heightfields. I
Hi Ryan,
You make no mention of what type of file you are trying to load. Only
a small number of the OSG plugins support reading form heightfield,
only two of which read height fields directly - these are the gdal and
ive plugins.
Robert.
On Mon, Dec 22, 2008 at 12:29 AM, Ryan Morris
Hi,Ryan
Can you tell me the type of file what you load?readHeightFieldFile is mainly
based on GDAL plugins.You can have a good knowledge of GDAL in
http://www.gdal.org. The website lists a lot of file types what can be
read/written.
在2008-12-22,Ryan Morris russell.co...@gmail.com 写道:
Thanks guys for the quick responses! This is the kind of information you
can't really come by going through the ref docs. I didn't know you could
only use certain plugins could be used as heightfields. I assumed it was
like blender where you can load a bw image and it will create a height map.
I'm trying to wrap my head around osgTerrain. I try to use
readHeightFieldFile and it keeps returning NULL. I admit I am not exactly
clear on what time of file I should be loading, I assumed it was an image
file but that doesn't work for me. If anyone could give me a little guidance
here I'd
-users@lists.openscenegraph.org
From: Coco [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
Date: 09/10/2008 05:55AM
Subject: Re: [osg-users] osgTerrain::TerrainTile question
2008/9/10, Robert Osfield
[EMAIL PROTECTED]
:
Hi Nicolas,
I think you have got the wrong end of the stick. I
:20 +0200
From: [EMAIL PROTECTED]
To: osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] osgTerrain::TerrainTile question
Hey Brian,
I found the old post you were takling about. I copied it below.
But where is the link to the code?
Best regards,
Nicolas Duval
[osg-users] Paged
Hi Nicolas,
osgTerrain::TerrainTile was named osgTerrain::Terrain in 2.2.
osgTerrain since 2.2 was evolved to be more rounded and functional,
the naming was changed to better fit what goes on in big paged
database, when the Terrain is composed of a hierarchy of TerrainTile.
There is now a new
Thank you very much for your ideas!
I found out the osgDB::DatabasePager class by reading old posts and it looks
to fit my problem very well.
By using TerraPage I will have to pre-process my databases, whereas with the
database pager I don't need to.
virtual void
Hi Nicolas,
I think you have got the wrong end of the stick. I was suggesting
TerraPage as an illustration of how cultural data (3d models) can be
stored in with the tiles on disk. In vis-sim industry TerraPage is
well known so I used it as as a case in point to save typing lots...
FYI, The
2008/9/10, Robert Osfield [EMAIL PROTECTED]:
Hi Nicolas,
I think you have got the wrong end of the stick. I was suggesting
TerraPage as an illustration of how cultural data (3d models) can be
stored in with the tiles on disk. In vis-sim industry TerraPage is
well known so I used it as as
Hi Nicolas,
On Wed, Sep 10, 2008 at 10:55 AM, Coco [EMAIL PROTECTED] wrote:
I think there is a missunderstanding. My problem is to load a big database,
not to create it.
I already have my database, fragmented in FLT files like I said. So I was
suggesting to use DatabasePager to load flt
and you should see how to do it.
Brian
[EMAIL PROTECTED] wrote: -
To: OpenSceneGraph Users osg-users@lists.openscenegraph.org
From: Coco [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
Date: 09/10/2008 05:55AM
Subject: Re: [osg-users] osgTerrain::TerrainTile question
2008/9/10, Robert Osfield
PROTECTED]
Date: 09/10/2008 05:55AM
Subject: Re: [osg-users] osgTerrain::TerrainTile question
2008/9/10, Robert Osfield
[EMAIL PROTECTED]
:
Hi Nicolas,
I think you have got the wrong end of the stick. I was suggesting
TerraPage as an illustration of how cultural data (3d models) can
Hi,
I'm presently working on a car simulator using OSG 2.2 for the visual.
My problem is that I would like to load big areas (such as entire cities or
more) which are fragmented in several Open Flight files without loading all
those files.
I looked at the OSG documentation and found out the
Are you perhaps referring to paged LevelOfDetail (LOD) terrain? OSG
database pager automatically processes these types of paged LOD terrains,
and loads higher resolution tiles as you zoom in (or the opposite: lower
reslution when zooming out). request your application to load your
master.ive file
Hi Shayne,
osgTerrain functionality has evolve alot of the last six months, so
not much is documented about it yet. VirtualPlanetBuilder has an
option for building databases using standard nodes like
osg::MatrixTransform/osg::Geode/osg::Geometry (which is the original
and still default option)
Hi,
I think for a start, do not worry too much about osgterrain classes and
the osgterrain example.
Create a simple terrain using osgdem (search the list for command lines)
and load it using osgviewer. The viewer loads terrain just as it loads
normal objects. It constructs a Database Pager
these errors? I've followed the instructions to the
letter...
-Shayne
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Osfield
Sent: Friday, May 23, 2008 2:05 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] osgTerrain and osgDEM...
Hi Shayne
]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Osfield
Sent: Friday, May 23, 2008 2:05 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] osgTerrain and osgDEM...
Hi Shayne,
osgTerrain functionality has evolve alot of the last six months, so
not much is documented about it yet
: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Osfield
Sent: Friday, May 23, 2008 9:13 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] osgTerrain and osgDEM...
Its a a GDAL error. Try gdalinfo of the problem file.
On Fri, May 23, 2008 at 4:11 PM, Tueller, Shayne R Civ USAF
Hi All,
In the osgTerrain::GeometryTechnique buffer._transform is not added
to scene graph explicitly using addChild, can any one tell me how it
is then getting rendered.
RJ
___
osg-users mailing list
osg-users@lists.openscenegraph.org
On Thu, May 22, 2008 at 2:38 PM, Rahul Jain [EMAIL PROTECTED] wrote:
Hi All,
In the osgTerrain::GeometryTechnique buffer._transform is not added
to scene graph explicitly using addChild, can any one tell me how it
is then getting rendered.
It's all done by the
Hello,
I'm new to OSG and I'm looking at the osgTerrain nodekit for terrain
rendering. My question is, is how is this used with Virtual Planet builder
(osgdem) for rendering terrain? Is VPB osgdem used to construct the terrain
database and then osgTerrain used to traverse the terrain in OSG?
Hi,
Which are the file formats supported by osgterrain?
I tried running the osgterrain example using .osga, .ive and geotiff
files without any success.
Is their any info available about osgterrain in detail?
Thanks in advance,
Om
___
osg-users mailing
Hi Rafa,
Sorry about this, checked some changes in that I thought were fine,
then went for a day out to the beach - it was sunny for the *whole*
day, something which has only happened a couple of time this summer in
the UK, so me and the family just had to head out :-)
Fixes should now be
Hi Robert,
I have just update the svn, and the example of osgterrain is broken,
possibly by the change of TerrainNode to Terrain. The
ReaderWritterTerrain.cpp needs to be upgraded too.
I also realized that the wrapper of osgViewer is not compiling on Mac
the problem is for an undefined symbol
:[EMAIL PROTECTED] On Behalf Of Rafa Gaitan
Sent: 8. august 2007 12:44
To: osg users
Subject: [osg-users] osgterrain example broken.
Hi Robert,
I have just update the svn, and the example of osgterrain is broken, possibly
by the change of TerrainNode to Terrain. The ReaderWritterTerrain.cpp needs
Hi,
I'm new to OSG and I have a bit of problem wrapping my head around how to use
osgTerrain and paged databases in general. I looked at the Quick Start Guide
and there's no info.
Is there an OSS app I can download to learn how to use osgTerrain?
Thanks
- Nick -
Hello Li Kong,
I compiled the osgterrain example.
But where is the terrain data?
I think the data is from a image. what's the image's format ?
bmp?rgb?
Why are you e-mailing me directly for this? Your question should be
posted to the OSG-Users mailing list - see
70 matches
Mail list logo