Page 1 of 1

Bumpmap problem!

Posted: Sat Nov 20, 2010 9:19 pm
by Gamemaker
I don't know what to do... I have read all posts which are related with "bump" or "bumpmapping". I still can't get bumpmapping work. I'm using three textures: BM0_kik.bmp, BMB_kik.bmp and BMS_kik.bmp.

My d3d24.ini:

Code: Select all

[D3D24]
Bpp=16
ZBufferD=16
BBufferCount=1
CompressTextures=1
FSAntiAliasing=0
ExtraTextures=1
NoVsync=1
Async=1
DoNotWait=0

My D3DDRV.Log:

Code: Select all

=================================================================
 D3DDrv 16 Bit v100.3
 Build Date: May 24 2008, Time: 12:45:47
=================================================================

Current Time: 19:57:44
Current Date: 11-20-2010

 ** D3D Driver Initializing **

--- D3DMain_CreateDDFromName ---
  Name: 6 Bit
   DDCAPS2_CANRENDERWINDOWED    : YES
   DDCAPS2_NO2DDURING3DSCENE    : NO
--- D3DMain_GetTextureMemory ---
  Ram free: 298100992
--- D3DMain_RememberOldMode ---
--- D3DMain_EnumDisplayModes ---
--- D3DMain_CreateD3D ---
--- D3DMain_EnumDevices ---
--- D3DMain_SetDisplayMode ---
  W: 1280, H: 800, Bpp: 16, FullScreen: YES
--- D3DMain_PickDevice ---
--- D3DMain_CreateBuffers ---
--- D3DMain_CreateZBuffer ---
--- D3DMain_CreateDevice ---
   Vender ID =   4153
   Device ID =  25425
--- D3DMain_CreateViewPort ---
--- D3DMain_GetSurfaceFormats ---
--- D3DMain_SetRenderState --- 
--- D3DMain_GetTextureMemory ---
  Ram free: 295528672

 ** Initialization was successful **

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

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

Everything seems just to be fine and I don't know what's wrong. BTW I used Texture Image Converter to make maps and I use BM0_kik.bmp on walls and I have all those three (specular, normal and base) textures in my txl file.

Note: I also added that zip file with all three textures of mine. I made them JPG to make filesize smaller ;)

Thank you,
Sander.

Re: Bumpmap problem!

Posted: Sat Nov 20, 2010 10:16 pm
by GMer
I haven't figured out how to use bumpmapping as well. :D
Although I do think that the "C8" gun for third person perspective has it. I think it only had either a "BMS_" or a "BMB_" as a prefix. I can't check at the moment, as I am on a public computer.

Re: Bumpmap problem!

Posted: Sat Nov 20, 2010 10:38 pm
by Gamemaker
If someone can see here actually a bumpmapping, he can call me whatever he wants.

Re: Bumpmap problem!

Posted: Sun Nov 21, 2010 12:32 am
by QuestOfDreams
You are using the DirectX 6 driver. Only the DirectX 7 driver supports bumpmapping.
Also, bump mapping was broken in RF 0.76.0 but was fixed in the 0.76.1 update.

Re: Bumpmap problem!

Posted: Sun Nov 21, 2010 12:43 pm
by Gamemaker
Thank you, QOD, I got this thing work now ;)

Re: Bumpmap problem!

Posted: Sun Nov 21, 2010 1:47 pm
by Gamemaker
Question... Does the bumpmap have to be transparent?...
When I invert colors in BMB, then it's wholly transparent (Barely visible, like glass or something).

Re: Bumpmap problem!

Posted: Sun Nov 21, 2010 5:43 pm
by QuestOfDreams
It should, of course, not be transparent if there's no alpha channel in the texture. Unfortunately I'm not that familiar with the bumpmapping code, so it might take some time to figure out what's going wrong. :|

Re: Bumpmap problem!

Posted: Mon Nov 22, 2010 7:16 am
by Gamemaker
Thanks!