Jump to content

  • Log In with Google      Sign In   
  • Create Account


Nehe 37 model


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 Montera   Members   -  Reputation: 101

Like
0Likes
Like

Posted 27 April 2014 - 12:19 AM

Anyone able to tell me what program was used to make the model from lesson 37 in Nehe's opengl stuff?  or better yet what type of file it is? Thanks in advance,

 

http://nehe.gamedev.net/tutorial/cel_shading/25001/



Sponsor:

#2 Chris_F   Members   -  Reputation: 2225

Like
5Likes
Like

Posted 27 April 2014 - 01:12 AM

I can't answer that question, but I feel compelled to warn you about using NeHe. OpenGL has changed a lot over the years. NeHe should be thought of as historical information at this point. If your goal was to become a chemist, you probably wouldn't start with alchemy books.

 

For some better alternatives you can see this thread: http://www.gamedev.net/topic/650768-basic-questions-about-where-to-start-with-opengl/



#3 3TATUK2   Members   -  Reputation: 730

Like
0Likes
Like

Posted 27 April 2014 - 08:12 AM

It's an arbitrary format using raw flat data...

 

The file is "loaded" into `polyData` with a simple fread() call, and the layout is specified using primitive structures POLYGON, VERTEX, VECTOR . . .

 

*Haha*.

 

Yes, NeHe isn't the greatest. One good way to start with hands-on model loading is implementing a Wavefront OBJ parser, because it's simple. Besides that you might want to look into something like http://assimp.sourceforge.net/

 

Also:

 

http://www.arcsynthesis.org/gltut/
http://ogldev.atspace.co.uk/
http://www.opengl-tutorial.org/
http://lazyfoo.net/tutorials/OpenGL/
http://open.gl/
http://antongerdelan.net/opengl/
http://www.mbsoftworks.sk/index.php?page=tutorials&series=1
http://www.rastertek.com/tutgl40.html
http://www.lighthouse3d.com/tutorials/glsl-core-tutorial/
http://www.ozone3d.net/tutorials/



#4 Montera   Members   -  Reputation: 101

Like
0Likes
Like

Posted 27 April 2014 - 09:39 AM

Ok Great responses, I guess that then leads me to ask if there is a good resource for cel-shading in openGL that is current.  Also I am using linux to write the program which is why I liked the Nehe examples.  I looked at most of the links and didn't see much specifically for cel-shading though I think I did see something about phong shading.  And I think I will try and use wavefront going forward.  Thanks again



#5 3TATUK2   Members   -  Reputation: 730

Like
0Likes
Like

Posted 27 April 2014 - 10:36 AM

Google?

 

http://www.clockworkcoders.com/oglsl/tutorial10.htm

http://www.lighthouse3d.com/tutorials/glsl-tutorial/toon-shading/

http://www.sunandblackcat.com/tipFullView.php?l=eng&topicid=15

http://en.wikibooks.org/wiki/GLSL_Programming/Unity/Toon_Shading






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS