I can't get bumpmapping to work

Discuss any other topics here
User avatar
bernie
RF Moderator
Posts: 1249
Joined: Tue Nov 15, 2005 10:07 am
Location: Ireland

I can't get bumpmapping to work

Post by bernie »

No matter which driver I use the base texture only is displayed :(
My d3d24.ini file is set as below:
[D3D24]
Bpp = 32
ZBufferD = 24
BBufferCount = 1
CompressTextures = 0
FSAntiAliasing = 0
ExtraTextures = 1
NoVsync = 0
Async = 1
DoNotWait = 0
My graphics card (Nvidia gforce 6800 dual graphics card 256mb ram) supports both dot3 and EMBM bump mapping and displays proper bumpmapping in crazybump, 3d brush and neoaxis but only shows the base texture in RF.
My PC is running winxp pro sp2 on 2gb of ram with intel dual core 3.06 ghz processor.
The .act file has base texture BM0_tex.bmp, specular BMS_tex.bmp and normal map BMB_tex.bmp.
I have also tried dot3 BN0_tex.bmp, BNS_tex.bmp and BNB_tex.bmp

I have never seen bumpmapping work in RF but I know it does support it. Is there something I am missing in the setup?

Any ideas on how to make it work in RF anyone?
Has anyone got bumpmapping to work in RF, if so how?
Last edited by bernie on Thu Feb 21, 2008 4:03 pm, edited 1 time in total.
User avatar
Zidane
Posts: 153
Joined: Mon Feb 11, 2008 1:21 am
Location: Spain

Re: I can't get bumpmapping to work

Post by Zidane »

In your file RealityFactory.ini, you write driver d3d (not d3d16).
Act models works with textures BN0_, etc not BM0. The BM0, etc textures is for brushes.
User avatar
bernie
RF Moderator
Posts: 1249
Joined: Tue Nov 15, 2005 10:07 am
Location: Ireland

Re: I can't get bumpmapping to work

Post by bernie »

According to the docs actors can use either dot3 or EMBM ie. BN0_ etc or BM0_ etc.
Reality Factory currently uses EMBM bumpmapping for levels and actors and dot3 for actors.
However I tried both and neither work for me.
My RF ini file is as you said see below:
;
; RealityFactory.INI - RealityFactory Initialization file
;
; Created by IniEditor
;

;
; GameName defines the name of the game
;

GameName=RealityFactory Demo

;
; PlayerName defines the name of the player
;

PlayerName=Unnamed

;
; PlayerAvatar defines the player actor
;

PlayerAvatar=virgil.act

;
; Define the menu initialization file
;

Menu=menu.ini

;
; Define the virtual pack file
;

PackFile=pack.vfs

;
; Define the starting level
;

StartLevel=basic.bsp

;
; Define the directories
;

LevelDirectory=media\levels
BitmapDirectory=media\bitmaps
ActorDirectory=media\actors
AudioDirectory=media\audio
AudioStreamDirectory=media\audio
VideoDirectory=media\video
MIDIDirectory=media\midi

;
; Set Weapon Positioning
;

WeaponPosition=Off

;
; Set UseDialog
;

UseDialog=false

;
; Set ShowTrack
;

ShowTrack=false

;
; Fullscreen tells the engine to go full-screen or not
;

FullScreen=true

;
; Width is the width of the game display
;

Width=1024

;
; Height is the height of the game display
;

Height=768

;
; Renderer is the renderer to use, HARDWARE or SOFTWARE
;
;

Renderer=hardware

;
; Driver tells the system which driver to use
;
;

Driver=d3d

;
; Set UseCharSelect
;

UseCharSelect=true

;
; Set UseNameSelect
;

UseNameSelect=true

;
; Set UseDifficultLevel
;

UseDifficultLevel=false

;
; Set UseFirst
;

UseFirst=false

;
; Set UseCutScene
;

UseCutScene=false

;
; SplashScreen defines the splash screen to use
;

SplashScreen=

;
; SplashAudio defines the splash screen audio to use
;

SplashAudio=

;
; CutScene defines the cut scene to use
;

CutScene=rfsplash.avi

;
; Set UseSecond
;

UseSecond=false

;
; Set UseCutScene1
;

UseCutScene1=false

;
; SplashScreen defines the splash screen to use
;

SplashScreen1=

;
; SplashAudio defines the splash screen audio to use
;

SplashAudio1=

;
; CutScene defines the cut scene to use
;

CutScene1=

;
; Default Difficulty Level
;

DefaultDifficulty=1

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

Re: I can't get bumpmapping to work

Post by Zidane »

You must texturized your level with the BM0_ textures, the engine find the BMB and the specular BMS textures.

In my game, i use dot 3 for actors and enviromental for brushes:

http://img170.imageshack.us/my.php?imag ... 000eq6.jpg
http://img148.imageshack.us/my.php?imag ... 005ci8.jpg
http://img136.imageshack.us/my.php?imag ... 001cy1.jpg
User avatar
paradoxnj
RF2 Dev Team
Posts: 1328
Joined: Wed Mar 01, 2006 7:37 pm
Location: Brick, NJ
Contact:

Re: I can't get bumpmapping to work

Post by paradoxnj »

Wow...nice screens. What kind of game is it?
Many Bothans died to bring you this signature....
User avatar
fps
Posts: 504
Joined: Mon Sep 26, 2005 9:54 pm
Location: in a magical land devoid of hope, happiness, and sanity.

Re: I can't get bumpmapping to work

Post by fps »

this game looks really good. and you really bumpmapped the living cr@p out of everything.
err. i think so anyways.
i a pretty sure bumpmapping is use to make 2 dimentions look like it has three. am I right?
could someone point me to a reliable artical. now you guys got me interested.
oh and also. how well do those high detail leves run on your computer?
1 wrote:
for the internet is a cruel and dark place at times, and there's sex and blood everywhere.

2 wrote:
You say that like it's a bad thing.

1 wrote:
You are a bad thing.
User avatar
darksmaster923
Posts: 1857
Joined: Wed Jan 03, 2007 10:32 pm
Location: Huntington Beach, California, USA

Re: I can't get bumpmapping to work

Post by darksmaster923 »

Zidane wrote:You must texturized your level with the BM0_ textures, the engine find the BMB and the specular BMS textures.

In my game, i use dot 3 for actors and enviromental for brushes:

http://img170.imageshack.us/my.php?imag ... 000eq6.jpg
http://img148.imageshack.us/my.php?imag ... 005ci8.jpg
http://img136.imageshack.us/my.php?imag ... 001cy1.jpg
WOW!!!!
how many polys is the char?
Herp derp.
User avatar
bernie
RF Moderator
Posts: 1249
Joined: Tue Nov 15, 2005 10:07 am
Location: Ireland

Re: I can't get bumpmapping to work

Post by bernie »

Yes they are nice screens.
bm seems to be working in my level but not very well, not a lot of difference between a straight texture and a bumpmapped one. Nothing like they appear in the other programs, it just does nothing in the actors either dot3 or EMBM just displays the base texture. Is it the way I make the actor perhaps? Base texture in the .bdy and add the specular and normal map in the astudio when I build the .act file. All the textures are in the actor I can see them when I look at them in the skin replacer.
User avatar
darksmaster923
Posts: 1857
Joined: Wed Jan 03, 2007 10:32 pm
Location: Huntington Beach, California, USA

Re: I can't get bumpmapping to work

Post by darksmaster923 »

bernie wrote:Yes they are nice screens.
bm seems to be working in my level but not very well, not a lot of difference between a straight texture and a bumpmapped one. Nothing like they appear in the other programs, it just does nothing in the actors either dot3 or EMBM just displays the base texture. Is it the way I make the actor perhaps? Base texture in the .bdy and add the specular and normal map in the astudio when I build the .act file. All the textures are in the actor I can see them when I look at them in the skin replacer.
well the level bumpmap isnt really a real bumpmap, its just lighting i think. i believe nout is working on dot3 for the world
Herp derp.
User avatar
bernie
RF Moderator
Posts: 1249
Joined: Tue Nov 15, 2005 10:07 am
Location: Ireland

Re: I can't get bumpmapping to work

Post by bernie »

Well... a bit more success. I managed to get bumpmapping in level, pawn and SEP but it doesn't work with Static Mesh at all at all. The problem was the naming of the textures in MS and Astudio. I thought it was just the graphics files that need the special naming but it appears everything has the be named that way. Now if I can just get Static meshes to work I can craic on with my new level.
User avatar
QuestOfDreams
Site Admin
Posts: 1520
Joined: Sun Jul 03, 2005 11:12 pm
Location: Austria
Contact:

Re: I can't get bumpmapping to work

Post by QuestOfDreams »

Sorry, StaticMesh entities don't support bumpmapping ....
User avatar
bernie
RF Moderator
Posts: 1249
Joined: Tue Nov 15, 2005 10:07 am
Location: Ireland

Re: I can't get bumpmapping to work

Post by bernie »

Thanks Daniel, I can just get on with it now then. I'll use Static mesh and clip brushes for collision and and SEP with no collision to skin the terrain.
User avatar
bernie
RF Moderator
Posts: 1249
Joined: Tue Nov 15, 2005 10:07 am
Location: Ireland

Re: I can't get bumpmapping to work

Post by bernie »

Those are truly awsome screenshots Zidane, beautiful textures. Are you going to put up a demo for us?
BTW your English is perfect.
AND
WELCOME TO THE FORUM :D :D :D
Please excuse my bad manners, I should have welcomed you before.
User avatar
Zidane
Posts: 153
Joined: Mon Feb 11, 2008 1:21 am
Location: Spain

Re: I can't get bumpmapping to work

Post by Zidane »

Thanks for the welcome.
Yes, I certainly publishes a demo of the game.
I work in the game for 1 year ago, but I was done with Entidad3D. Since a month ago I am working with RF and im moving the game to Rf

Greetings
Post Reply