Making Bump (normal) Maps for use with jit.gl.material
The patch below takes a greyscale image and (using jit.gl.pix) converts it to a normalmap for really cool looking 3D lighting tricks. Bump mapping is typically used to make a low-poly 3D object look more complex by tricking the lighting calculation. You can use jit.gl.slab.gauss6x to smooth out the bumps if you like.
This article was used for reference:
http://http.developer.nvidia.com/CgTutorial/cg_tutorial_chapter08.html
Enjoy!
Hi Andrew
this looks like a cool patch... but when I open the grabber, I only get a black videoplane on my macBookPro i7, GT 330M, os X.7.2, Max 6.0.3 51824
Am I missing something ?
Mathieu
I get a black videoplane too :(
same here, there is an apparent error in jit.gl.pix saying that the concat class does not work in gen domain jit.gen
I edited the original patch, so it hopefully should work now. Let me know how that works for you.
I see a black videoplane again, how can I help you?
There are no error message in the Max window.
Hi @micron, what hardware are you using?
Do other jit.gl.material or jit.gl.pix examples work on this computer?
What version of Max?
still same problem here : black video plane)
jit.gl.material and jit.gl.pix works fine on this computer.
(macBookPro i7, Nvidia GT 330M, os X.7.2, Max 6.0.3 51824)
Mathieu
MacBook Pro
2.4 Ghz Intel Core i5
NVIDIA GeForce GT 330M 256 MB
4 GB RAM
OS X Lion 10.7.2
Max 6.0.3 51824
Examples works great.
Micron
OK, I think it's the jit.gl.videoplane that's causing trouble. Switching it out for jit.gl.gridshape should help:
Let me know how that works.
Works fine now and it's a very nice patch :)
If you happen to have a Kinect camera lying around, the depth map works pretty nicely with this patch too.
it works great now ; very nice patch, thanks :-)
@llumen
What version of Max are you using? [concat] is new as of 6.0.3