cesar553 / jsc3d

Automatically exported from code.google.com/p/jsc3d
0 stars 0 forks source link

Load .dds Textures #136

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I got the model to show but not the TX. anyone that could help ? The texter 
file is brand_base_TX_CM.dds and the files are from League oF Legends (Game).

What version of the product are you using? 
JSC3D 1.6.5

On what operating system?
Windows 7 x64 - Xampp

Please provide any additional information below.

Original issue reported on code.google.com by mattiasg...@gmail.com on 16 Dec 2014 at 8:25

Attachments:

GoogleCodeExporter commented 9 years ago
My Code

http://pastebin.com/5xcpthTk

Original comment by mattiasg...@gmail.com on 16 Dec 2014 at 8:26

GoogleCodeExporter commented 9 years ago
DDS is not a supported image format on most browsers. You could try to covert 
dds to jpg, gif or png, then modify corresponding texture references in the mtl 
file.

Original comment by Humu2...@gmail.com on 16 Dec 2014 at 12:52

GoogleCodeExporter commented 9 years ago
i converted to .png and now it works the only problem i have now is that the 
textures doesn't load some times.

Original comment by mattiasg...@gmail.com on 16 Dec 2014 at 3:50

GoogleCodeExporter commented 9 years ago
I guess you need to check the console outputs to see whether the textures are 
loaded without errors. There will be a message each time an image has been 
loaded successfully.

Original comment by Humu2...@gmail.com on 17 Dec 2014 at 1:04