How to Atlas Texture Create from Images? ( oxygine::Image )

How to Atlas Texture Create from Images? ( oxygine::Image )

Postby dalxung » Sun Mar 26, 2017 9:56 am

Sites that can be referenced for implementation ( How to use Dynamic TextureAtlas ) - search text: 동적 TextureAtlas 를 이용하는 방법 - http://lpesign.tistory.com/202

Image image;
image.init(uvSize.x, uvSize.y, TF_R4G4B4A4);

// image load
ImageData dest = image.lock();
unsigned char* pDest = dest.data;
memcpy( pDest, buffer );

vector <Image> images; // same color format image list ( R4G4B4A4 )

CreateAtlasTextureFromImages( &images[0], images.size() ); <- implement please!!!!
output -> Atlas List ( BMfont Style - Create many remaining pictures with the next Atlas texture )

How to Create Atlas Texture List from same color format image list?
dalxung
 
Posts: 28
Joined: Sat Feb 04, 2017 9:52 am

Return to oxygine-framework

Who is online

Users browsing this forum: No registered users and 2 guests