[osg-users] Max texture size on the IVE file?
Robert Osfield
robert.osfield at gmail.com
Tue Jan 26 04:14:10 PST 2016
Hi John,
The core OSG doesn't impose any restrictions on texture size, either
when saving/loading or when rendering. However, the OSG can push
higher res textures that the graphics hardware+drivers support so
during rendering it uses an OpenGL query to get the maximum size it
supports then resizes the imagery prior to downloading to the GL
driver.
In your case it is most likely that the driver itself is reporting a
certain maximum texture size and the OSG is rescaling to this. It's
won't be 8000 pixels but likely some power of two.
The way to tackle very large image sizes is to uses a combination of
tiling and level of detail. As Sebastian mentioned the
VirtualPlanetBuilder and osgEarth projects tackle this, as an offline
tool and a runtime NodeKit respectively.
Robert.
On 26 January 2016 at 11:38, John Green <johngreen1976alma at gmail.com> wrote:
> Hi,
>
> Everyone, this is my first post. I have quick question for you guys, this might be a simple one but I am still new with OSG.
>
> I am building a map scene with 3D Max and exporting it with OpenSceneGraph Max Exporter however I noticed the OSG Viewever doesn't support textures larger than 8000 x 8000. If I want to have a larger texture on the terrain it just downsamples that to 8000 pixels.
>
> Is this an OSG limitation or an OSG Viewever one? Can I somehow support larger textures? All I am trying to do is to create a simulation of my local town, and I would need a large area covered with texture from google maps so the ground doesn't look ugly from the top. Is there a way around it ?
>
>
> Thank you for your help! Much appreciated!
>
> Cheers,
> John
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=66125#66125
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
More information about the osg-users
mailing list