On 5/25/2011 1:29 PM, karl jones wrote:
> Hi,
> I have a large number of 3d models(1000's), each model has dozens of textures 
> in bmp format at 1024. I want to try to automate a process that will lower 
> the resolution and merge the textures so I have less textures whilst 
> maintaing the uv coords. Is this possible using OSG? I have seen mention of 
> the Texture Atlas class, is this able to do this?

  Texture atlas merges textures as you describe. It does not explicitly change 
resolution.
You could always use something like Photoshop's Automate tool, or countless 
other tools to
resize the merged textures. OGL texture coordinates are normalized, so they 
don't care
what the actual image size is.

> Also is it able to change the texture format to jpeg or dds?

  No, but you could do this during the resize process, and then do a search and 
replace of
your model files (depending on the format) to rewrite the image file extension.

-- 
Chris 'Xenon' Hanson, omo sanza lettere. [email protected] 
http://www.alphapixel.com/
  Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. 
Contracting.
    "There is no Truth. There is only Perception. To Perceive is to Exist." - 
Xen
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to