Anyone know of a tool that can create a list of input images and output a single image that is a montage of the inputs (a texture atlas).
Ideally the tool could be easily modified to automatically generate the image set XML file.
So far I'm creating my images by hand which takes some time.
Thanks,
ppl
Note: There is NVIDIA Texture Atlas Tools but it doesn't seem to generate anything near an optimal fit
Creating Texture Atlas
Moderators: CEGUI MVP, CEGUI Team
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
You might try this little tool:
http://kurtm.flipcode.com/imagechunks/
Unfortuanately it doesn't come with source code though...
http://kurtm.flipcode.com/imagechunks/
Unfortuanately it doesn't come with source code though...
Hi ppl,
If I'm not too late - I wrote a rudimentary tool to pack a set of separate image into a single one and to spit out an imageset file. It was a while ago (about this time last year ), but I'll have a look around on my laptop for it.
It used some box packing code that I found on the internet that I couldn't locate a license for however
Cheers.
If I'm not too late - I wrote a rudimentary tool to pack a set of separate image into a single one and to spit out an imageset file. It was a while ago (about this time last year ), but I'll have a look around on my laptop for it.
It used some box packing code that I found on the internet that I couldn't locate a license for however
Cheers.
Turtle wrote:Hi ppl,
If I'm not too late - I wrote a rudimentary tool to pack a set of separate image into a single one and to spit out an imageset file. It was a while ago (about this time last year ), but I'll have a look around on my laptop for it.
It used some box packing code that I found on the internet that I couldn't locate a license for however
Cheers.
Sounds cool. Maybe we could eventually integrate this in CEImagesetEditor. Although for now, the imaget set editor doesn't have a way to write image files (afaik).
Let me know when you find back your source!
Thanks,
ppl
I found the code this morning. I have to warn you that it's quite "rough", but it did the job for me.
It uses the Allegro library along with a png addon to load and save png images.
It only accepts png files (I think), but should be easy to change. It shouldn't be too hard to change from Allegro to another image library also if you wanted to.
I'll put it on somewhere tonight and post the url.
Cheers.
It uses the Allegro library along with a png addon to load and save png images.
It only accepts png files (I think), but should be easy to change. It shouldn't be too hard to change from Allegro to another image library also if you wanted to.
I'll put it on somewhere tonight and post the url.
Cheers.
Here it is:
This site only holds files for 14 days, so you'd better download it quick
And as I said before, it's rough. It's also only the source code
(The site that its held on is by a guy who hosts all the maps etc for the freeware/open source game Spring - formally TASpring)
This site only holds files for 14 days, so you'd better download it quick
And as I said before, it's rough. It's also only the source code
(The site that its held on is by a guy who hosts all the maps etc for the freeware/open source game Spring - formally TASpring)
Return to “Unofficial CEGUI-Related Tools”
Who is online
Users browsing this forum: No registered users and 2 guests