JOGL GLSL Texture help

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

JOGL GLSL Texture help

jlangdale
I'm trying to get this Leolol  project to work better.  It's fairly basic but I'm having a hell of a time with the texture on this model.

The original project is here:
http://www.leolol.com/drupal/tutorials/3d-graphics-jogl-opengl-etc/jogl-sandbox-environment-tutorial-series

Here is the project I'm compiling:
https://github.com/jlangdale/Testing-JOGL

I can't figure out how to get the texture on the OBL model to map properly, or maybe how to get the lighting to work properly with GLSL shaders.  I saw a post here about his project:

http://www.opengl.org/discussion_boards/showthread.php/175997-Please-Help-Bump-Mapping-Multi-Texture-Problem?p=1229257#post1229257

I realize in the comments he said that he didn't include all of the shader code he was using, and only published a basic vertex/fragment shader.

On the forum, he showed that his GL project was looking like this:
http://imgur.com/a/ceDpg

But this is the best I've been able to do with the code:
http://imgur.com/RhWHy

Any help steering me in the right direction would be greatly appreciated.  

Jonathan

Reply | Threaded
Open this post in threaded view
|

Re: JOGL GLSL Texture help

gouessej
Administrator
Hi

Have you tried to contact him? He is friendly and replies quite quickly.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: JOGL GLSL Texture help

jlangdale
gouessej wrote
Have you tried to contact him? He is friendly and replies quite quickly.
Yup, didn't get a response yet.
Reply | Threaded
Open this post in threaded view
|

Re: JOGL GLSL Texture help

jlangdale
Lol, nevermind.  I flipped the texture in Cinema 4D and it works.  I'm a moron.

http://i.imgur.com/ckByk.png