Rendering engine design

Started by
3 comments, last by juanMorata 9 years, 6 months ago

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

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

I think, therefore I am. I think? - "George Carlin"
My Website: Indie Game Programming

My Twitter: https://twitter.com/indieprogram

My Book: http://amzn.com/1305076532

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

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.

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!

This topic is closed to new replies.

Advertisement