Jump to content

[SOLVED] ImageAtlas via UNIGINE script


photo

Recommended Posts

Engine c++ source contains framework class ImageAtlas for texture atlas creation. It would be very helpful to have this functionality exposed via UNIGINE script as this is a quiet common optimisation task during world init or pre-processing.

Link to comment

It builds the atlas image and provides an UV mapping for each stored image, so texture UV's of meshes using the original image can be modified by the user accordingly

Link to comment
It builds the atlas image and provides an UV mapping for each stored image, so texture UV's of meshes using the original image can be modified by the user accordingly

 

This is indeed very usefull.

Link to comment

This UnigineScript-based atlas generator will be available in the next SDK.

Unigine::Atlas class produces absolutely same packing as an internal ImageAtlas c++ class.

Moreover ObjectMesh and ObjectMeshSkinned nodes will have ability to surface merging and vertex/index buffer modification at run-time.

 

atlas.png

atlas.zip

Link to comment
×
×
  • Create New...