Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


#ActualBrother Bob

Posted 22 July 2013 - 12:28 PM

GL_SMOOTH and GL_FLAT are old fixed function commands for set-ups that don't have user defined shader programs written using either GLSL, or CG, if you are using a programmable shader those commands will do nothing. They will be by-passed. There is a program for loading .obj models on the following site. http://www.dhpoware.com/demos/glObjViewer.html It handles normals correctly when exported from Blender and can handle generating them when the normals are not present in the .obj. Also the problem that you are having may be related to the default export settings in Blender. The default Blender .obj export settings do not export normals. You do look ambitious about solving this programmatically so I wish you luck with that and bid you adieu.


#7marcClintDion

Posted 22 July 2013 - 03:28 AM

There is far too much arrogance and out right abuse by site moderators, they are teaching other people to behave this way.  The posts I've made will all be shorty removed and replaced with this notice.  Game development is not the only thing being taught here, bad behavior is being taught as well.


#6marcClintDion

Posted 22 July 2013 - 03:28 AM

There is far too much arrogance and out right abuse by site moderators, they are teaching other people to behave this way.  The posts I've made will all be shorty removed and replaced with this notice.  Game development is not the only thing being taught here, bad behavior is being taught as well.


#5marcClintDion

Posted 12 June 2013 - 09:03 AM

GL_SMOOTH and GL_FLAT are old fixed function commands for set-ups that don't have user defined shader programs written using either GLSL, or CG, if you are using a programmable shader those commands will do nothing. They will be by-passed.

There is a program for loading .obj models on the following site.
http://www.dhpoware.com/demos/glObjViewer.html

It handles normals correctly when exported from Blender and can handle generating them when the normals are not present in the .obj.

Also the problem that you are having may be related to the default export settings in Blender. The default Blender .obj export settings do not export normals.

You do look ambitious about solving this programmatically so I wish you luck with that and bid you adieu.

#4marcClintDion

Posted 12 June 2013 - 08:29 AM

GL_SMOOTH and GL_FLAT are old fixed function commands for set-ups that don't have user defined shader programs written using either GLSL, or CG, if you are using a programmable shader those commands will do nothing. They will be by-passed.

There is a program for loading .obj models on the following site.
http://www.dhpoware.com/demos/glObjViewer.html

It handles normals correctly when exported from Blender and can handle generating them when the normals are not present in the .obj.

Also the problem that you are having may be related to the default export settings in Blender. The default Blender .obj export settings do not export normals.

I wish you luck with that and bid you adieu.

#3marcClintDion

Posted 11 June 2013 - 05:23 AM

GL_SMOOTH and GL_FLAT are old fixed function commands for set-ups that don't have user defined shader programs written using either GLSL, or CG, if you are using a programmable shader those commands will do nothing. They will be by-passed.

There is a program for loading .obj models on the following site.
http://www.dhpoware.com/demos/glObjViewer.html

It handles normals correctly when exported from Blender and can handle generating them when the normals are not present in the .obj.

Also the problem that you are having may be related to the default export settings in Blender. The default Blender .obj export settings do not export normals.

I wish you luck with that and bid you adieu.


PARTNERS