Jump to content


3d model renderer: C + OpenGL + SDL


2 replies to this topic

#1 Kronos25

    New Member

  • Members
  • Pip
  • 9 posts

Posted 25 May 2011 - 12:34 AM

Hey guys,

I am starting development on a 3d model render that I hope to have up by the end of the summer. I want to write it in C using OpenGL and SDL libraries. My goal is to have a POSIX, cross platform application that will compile for both windows and *-nix.

The problem is... I've never done this before.

*Warning*
I am a junior in college, and have only been programming since junior year of high school so please don't be too critical of my coding, it's improving.
*Warning*

I started about a week ago, and have been working fairly hard. Reading tutorials (Surprisingly few on C + OpenGL + SDL), reading API's, and learning C from scratch. Anywho, I have something... not much... but something, and I'd very much like it if an old guru could help me understand what it is that I have wrought.

the complete source right now can be found right here:
http://www.filefacto...odel_render.zip.

Right now it has only been compiled in unix, but I have compiled earlier versions in MinGW. It doesn't do anything special yet so don't expect anything.

Other help would be appreciated as well, anything to help me on the right track. Perhaps you could post some links to helpful tutorials, or contribute some source, or revise mine.

#2 Sol_HSA

    Senior Member

  • Members
  • PipPipPipPip
  • 512 posts
  • LocationNowhere whenever

Posted 25 May 2011 - 09:10 AM

Kronos25 said:

The problem is... I've never done this before.

When was that a problem? =)

I've written a "minimal" OpenGL 3d engine here: http://iki.fi/sol/ambrose3d/ along with all sources and blender exporter.
http://iki.fi/sol - my schtuphh

#3 Kronos25

    New Member

  • Members
  • Pip
  • 9 posts

Posted 25 May 2011 - 10:08 AM

Thanks Sol_HSA,

that link is very helpful, even if it is written in c++. I'll be sure to study some of the designs you used in the creation of my own engine.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users