Login  Register

Re: Hello,how could i load normal map in obj?

Posted by gouessej on Dec 03, 2013; 8:47am
URL: https://forum.jogamp.org/Hello-how-could-i-load-normal-map-in-obj-tp4030707p4030754.html

ravenocean wrote
hello

Thank you gouessej
You're welcome.

ravenocean wrote
I have learned a c++ sample of normal mapping,and converted it to the jogl way,and the screenshot is :



but i am confused about the obj 's normal and normal mapping 's tangent space 's normal,because i just begin to learn opengl with learning jogl.

so ,if you would implement this feature,i am very thank you,
and i found that to output obj file from 3dmax ,will often with the blue texture image.
Actually, there is nothing to add into Ardor3D, you can use the first simple example and mix it with the second one that uses the normal mapping but I realized that I can't do that directly in the existing loader because it would force the use of a shader under the hood, I have found no smart way of doing that :s

If you stick with JMonkeyEngine 3, you can ask for help on its forum, I know that some developers use normal mapping, they can help you in making your example work.
Julien Gouesse | Personal blog | Website