An odd bumpmapping problem

Post topics regarding Level Building/Design and Entity Usage with Reality Factory
Post Reply
User avatar
GMer
Posts: 329
Joined: Thu Oct 25, 2007 4:49 pm
Location: On the rock in the 3rd solar orbit.

An odd bumpmapping problem

Post by GMer » Sun Feb 07, 2010 8:55 pm

Latest version of Reality Factory, here is my D3DDrv.Log:

Code: Select all

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

Current Time: 19:44:27
Current Date:  2- 7-2010

 ** D3D Driver Initializing **

--- D3DMain_CreateDDFromName ---
  Name: Primary Display Driver
   DDCAPS2_CANRENDERWINDOWED    : YES
   DDCAPS2_NO2DDURING3DSCENE    : NO
   DDCAPS2_FLIPNOVSYNC          : YES
--- D3DMain_GetTextureMemory ---
  Ram free: 62912512
--- D3DMain_RememberOldMode ---
--- D3DMain_EnumDisplayModes ---
--- D3DMain_CreateD3D ---
--- D3DMain_EnumDevices ---
--- D3DMain_SetDisplayMode ---
  W: 800, H: 600, 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 =  10818
--- 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:0, 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: 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:56555941 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:0, R:ff0000, G:ff00, B:ff Texture Support Found
EnumSurfaceFormatsCallback: 32, A:0, 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: 61348864

 ** Initialization was successful **

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

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

But All I get is this:

Image

these are the textures I'm using:

Image

Image


Image

Could they be too big?
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
paradoxnj
RF2 Dev Team
Posts: 1328
Joined: Wed Mar 01, 2006 7:37 pm
Location: Brick, NJ
Contact:

Re: An odd bumpmapping problem

Post by paradoxnj » Mon Feb 08, 2010 12:46 am

Bumpmapping for the world is not done using normal maps. You have to use a greyscale bump map. You have to name them using specific prefixes.

BM0_ = Main texture
BMB_ = Bump map
BMS_ = Specular

You must apply the BM0_ texture to the poly for bump mapping to work properly. If you have done all this, make sure your textures are a power of 2 and are square (e.g 256x256). The largest you can use is 256x256.
Many Bothans died to bring you this signature....

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

Re: An odd bumpmapping problem

Post by GMer » Mon Feb 08, 2010 4:47 pm

So for BMS_filename.bmp I make it greyscale?
I'll try it with smaller textures, too.
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
bernie
RF Moderator
Posts: 1249
Joined: Tue Nov 15, 2005 10:07 am
Location: Ireland

Re: An odd bumpmapping problem

Post by bernie » Mon Feb 08, 2010 6:00 pm

The BMS map is the specular map not the bumpmap. The Bumpmap is the BMB that needs to be Greyscale.

Post Reply