Jump to content
  • Advertisement
Sign in to follow this  
juanMorata

OpenGL Rendering engine design

This topic is 1405 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all! 

 

Since a bit ago I developed a small self-contained program for each effect/technique I wanted to try out.

Recently I felt the need of having a personal rendering engine, not to make a game, but just as a good and versatile sandbox for my graphics experiments. 

 

Foolishly enough, I have started bashing hands and head on my keyboard without a bigger plan and I came up with something that do work for some cases, but I am far from feeling comfortable with it. 

 

Do you know some open source (preferably using OpenGL) rendering engines that are reasonably small (to read the code easily), but good enough to take as example to start with?  Are there some good resources (aka tutorial or books) useful for my needs? 

I also wanted to learn about deferred rendering, so something that provide both forward and deferred would be great plus!

 

 

I am sorry if I am being clear of what I am asking or I am being too vague.

 

Thank you very much!

 

Juan

Share this post


Link to post
Share on other sites
Advertisement

For code reviews, go here:  http://fabiensanglard.net/

 

A small but complete open source rendering engine that has easy to read code.  I don't think that can exist.  A production engine will be hard to read.  But if you find one, please post!

 

I would however, recommend these books:

 

Physically Based Rendering, Second Edition: From Theory To Implementation 

by Matt Pharr et al. 

Link: http://amzn.com/0123750792

 

Game Engine Architecture, Second Edition 

by Jason Gregory 

Link: http://amzn.com/1466560010

Share this post


Link to post
Share on other sites

Do you know some open source (preferably using OpenGL) rendering engines that are reasonably small (to read the code easily), but good enough to take as example to start with?

 

Check out Horde3D (OpenGL). It's a small and easy to read open source rendering engine (supports both forward and deferred rendering and uses a (limited) data-driven architecture). So it should be a good starting point.

 

I'm also releasing my small open source engine in a couple of weeks cool.png

Edited by TiagoCosta

Share this post


Link to post
Share on other sites

I'm also releasing my small open source engine in a couple of weeks cool.png

I hope we're all invited to the release party smile.png
I'm lookin forward to see it.

Share this post


Link to post
Share on other sites

For code reviews, go here:  http://fabiensanglard.net/

 

A small but complete open source rendering engine that has easy to read code.  I don't think that can exist.  A production engine will be hard to read.  But if you find one, please post!

 

I would however, recommend these books:

 

Physically Based Rendering, Second Edition: From Theory To Implementation 

by Matt Pharr et al. 

Link: http://amzn.com/0123750792

 

Game Engine Architecture, Second Edition 

by Jason Gregory 

Link: http://amzn.com/1466560010

 

Thanks! I have ordered for now the Game Engine architecture book and have put in my list the PBR one :) 

 

 

Do you know some open source (preferably using OpenGL) rendering engines that are reasonably small (to read the code easily), but good enough to take as example to start with?

 

Check out Horde3D (OpenGL). It's a small and easy to read open source rendering engine (supports both forward and deferred rendering and uses a (limited) data-driven architecture). So it should be a good starting point.

 

I'm also releasing my small open source engine in a couple of weeks cool.png

 

Thank you! I'll have a closer look to Horde. Can't wait to see yours as well! 

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!