Bumpmap problem!

Post topics regarding Level Building/Design and Entity Usage with Reality Factory
Post Reply
User avatar
Gamemaker
Posts: 266
Joined: Fri Aug 08, 2008 3:00 pm
Location: Estonia
Contact:

Bumpmap problem!

Post by Gamemaker » Sat Nov 20, 2010 9:19 pm

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.
Attachments
bumpmap.zip
Textures.
(210.86 KiB) Downloaded 46 times

User avatar
GMer
Posts: 329
Joined: Thu Oct 25, 2007 4:49 pm
Location: On the rock in the 3rd solar orbit.

Re: Bumpmap problem!

Post by GMer » Sat Nov 20, 2010 10:16 pm

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.
Over 3 years (has it been that long?) and just now I noticed the day and month of my birthday were switched. Whoops!

Some 2d games I made, haven't made anything in a year though O.o
http://www.yoyogames.com/users/GMer56

User avatar
Gamemaker
Posts: 266
Joined: Fri Aug 08, 2008 3:00 pm
Location: Estonia
Contact:

Re: Bumpmap problem!

Post by Gamemaker » Sat Nov 20, 2010 10:38 pm

If someone can see here actually a bumpmapping, he can call me whatever he wants.
Attachments
damn.jpg
(89.46 KiB) Not downloaded yet

User avatar
QuestOfDreams
Site Admin
Posts: 1520
Joined: Sun Jul 03, 2005 11:12 pm
Location: Austria
Contact:

Re: Bumpmap problem!

Post by QuestOfDreams » Sun Nov 21, 2010 12:32 am

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.

User avatar
Gamemaker
Posts: 266
Joined: Fri Aug 08, 2008 3:00 pm
Location: Estonia
Contact:

Re: Bumpmap problem!

Post by Gamemaker » Sun Nov 21, 2010 12:43 pm

Thank you, QOD, I got this thing work now ;)

User avatar
Gamemaker
Posts: 266
Joined: Fri Aug 08, 2008 3:00 pm
Location: Estonia
Contact:

Re: Bumpmap problem!

Post by Gamemaker » Sun Nov 21, 2010 1:47 pm

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).
Attachments
BMB_brick.jpg
(115.6 KiB) Not downloaded yet
wtf.jpg
wtf.jpg (127.73 KiB) Viewed 1847 times

User avatar
QuestOfDreams
Site Admin
Posts: 1520
Joined: Sun Jul 03, 2005 11:12 pm
Location: Austria
Contact:

Re: Bumpmap problem!

Post by QuestOfDreams » Sun Nov 21, 2010 5:43 pm

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. :|

User avatar
Gamemaker
Posts: 266
Joined: Fri Aug 08, 2008 3:00 pm
Location: Estonia
Contact:

Re: Bumpmap problem!

Post by Gamemaker » Mon Nov 22, 2010 7:16 am

Thanks!

Post Reply