normalmapping animated meshes

Miscellaneous Forums/Graphics Showcase/normalmapping animated meshes

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Gotelin - I downloaded Psonic's dwarf model( available here: http://www.psionic3d.co.uk/packs/dwarf/dwarf.html ) ... I unzipped it into the same directory with the normalmapping demo ... it comes with a .BB source program to view the model, so I loaded that into Blitz3D ... I then added this code to it right before the main loop:

;cubemap for normals
nmap=LoadTexture( "cube2.png",1+128 )
SetCubeMode nmap,2
TextureBlend nmap,2

;cubemap for lightcolor
lmap=LoadTexture( "lcube.png",1+128 )
SetCubeMode lmap,2
TextureBlend lmap,5


dudebump = LoadTexture("rockbump.bmp")
TextureBlend dudebump,4
ScaleTexture dudebump,.25,.25

dudeskin = LoadTexture("dwarf2.jpg")
TextureBlend dudeskin,5

EntityFX dude,1

EntityTexture dude,nmap,0,0
EntityTexture dude,dudebump,0,1
EntityTexture dude,lmap,0,2
EntityTexture dude,dudeskin,0,3


fired it up and this is what I got:



It clearly seems to be working fine on my PC...So I dunno what the problem could be?