Combinine multip bitmaps into one.
by Cinder Games · in Torque Game Engine · 04/19/2006 (9:08 pm) · 2 replies
**Combining multiple bitmaps into one.**
Wow, i managed to mispell TWO words in the title alone ::sigh::
I'm taking the next step in my Lightwave MIS exporter by having it generate some minimaps based on the exported object data.
I want to make a minimap by piecing together multiple bitmaps.
To futher clarify, i want to take, say 4 32x32, bitmaps, and have it convert those 4 into one 64x64 bitmap by simply lining them up side by side.
I've searched the forums, can't find much of anything, I've tried multipe search strings and having found anything decent.
So can anyone help me in my quest? Either by pointing me to some links or just telling me where to look in the code.
Wow, i managed to mispell TWO words in the title alone ::sigh::
I'm taking the next step in my Lightwave MIS exporter by having it generate some minimaps based on the exported object data.
I want to make a minimap by piecing together multiple bitmaps.
To futher clarify, i want to take, say 4 32x32, bitmaps, and have it convert those 4 into one 64x64 bitmap by simply lining them up side by side.
I've searched the forums, can't find much of anything, I've tried multipe search strings and having found anything decent.
So can anyone help me in my quest? Either by pointing me to some links or just telling me where to look in the code.
#2
04/19/2006 (9:24 pm)
Hmm that seems like it could be adapted just fine to my needs. I'm very slow at translating c++, especially sparsely commented code. But i'll dive in and see what i can learn.
Torque 3D Owner Peter Simard
Default Studio Name
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=9805
It does what you need. Just modify it from reading a font image, to reading your images.