ulf.schroeter Posted October 29, 2012 Share 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. Link to comment
demostenes Posted October 29, 2012 Share Posted October 29, 2012 What exactly this class do? Makes atlas from given textures? Or even modifies UVs of given meshes? Link to comment
ulf.schroeter Posted October 30, 2012 Author Share 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 Link to comment
demostenes Posted October 30, 2012 Share 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. Link to comment
frustum Posted October 30, 2012 Share 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 Link to comment
ulf.schroeter Posted October 30, 2012 Author Share Posted October 30, 2012 Excellent ! Just as an idea: name ImageAtlas might be little bit more expressive Link to comment
manguste Posted October 31, 2012 Share Posted October 31, 2012 I'll try to convince Frustum of this :) Link to comment
manguste Posted November 7, 2012 Share Posted November 7, 2012 Hurray, ImageAtlas it is! Link to comment
ulf.schroeter Posted November 7, 2012 Author Share Posted November 7, 2012 Well done ! Link to comment
Recommended Posts