Creating a graphics engine

B9b99bf57b485bb7656b684c8a7868d5
0
Reusablesnail 101 Dec 15, 2011 at 16:44

So i have recently been playing around with SFML and i was wondering, just how much would it take to create a graphics engine and would it be possible to do as a beginer.

if it is possible would someone kindly explain to me how it can be made and what kin of resources i would need.

7 Replies

Please log in or register to post a reply.

Fd80f81596aa1cf809ceb1c2077e190b
0
rouncer 103 Dec 15, 2011 at 21:55

just a shit load of self taught knowledge that you get over time :) i dunno, look up tutorials and ask specific questions and you get answers on the way in your big mission. hehe

B5262118b588a5a420230bfbef4a2cdf
0
Stainless 151 Dec 16, 2011 at 09:48

This is one of those questions like “I’m new to games coding and want to write a MMORPG……”

The simple answer is “ARE YOU MAD?”,

Writing a graphics engine from scratch is a hell of a lot of work, even for someone who knows exactly what they are doing. For a beginner, it’s a massive undertaking.

If you want to do it as a learning exercise, fine go ahead. You will learn a hell of a lot. You will need a couple of years locked in your bedroom eating flat food, but if you survive it, you will be a useful coder.

B9b99bf57b485bb7656b684c8a7868d5
0
Reusablesnail 101 Dec 16, 2011 at 13:40

I understand it may be hard to do, but i enjoy giving myself a challege.

What would be the first main things to look for when creating one?
@Stainless

This is one of those questions like “I’m new to games coding and want to write a MMORPG……”

I’ve thought about that but then i realised that would take one person almost a lifetime to create as most mmo’s have massive teams working on single parts, so i soon scrapped that idea.

8676d29610e6c98d6dd2d9c38528cd9c
0
alphadog 101 Dec 19, 2011 at 15:28

@Reusablesnail

how much would it take to create a graphics engine

Depends on what your end goal is: passable familiarity? a decent 2D engine others would maybe use? a decent 3D engine others would definitely want to use? compete with the the next idTech or CryEngine engine?

I would recommend you pick up Game Engine Architecture to, at a minimum, see if you want to go down this road.

11f856f3098c531200b4a334a811bd2c
0
xenobrain 101 Feb 24, 2012 at 20:31

Creating a (very) basic 3D engine is indeed a huge undertaking, but it isn’t quite as scary as some make it out to be. First, the book Game Engine Architecture an an EXCELLENT recommendation. My copy is starting to get worn from all the reading!

I would also recommend carefully studying the source code of the Ambrose3D engine to get an idea of how all the pieces of an engine can fit together, and reading Learning Modern 3D Graphics Programming to understand the rendering portion in particular.

Finally, I have to say the PowerVR SDK has proven invaluable for everything from rendering effects (its primary purpose) to vector libraries to texture and mesh loaders and animation libraries. It also has a ton of game engine specific classes such as resource managers in the Extras/Game Engine directory. It’s just a good all-round support for filling out a game engine.

After that, you should actually have a pretty good basis to get started on some (simplistic) 3D games.

B20d81438814b6ba7da7ff8eb502d039
0
Vilem_Otte 117 Mar 14, 2012 at 23:46

@Stainless

Writing a graphics engine from scratch is a hell of a lot of work, even for someone who knows exactly what they are doing. For a beginner, it’s a massive undertaking.

I object! The last one I wrote took me just 10 days to write from scratch and optimize to quite shining performance (we all love ray tracing on GPU :ph34r: … of course I knew what I’ve been doing all the time, at least I hope (triangle has 4 points right? :D)) - so actually it might not take that much loads of hard work.

… anyway I’ve been for quite some time working on graphics engines and I can say one thing - it will take a lot of time to learn the basics, and even more to be good at it. It isn’t easy, it will teach you tons of good things, but if you want make games - never cross the path of “I’ll write a graphics engine from scratch” - you probably won’t ever make games then ;)

9e6d847e0e0817a8d6d60c653033cc01
0
zynithra 101 Apr 03, 2012 at 14:13

I wrote a ray-tracing application for my B.Eng.

Sorry, but if you’re a beginner, you will just fail horribly and get depressed if you try writing a 3d graphics engine. If you’re new to all this, why not take a look at some 2d libraries at first, (pygame.com for example is very simple and easy to learn). It will give you some understanding of the task ahead.

Other than that, best of luck on your chosen path! ;)