[osg-users] Render a huge image (30.000x30.000)

Voerman, L. l.voerman at rug.nl
Fri Apr 1 08:14:05 PDT 2016


Hi Bruno.
The osgPoster example can render very large images by rendering in tiles
and gathering the image in software.
I am not sure it can do 30kx30k, as the image must be held in (virtual)
memory, so you may need a large swapfile.
Regards, Laurens.

On Fri, Apr 1, 2016 at 4:37 PM, Bruno Oliveira <
bruno.manata.oliveira at gmail.com> wrote:

> Hello,
>
> I am trying to render a single image with 30.000x30.000 pixels. I do this
> by loaindg a PNG file into a single osg::Image object, and asigningt it to
> a texture within a gl quad.
>
> However, this crashes my app (my gpu only supports 16.368 pixel images,
> ans had only 2gm ram).
>
> How should this be done? Is there some utility in OSG to do this out of
> the box?
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160401/c8756edd/attachment-0002.htm>


More information about the osg-users mailing list