Bump mapping´s problem

Post topics regarding Level Building/Design and Entity Usage with Reality Factory
Post Reply
Alextreme
Posts: 60
Joined: Thu Jun 26, 2008 5:18 pm
Location: Madrid, España

Bump mapping´s problem

Post by Alextreme » Mon Dec 08, 2008 2:04 pm

Hello

I write you because I´ve got a problem whit a bump mapping in RF. I use three textures: BM0_x, BMB_x and BMS_x. I map whit BM0_x texture, but RFEdit compiles bad, don´t compiles whit bump, it compiles BMB_x and the surface whit bump, hasn´t got bump, it has got BMB_x texture.

What do i must?

I´ve got the configurations: d3d24.ini has "ExtraTextures=1" and RealityFactory.ini has "Renderer=hardware" and
"Driver=d3d".

I hope your help. Thanks!

User avatar
paradoxnj
RF2 Dev Team
Posts: 1328
Joined: Wed Mar 01, 2006 7:37 pm
Location: Brick, NJ
Contact:

Re: Bump mapping´s problem

Post by paradoxnj » Mon Dec 08, 2008 2:10 pm

Many Bothans died to bring you this signature....

Alextreme
Posts: 60
Joined: Thu Jun 26, 2008 5:18 pm
Location: Madrid, España

Re: Bump mapping´s problem

Post by Alextreme » Mon Dec 08, 2008 2:49 pm

I can´t put the bump. Look at this pic:

Image

User avatar
paradoxnj
RF2 Dev Team
Posts: 1328
Joined: Wed Mar 01, 2006 7:37 pm
Location: Brick, NJ
Contact:

Re: Bump mapping´s problem

Post by paradoxnj » Mon Dec 08, 2008 3:11 pm

You should be using BM0_x not BMB_x. BMB_x is the bump map. You need to rename your base texture to BM0_x.bmp then apply it to the brush face.

MOD: Moved to Level Design forum
Many Bothans died to bring you this signature....

Alextreme
Posts: 60
Joined: Thu Jun 26, 2008 5:18 pm
Location: Madrid, España

Re: Bump mapping´s problem

Post by Alextreme » Mon Dec 08, 2008 3:28 pm

Loock the problem:

Image

User avatar
paradoxnj
RF2 Dev Team
Posts: 1328
Joined: Wed Mar 01, 2006 7:37 pm
Location: Brick, NJ
Contact:

Re: Bump mapping´s problem

Post by paradoxnj » Mon Dec 08, 2008 4:24 pm

Do you have a light near it? Did you read my post and follow the directions exactly.
Bump mapping for the world is fairly simple. You need to do the following:

1. Name your base texture as BM0_<Name>.bmp (e.g. BM0_Pavement.bmp)
2. Name your greyscale bump map as BMB_<Name>.bmp (e.g BMB_Pavement.bmp)
3. Name your specular map as BMS_<Name>.bmp (e.g. BMS_Pavement.bmp)
4. Add a light to the room where you are using the texture. (Bump mapping works from lighting)
5. In d3d24.ini, set ExtraTextures to 1

All textures should be added to your TXL. Then just add the BM0_Pavement.bmp to your poly.
Many Bothans died to bring you this signature....

User avatar
paradoxnj
RF2 Dev Team
Posts: 1328
Joined: Wed Mar 01, 2006 7:37 pm
Location: Brick, NJ
Contact:

Re: Bump mapping´s problem

Post by paradoxnj » Mon Dec 08, 2008 4:40 pm

Please post your D3DDrv.log file also. It is a possibility that your video card does not support bump mapping.
Many Bothans died to bring you this signature....

Alextreme
Posts: 60
Joined: Thu Jun 26, 2008 5:18 pm
Location: Madrid, España

Re: Bump mapping´s problem

Post by Alextreme » Mon Dec 08, 2008 5:02 pm

I did read your last post. I don´t use specular but I use normal "BMB" and I put a light near the brush. In the level I use the BM0 texture to the wall, but don´t see BM0 in the pic, I see BMB.

Thanks for the help: D3DDrv:

