[osg-users] When optimizing with LOD changes, should I change UV map resolutions?

Robert Osfield robert.osfield at gmail.com
Thu Jul 10 09:18:37 PDT 2008


On Thu, Jul 10, 2008 at 5:13 PM, Rick Pingry <rick at fringe-online.com> wrote:
> Wow, the ability to limit the maximum texture memory sounds like it would
> really help.  What/where might I find that environment variable?

You can list the env vars by doing:

   osgviewer --help-env

One of the entries will be:

  OSG_MAX_TEXTURE_SIZE           Set the maximum size of textures.


So you do something like:

  set OSG_MAX_TEXTURE_SIZE=64
  myapp mymodel.fmt

Robert.



More information about the osg-users mailing list