Page 1 of 1

Bumpmap will not work for me!

Posted: Fri Nov 06, 2009 4:13 am
by GMer
Tried searching, found squat (actually, I found diddley squat. I wish I found squat)
When I try following the directions for making bumpmaps on an actor, the maps won't render.
I add the materials as "extra materials" in actor studio and name them exactly as they appear in their filename. I make the normal map in GIMP (where it looks good), and create a bumpmap by turning the picture grayscale and inverting the colors.

I have a video card memory of 128 mb, and Direct X 7,8, and 9 tests were successful, as well as direct draw tests.

Here is my D3DDrv.log

Code: Select all

=================================================================
 D3DDrv v100.3
 Build Date: May 24 2008, Time: 13:15:45
=================================================================

Current Time:  2:54:19
Current Date: 11- 6-2009

 ** D3D Driver Initializing **

--- D3DMain_CreateDDFromName ---
  Name: Primary Display Driver
   DDCAPS2_CANRENDERWINDOWED    : YES
   DDCAPS2_NO2DDURING3DSCENE    : NO
   DDCAPS2_FLIPNOVSYNC          : YES
--- D3DMain_GetTextureMemory ---
  Ram free: 123645952
--- D3DMain_RememberOldMode ---
--- D3DMain_EnumDisplayModes ---
--- D3DMain_CreateD3D ---
--- D3DMain_EnumDevices ---
--- D3DMain_SetDisplayMode ---
  W: 1024, H: 768, Bpp: 32, FullScreen: YES
--- D3DMain_PickDevice ---
    D3DTEXOPCAPS_BUMPENVMAP      : YES
 D3DTEXOPCAPS_BUMPENVMAPLUMINANCE: YES
   D3DTEXOPCAPS_DOTPRODUCT3     : YES
--- D3DMain_CreateBuffers ---
    Back Buffer Count = 1 
--- D3DMain_CreateZBuffer ---
EnumZBufferFormats:  StencilBitDepth>=8... can do 8bit stencil buffer
   ZBuffer Depth Available: 16-bit (YES), 24-bit (YES), 32-bit (NO),
   ZBuffer Depth: 16, ZBuffer in Video: YES
--- D3DMain_CreateDevice ---
   Vender ID =  32902
   Device ID =  10146
--- D3DMain_CreateViewPort ---
--- D3DMain_GetSurfaceFormats ---
EnumTextureFormatsCallback: 16, A:0, R:f800, G:7e0, B:1f / 16, U:f800, V:7e0, L:1f / 4CC:0 Texture Support Found
EnumTextureFormatsCallback: 16, A:8000, R:7c00, G:3e0, B:1f / 16, U:7c00, V:3e0, L:1f / 4CC:0 Texture Support Found
EnumTextureFormatsCallback: 16, A:f000, R:f00, G:f0, B:f / 16, U:f00, V:f0, L:f / 4CC:0 Texture Support Found
EnumTextureFormatsCallback: 32, A:0, R:ff0000, G:ff00, B:ff / 32, U:ff0000, V:ff00, L:ff / 4CC:0 Texture Support Found
EnumTextureFormatsCallback: 32, A:ff000000, R:ff0000, G:ff00, B:ff / 32, U:ff0000, V:ff00, L:ff / 4CC:0 Texture Support Found
EnumTextureFormatsCallback: 16, A:ff00, R:ff, G:0, B:0 / 16, U:ff, V:0, L:0 / 4CC:0 Texture Support Found
EnumTextureFormatsCallback: 8, A:0, R:ff, G:0, B:0 / 8, U:ff, V:0, L:0 / 4CC:0 Texture Support Found
EnumTextureFormatsCallback: 8, A:ff, R:0, G:0, B:0 / 8, U:0, V:0, L:0 / 4CC:0 Texture Support Found
EnumTextureFormatsCallback: 8, A:f0, R:f, G:0, B:0 / 8, U:f, V:0, L:0 / 4CC:0 Texture Support Found
EnumTextureFormatsCallback: 16, A:0, R:ff, G:ff00, B:0 / 16, U:ff, V:ff00, L:0 / 4CC:0 Texture Support Found
EnumTextureFormatsCallback: 16, A:0, R:1f, G:3e0, B:fc00 / 16, U:1f, V:3e0, L:fc00 / 4CC:0 Texture Support Found
EnumTextureFormatsCallback: 32, A:0, R:ff, G:ff00, B:ff0000 / 32, U:ff, V:ff00, L:ff0000 / 4CC:0 Texture Support Found
EnumTextureFormatsCallback: 0, A:0, R:0, G:0, B:0 / 0, U:0, V:0, L:0 / 4CC:32595559 Texture Support Found
EnumTextureFormatsCallback: 0, A:0, R:0, G:0, B:0 / 0, U:0, V:0, L:0 / 4CC:59565955 Texture Support Found
EnumTextureFormatsCallback: 0, A:0, R:0, G:0, B:0 / 0, U:0, V:0, L:0 / 4CC:31545844 Texture Support Found
EnumTextureFormatsCallback: 0, A:0, R:0, G:0, B:0 / 0, U:0, V:0, L:0 / 4CC:32545844 Texture Support Found
EnumTextureFormatsCallback: 0, A:0, R:0, G:0, B:0 / 0, U:0, V:0, L:0 / 4CC:33545844 Texture Support Found
EnumTextureFormatsCallback: 0, A:0, R:0, G:0, B:0 / 0, U:0, V:0, L:0 / 4CC:34545844 Texture Support Found
EnumTextureFormatsCallback: 0, A:0, R:0, G:0, B:0 / 0, U:0, V:0, L:0 / 4CC:35545844 Texture Support Found
EnumSurfaceFormatsCallback: 32, A:0, R:8, G:ffffff, B:ff000000 Texture Support Found
EnumSurfaceFormatsCallback: 32, A:0, R:8, G:ffffff, B:ff000000 Texture Support Found
EnumSurfaceFormatsCallback: 32, A:ff000000, R:ff0000, G:ff00, B:ff Texture Support Found
EnumSurfaceFormatsCallback: 32, A:ff000000, R:ff0000, G:ff00, B:ff Texture Support Found
D3DMain_GetSurfaceFormats:  Unable to find a 888 (24-bit) texture support.
D3DMain_GetSurfaceFormats:  Unable to find 888 (24-bit) bump map support.
--- D3DMain_SetRenderState --- 
--- D3DMain_GetTextureMemory ---
  Ram free: 97267712

 ** Initialization was successful **

