Making Bump (normal) Maps for use with jit.gl.material

Jan 12, 2012 at 1:01am

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!

– Pasted Max Patch, click to expand. –
#61192
Jan 12, 2012 at 11:00am

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

#220554
Jan 12, 2012 at 2:44pm

I get a black videoplane too :(

#220555
Jan 12, 2012 at 3:02pm

same here, there is an apparent error in jit.gl.pix saying that the concat class does not work in gen domain jit.gen

#220556
Jan 12, 2012 at 5:49pm

I edited the original patch, so it hopefully should work now. Let me know how that works for you.

#220557
Jan 12, 2012 at 6:06pm

I see a black videoplane again, how can I help you?
There are no error message in the Max window.

#220558
Jan 12, 2012 at 6:35pm

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?

#220559
Jan 12, 2012 at 7:52pm

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

#220560
Jan 12, 2012 at 11:18pm

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

#220561
Jan 12, 2012 at 11:54pm

OK, I think it’s the jit.gl.videoplane that’s causing trouble. Switching it out for jit.gl.gridshape should help:

– Pasted Max Patch, click to expand. –

Let me know how that works.

#220562
Jan 13, 2012 at 12:00am

Works fine now and it’s a very nice patch :)

#220563
Jan 13, 2012 at 12:03am

If you happen to have a Kinect camera lying around, the depth map works pretty nicely with this patch too.

#220564
Jan 13, 2012 at 9:01am

it works great now ; very nice patch, thanks :-)

#220565
Jan 13, 2012 at 8:48pm

@llumen
What version of Max are you using? [concat] is new as of 6.0.3

#220566

You must be logged in to reply to this topic.