--- D3DMain_CreateZBuffer ---
EnumZBufferFormats: StencilBitDepth>=8... can do 8bit stencil buffer
ZBuffer Depth Available: 16-bit (YES), 24-bit (NO), 32-bit (NO),
ZBuffer Depth: 16, ZBuffer in Video: YES
--- D3DMain_CreateDevice ---
Vender ID = 4098
Device ID = 38145
--- D3DMain_CreateViewPort ---
--- D3DMain_GetSurfaceFormats ---
EnumTextureFormatsCallback: 16, A:0, R:7c00, G:3e0, B:1f / 16, U:7c00, V:3e0, 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: 16, A:0, R:f800, G:7e0, B:1f / 16, U:f800, V:7e0, L:1f / 4CC:0 Texture Support Found
EnumTextureFormatsCallback: 16, A:0, R:f00, G:f0, B:f / 16, U:f00, V:f0, L:f / 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: 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: 8, A:0, R:ff, G:0, B:0 / 8, U:ff, V:0, L:0 / 4CC:0 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
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
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: 1052508128

** Initialization was successful **

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

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

User avatar
paradoxnj
RF2 Dev Team
Posts: 1328
Joined: Wed Mar 01, 2006 7:37 pm
Location: Brick, NJ
Contact:

Re: Bump mapping´s problem

Post by paradoxnj » Mon Dec 08, 2008 7:01 pm

D3DMain_GetSurfaceFormats: Unable to find a 888 (24-bit) texture support.
D3DMain_GetSurfaceFormats: Unable to find 888 (24-bit) bump map support.
Your card does not support bump mapping. In addition, normal maps do not work on world geometry, you have to use greyscale bump maps.
Many Bothans died to bring you this signature....

Alextreme
Posts: 60
Joined: Thu Jun 26, 2008 5:18 pm
Location: Madrid, España

Re: Bump mapping´s problem

Post by Alextreme » Mon Dec 08, 2008 7:25 pm

My graphic card suports normal map, is of nextgen, and I see normal maps in much of the games of mi PC for example Crysis, Assasins Creed... etc. And I can see normal in another games made in Reality Factory.

My graphic card is ATI Radeon HD 3870 512 Mb DDR4

User avatar
paradoxnj
RF2 Dev Team
Posts: 1328
Joined: Wed Mar 01, 2006 7:37 pm
Location: Brick, NJ
Contact:

Re: Bump mapping´s problem

Post by paradoxnj » Mon Dec 08, 2008 8:23 pm

Hmmm...it doesn't seem to support EMBM. RF bump mapping for the world is EMBM. Normal mapping (DOT3) is different from EMBM.
Many Bothans died to bring you this signature....

User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Re: Bump mapping´s problem

Post by Juutis » Mon Dec 08, 2008 10:03 pm

I had a similar problem when I tried to bump map my world geometry. Made a cube and applied the texture to it, and the result was something really weird. Two sides of the cube had the correct texture with bumps, two sides had only the greyscale texture and two sides had the diffuse texture. I struggled with it for a couple of days and never fixed it. I haven't used bump mapping ever since.
Pain is only psychological.

User avatar
Zidane
Posts: 153
Joined: Mon Feb 11, 2008 1:21 am
Location: Spain

Re: Bump mapping´s problem

Post by Zidane » Mon Dec 08, 2008 10:08 pm

Juutis wrote:I had a similar problem when I tried to bump map my world geometry. Made a cube and applied the texture to it, and the result was something really weird. Two sides of the cube had the correct texture with bumps, two sides had only the greyscale texture and two sides had the diffuse texture. I struggled with it for a couple of days and never fixed it. I haven't used bump mapping ever since.
This is a Genesis3D bug

Alextreme
Posts: 60
Joined: Thu Jun 26, 2008 5:18 pm
Location: Madrid, España

Re: Bump mapping´s problem

Post by Alextreme » Mon Jan 12, 2009 9:16 pm

Yes yes, but reliably I can to do another thing tu repair this problem.

Y put the tree textures but when I compilate I didn´t can to see the bump mapping, I only see the BM0 Texture...

I think if I reinstall RF I will get solucionate the problem

Help please!

Post Reply