problems with bumpmapping

Post topics regarding Level Building/Design and Entity Usage with Reality Factory
Post Reply
madrabbit
Posts: 2
Joined: Tue Sep 27, 2005 11:51 am

problems with bumpmapping

Post by madrabbit »

first of all: its my first post here, hello community ;)

currently i make some tests with bump mapped brushes, but it doesnt work.
in my txl file are the colortex (BM0_TEST.bmp) and the bumptex (BMB_TEST.bmp). the colortex is applied. over the brush i placed a dynamic light. after the level is compiled the bumptex is displayed instead the colortex and no bumpeffect is to be seen.
in the d3d24.ini i tried extra textures = 1 but with the same result.
the d3ddrv.log says the following:
D3DTEXOPCAPS_BUMPENVMAP : YES
D3DTEXOPCAPS_BUMPENVMAPLUMINANCE: YES
D3DTEXOPCAPS_DOTPRODUCT3 : YES
dot3 and embm should work.
but this looks odd?
D3DMain_GetSurfaceFormats: Unable to find a 888 (24-bit) texture support.
D3DMain_GetSurfaceFormats: Unable to find 888 (24-bit) bump map support.
i use the Reality Factory 0.72A - Main Installer
my graphicscard is a radeon 9600 xt

best regards
mad
Jay
RF Dev Team
Posts: 1232
Joined: Fri Jul 08, 2005 1:56 pm
Location: Germany

Post by Jay »

EMBM
There are THREE textures needed for a bumpmap:

BM0_texture Base texture
BMB_texture Highmap texture
BMS_texture Specular map

The BMS_texture can look exactly like the BM0_texture but it is needed. You could have 'special' effects like gold that is only golden when light shines on it if the BMS has another color than the BM0 texture. (could be wrong though, i must admit my graphics card does not support EMBM)

By the way i don't know if dot3 works for level geometry as well. I know that EMBM does.
Everyone can see the difficult, but only the wise can see the simple.
-----
madrabbit
Posts: 2
Joined: Tue Sep 27, 2005 11:51 am

Post by madrabbit »

dot3 works only with actors.
i added a specular-tex, but this fixes not the problem.
btw. i reduced the colordepth to 8 bit ( 24bit texture support/bump map support unable to find)
the result is the same ;(

regards mad
hike1
RF FAQ-Keeper
Posts: 607
Joined: Tue Jul 05, 2005 4:19 am
Contact:

Post by hike1 »

bumptex is displayed instead the colortex and no bumpeffect is to be seen.

I get the same thing, also my dot3 example cube disappears
suddenly, so I don't use it. The dot3 stuff Wxb1 and Pickles made
seems to work though.
User avatar
Microman171
Posts: 167
Joined: Sat Jul 09, 2005 3:45 am
Location: New Zealand

Post by Microman171 »

Speaking of Pickles where did he go?? He was another programmer that can help us (I thinnk) so with the combined efforts of all of our programmers we could get the new release coming out a little sooner.
(\/)
(Oo)
(><)

Help this bunny in his world domination by putting him in your sig.
User avatar
AndyCR
Posts: 1449
Joined: Wed Jul 06, 2005 5:08 pm
Location: Colorado, USA
Contact:

Post by AndyCR »

hes here as guest from time to time, he from what i remember is making "RF2000"
wxb1
RF Dev Team
Posts: 69
Joined: Thu Jul 14, 2005 8:31 pm

Post by wxb1 »

EMBM can work with lightmaps in which case you can exclude the third texture... It's always been a little funky with lightmaps so I can understand why people don't use it... It takes a little too much work to get it to look good right in it's current form... One of these days I will fix it I just don't know when :)... You can however use all 3 textures with good results if you understand how it works...

My time is so limited these days that I'm personally working on some things that I would like to see in my own game which is specular effects and dot3 for the world... I'm hoping I can actually create a game with RF in the next 3-4 months if time permits...

So in some shape or fashion I'm working on the following for RF:

1) multi-texturing (done not ported to latest RF)
2) dynamic EMBM (done not ported to latest RF)
3) dot3 for world objects (in progress)
4) specular effects (not tested)
5) better support for map files from Truegene (in progress)


Anyways... If you post a small level with the textures I can probably tell you what you are doing wrong... But I must admit EMBM /w lightmaps doesn't work as well as it should...
hike1
RF FAQ-Keeper
Posts: 607
Joined: Tue Jul 05, 2005 4:19 am
Contact:

Post by hike1 »

Wendell,
From what I read EMBM isn't really for bumpmapping, it's for
shiny things? If you or anyone want to post some correct textures,
we can just copy them. I thought DOT3 was the main way to
do bumpmapping?
wxb1
RF Dev Team
Posts: 69
Joined: Thu Jul 14, 2005 8:31 pm

Post by wxb1 »

well... that's true... it's for shiny bumpy things mostly... I don't think people should really use it with lightmaps as I said... it's very hard to get to look right and the intention was for it to be easy... so I didn't succeed there... I'll post some bitmaps but it will most likely be ones you've probably already seen before...
GD1
Posts: 413
Joined: Tue Jul 05, 2005 2:33 pm

Post by GD1 »

I agree, it took me at least 2 weeks to make this bumpmap im about to post and it still doesn't look that great.

anyways, heres an example that i've posted before. feel free to use it in any way you want. use a lightmap scale of between 1 and 2 for the best look.
Attachments
EMBM example.zip
(55.41 KiB) Downloaded 153 times
Check out my band
Tougher Than Fort Knox
Image
Veleran
Posts: 900
Joined: Mon Aug 22, 2005 10:22 am
Location: Greece

Post by Veleran »

The dot3 for world objects,will keep the lightmap shadows?
wxb1
RF Dev Team
Posts: 69
Joined: Thu Jul 14, 2005 8:31 pm

Post by wxb1 »

Yes... right now I believe it will...
Post Reply