ulf.schroeter Posted October 29, 2012 Posted October 29, 2012 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.
demostenes Posted October 29, 2012 Posted October 29, 2012 What exactly this class do? Makes atlas from given textures? Or even modifies UVs of given meshes?
ulf.schroeter Posted October 30, 2012 Author Posted October 30, 2012 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
demostenes Posted October 30, 2012 Posted October 30, 2012 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.
frustum Posted October 30, 2012 Posted October 30, 2012 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.zip
ulf.schroeter Posted October 30, 2012 Author Posted October 30, 2012 Excellent ! Just as an idea: name ImageAtlas might be little bit more expressive
Recommended Posts