Hello all.
I can not for the life of me figure out how to generate a cubemap using various tools I have found through searching.
Currently I am using
ATI's Cubemapgen to create the image and followed the link
HERE
I follow the steps. Export a .dds. But when loaded into Xoliul's shader, it states that the .dds file is an invalid format. I also don't get a preview of the cubemap that I should see when trying to load the .dds file.
Screen of where I am at.
Just trying to load a generic cubemap at the moment to make sure it works...doesn't...yet.
Any help is appreciated.
Replies
Or it might be that Max is messed up and doesn't load valid DDS files. Can you load one of the DDS files in Max's \maps folder? They ship with a couple DDS cubemaps.
I have used Cubemapgen to get cubemaps into hlsl shaders in maya, but it is a confusing program so im not surprised if people have problems with it.
I updated all my drivers to be safe than did your suggestions.
Loading a cubemap into another directx shader doesn't work. I just can't seem to load ANY .dds. file for some reason.
So it most likely has nothing to do with my workflow, but something to do with my max? I have 64bit 2009 sp1 and an 8800gt, which I thought would support any modern day techniques.
If anyone has suggestions that would be great. Otherwise I will have to figure something else out. I would love to get some of my assets cubemap reflected though.
I take it you have Polyboost installed? It still kills the .dds format for no discernible reason, even though the latest version says that it fixes this bug.
sorry for the hijack , but did you managed to load 128bits hdr maps with cgfx? or just hlsl?
I've never been able to load a linear 32bits per channel in a cgfx (openGl, maya's native) while it works with hlsl in maya (DX)
Interesting, that error you get is the exact one I get when trying to load a .dds into Xoliul's shader.
Can you load a .dds into the material editor at all? Just as a bitmap in a Standard material?
When Polyboost broke mine the option to even load the extension is missing out of the material editor. Whatever Polyboost does to break it could be related to your issue.
Nope I can't.
The thumbnail won't even display when I try to load a .dds. Max doesn't seem to recognize any .dds as a valid...... .dds.
I'm runing in DX9 mode btw, since max for whatever reason can't run in DX10 mode.
@Brice - I don't mind at all, hopefully you find the answer you need.
Yep.
The funny thing is, as you guys are helping me I am scouring the internet to find some solutions and this thread pops up from googles search alot heh.
The closest I think I ever got to fixing it was copying the dxDDS.bmi into the stdplugs folder and then trying to manually load it through the plugins manager. Someone else suggested doing that as a fix that worked for them, but it just gave me a crap load of errors and I ultimately had to re-install Max.
I feel for you having so many issues man. I know what its like.
Eric, not quite sure what you mean by render to dds? I can NOT render to texture as .dds, or just a generic render output to .dds.
I'm pretty close to just clean installing max to see if that fixes it.
Or I could just bite the bullet and get my assets into UE3 and set them up that way.