Game Development Community

3D Texture note:

by Richard Ranft · in Torque 3D Beginner · 03/10/2014 (9:08 pm) · 4 replies

When using png files for textures on 3D objects it seems the engine is offended by anything less than 16 million colors. It might have been a combination of factors, but changing from 256 colors to 16 million made it work - I would have pulled my hair out if I had kept any....

About the author

I was a soldier, then a computer technician, an electrician, a technical writer, game programmer, and now software test/tools developer. I've been a hobbyist programmer since the age of 13.


#1
03/11/2014 (9:51 am)
Pics or it didn't happen. ;)
#2
03/11/2014 (2:49 pm)
I would have taken a pic, but it was "space" and the sphere was showing up black until I changed the color depth....

I'll try to reproduce it later.
#3
03/11/2014 (2:57 pm)
use jpeg or jng then? :P
#4
03/11/2014 (3:01 pm)
I think maybe I'll see if I can find out why the png wasn't loading properly in the first place - I've been digging around in that part of the engine lately anyway.

During the development of 3SS someone found a .jpg picture of a toy monkey on a dashboard that would cause T2D to crash when it was loaded....