Normalmap

Blitz3D Forums/Blitz3D Programming/Normalmap

Mike0101(Posted 2006) [#1]
My project goes well but I need a good, fast, efficency
normalmap system. My graphicsmate makes every texture (specular, normal) and highpoly models if need it.
Do you have something?

thnx
Mike


markcw(Posted 2006) [#2]
Ross C has this in his signature.
HeightMap to NormalMap Convertor - .bb - .exe



Pinete(Posted 2006) [#3]
take a look at envidia plugin for photoshop
at nvidia website ->developers ->tools.
This tool converts a standard texture to a normalmap one that you can use later in your models.
The results are very good and its completely configurable.


Mike0101(Posted 2006) [#4]
Ok, I was find this tool. It makes good normalmap textures. And now....? How can I apply in my model.
I have to load and setting textureblend 4, this is sure.


markcw(Posted 2006) [#5]
yes, i think the basic theory for normal mapping is like this.
tex=LoadTexture ("normalmap.bmp")
TextureBlend tex,4 ;dot3
EntityTexture mesh,tex,0,0

tex2=LoadTexture ("imagemap.bmp")
TextureBlend tex2,5 ;multiply 2
EntityTexture mesh,tex2,0,1

There was a post in general discussion that was called "BumpMapping & Lightmaps?" which seems to have disappeared now, but i saved it to my hd because it had the code below, by Red Ocktober. I found it a bit messy but still a good place to start.
It uses functions by Aurora which can be found here http://www.blitzbasic.com/codearcs/codearcs.php?code=1148



Mike0101(Posted 2006) [#6]
Thank you, this is great help for me!