THandle_CheckCache:  Resetting texture cache...
   NO 3dfx card detected, using larger number of handles...
THandle_CheckCache:  Resetting texture cache...
   NO 3dfx card detected, using larger number of handles...
THandle_CheckCache:  Resetting texture cache...
   NO 3dfx card detected, using larger number of handles...

--- D3DMain_ShutdownD3D ---
  Shutdown was successful...

When I put the model in the game, I put a light within 128 textels of the model, it looks no different from than it looks without the normal or bump map being applied.

Re: Bumpmap will not work for me!

Posted: Fri Nov 06, 2009 5:08 am
by zany_001
It's pretty simple. RF hates you.

But seriously, try making the texture something less than 24bit.

Re: Bumpmap will not work for me!

Posted: Fri Nov 06, 2009 5:11 am
by darksmaster923
Are you sure it was a dynamic light that they were near? RF isn't cool in the fact that you have to have a dynamic light for bumpmaps. Unfortunately, I've never had any luck with actors having bumpmaps. Always came out blackish and horrible looking

Re: Bumpmap will not work for me!

Posted: Fri Nov 06, 2009 2:01 pm
by GMer
I think it is my computer that doesn't like me. :lol:
I tried something less than 24 bit -16 bit- but when I save it using GIMP, a few little black dots appear in the corner, and Gmax doesn't like that for some reason. 256 colors (8 bit, right?) will just look weird. Oddly enough, my vista tower (which is a few years newer than my laptop) has the same graphics capabilities: can't support 24-bit bumpmaps. I'll have to try it on my XP tower (which has a better graphics card, and is from 2004-ish) :shock:
I use just a plain "light" entity.

Re: Bumpmap will not work for me!

Posted: Fri Nov 06, 2009 2:06 pm
by paradoxnj
It sounds like you are adding bump maps to the actors. Did you name them as they should be? Check the manual for the correct naming scheme.

Re: Bumpmap will not work for me!

Posted: Fri Nov 06, 2009 2:08 pm
by Jay
Also, what kind of Bumpmapping are you trying to use? DOT3 or EMBM?

Re: Bumpmap will not work for me!

Posted: Fri Nov 06, 2009 6:37 pm
by GMer
I tried dot3 and emb. Under extra materials I named them as they should be (as stated in the manual), as well as the actual file names.
*edit* if I open the actor file using equity, I should see the textures under the "artwork" column, am I correct? Because I do not see them there. :?
*edit2* I tried bumpmapping with environmental textures (using the texture image converter), but they show up pure black (with no lighting on them)