bump mapping

Post topics regarding Level Building/Design and Entity Usage with Reality Factory
User avatar
darksmaster923
Posts: 1857
Joined: Wed Jan 03, 2007 10:32 pm
Location: Huntington Beach, California, USA

Post by darksmaster923 »

im addeing to level geometry so i should add a alpha map?
Herp derp.
User avatar
jonas
Posts: 779
Joined: Tue Jul 05, 2005 5:43 pm
Location: Texas, USA
Contact:

Post by jonas »

Well all the alpha map does is allow you to make transparent areas. I'm not sure if there is a way to put a bump map on level geometry or not. One sure way of getting this to work is by using an actor, and then naming your textures like...
The code looks for "BM0_" as your actors are being loaded. If it sees this string,
it attempts to create a bumpmap texture. Remember, you must have all three
materials for actors in order for bumpmapping to work. The "BMB_XXXX"
material is used as basically a height map, and the "BMS_XXXX" material
actually acts as a light. Without the "BMS_XXXX" material, you effectively have
no light and therefore don't have a bump map effect.
Jonas

Focused, hard work is the real key to success. Keep your eyes on the goal, and just keep taking the next step towards completing it. If you aren't sure which way to do something, do it both ways and see which works better. - John Carmack
User avatar
Spyrewolf
Posts: 450
Joined: Tue Jul 05, 2005 4:53 am
Location: Wellington::New Zealand

Post by Spyrewolf »

What?!? no,

bumpmaps don't need alpha's your still doing something wrong here, i'd say darken the gray scale again if it still does not work, bumps have to be really subtle,

post the texture you use for bumping. so i can have a look at it.
User avatar
darksmaster923
Posts: 1857
Joined: Wed Jan 03, 2007 10:32 pm
Location: Huntington Beach, California, USA

Post by darksmaster923 »

here
Image
Herp derp.
User avatar
Spyrewolf
Posts: 450
Joined: Tue Jul 05, 2005 4:53 am
Location: Wellington::New Zealand

Post by Spyrewolf »

Way too bright, those light gray area's stuffing you up,

i've looked at the two images, the one of your bump and the one of your screen the highest point(the lightest shade of gray) should be the the shadow colour in the indented bricks below the window, everything else lighter than that will not show up, you can see that from the screen you posted.

from what i can see. the texture is only show through the where the shadows are.

Just darken you grayscale
User avatar
darksmaster923
Posts: 1857
Joined: Wed Jan 03, 2007 10:32 pm
Location: Huntington Beach, California, USA

Post by darksmaster923 »

it works, but its not really bump mapped. just looks a little different.
Herp derp.
User avatar
zany_001
Posts: 1047
Joined: Fri Mar 02, 2007 8:36 am
Location: Aotearoa

Post by zany_001 »

can u show a pic please?and my own questio9n isdoes rf support normal maps?
Once I was sad, and I stopped being sad and was awesome instead.
True story.
User avatar
Spyrewolf
Posts: 450
Joined: Tue Jul 05, 2005 4:53 am
Location: Wellington::New Zealand

Post by Spyrewolf »

isdoes rf support normal maps?
yes reality factory "isdoes". :P
rf supports normal maps, but only on actors, don't ask me how i'll, just point you at the instructions it's all there. ':o
t works, but its not really bump mapped. just looks a little different.
yep unfortuately it's a fineline here, my best advise for you,
if the player is not going to enter the building(physically) make the actor a Static entity mesh use normal maps as they give far superior lighting for bumpmaps IMO

if you have access to photoshop, download the Nvida normalmap plugin not the best technique but you can create better normal from gray scale heightmaps.
if not, well im not sure but im sure that there are plenty of free heightmap to normal map convertors on the web.
User avatar
zany_001
Posts: 1047
Joined: Fri Mar 02, 2007 8:36 am
Location: Aotearoa

Post by zany_001 »

also theres a gimp normal map plugin.pity about only on actors,but oh well
Once I was sad, and I stopped being sad and was awesome instead.
True story.
User avatar
Spyrewolf
Posts: 450
Joined: Tue Jul 05, 2005 4:53 am
Location: Wellington::New Zealand

Post by Spyrewolf »

pity about only on actors,but oh well
well not really, act's have better lighting in general, also they can projected shadows which are better than BSP IMO, the other advantage to using act's is the fact that you have greater control over the polycount, you can choose what is shown or what is hidden. in bsp it's a bit more of guess work.
User avatar
zany_001
Posts: 1047
Joined: Fri Mar 02, 2007 8:36 am
Location: Aotearoa

Post by zany_001 »

yeah,tru,and id prefer to model everything.is there support for .map,cos last i heard it didnt work properly.
Once I was sad, and I stopped being sad and was awesome instead.
True story.
User avatar
Spyrewolf
Posts: 450
Joined: Tue Jul 05, 2005 4:53 am
Location: Wellington::New Zealand

Post by Spyrewolf »

nah .map wont work, this will still generate BSP's you need to have them as .act's and make them either SEP's or staticmeshes (dependant of their functionality) beware the Staticmesh lighting is borked however you can have the bst of both worlds, by having a a SEP for lighting (visible) and an invisible static mesh (for collision)
User avatar
zany_001
Posts: 1047
Joined: Fri Mar 02, 2007 8:36 am
Location: Aotearoa

Post by zany_001 »

k thnx.also how do u use normal maps and bump maps,cos dont u have to define two textures?
Once I was sad, and I stopped being sad and was awesome instead.
True story.
User avatar
Spyrewolf
Posts: 450
Joined: Tue Jul 05, 2005 4:53 am
Location: Wellington::New Zealand

Post by Spyrewolf »

don't ask me how i'll, just point you at the instructions it's all there
WHAD-DID-I-SAY!!!!!! :roll:
User avatar
zany_001
Posts: 1047
Joined: Fri Mar 02, 2007 8:36 am
Location: Aotearoa

Post by zany_001 »

soz,but i cant find about normal maps,just bump m,aps.
Once I was sad, and I stopped being sad and was awesome instead.
True story.
Post Reply