Jump to content

  • Log In with Google      Sign In   
  • Create Account

Alex B.

Member Since 01 Oct 2013
Offline Last Active Apr 11 2014 08:44 AM

Posts I've Made

In Topic: Entity Component System and Parent Relations

16 March 2014 - 02:07 PM

Thank you very much guys, that helped us a lot!


Otherwise we would have ended developing a ECS and a Scenegraph! :P

In Topic: Entity Component System and Parent Relations

06 March 2014 - 06:03 AM

Hi, thanks for the information!

Okay so everything seams to be doable with an ECS :o

But the relation thing I still don't understand.

For example: i got a car with 4 wheels.
Car body gets turned by 90°. So the wheels would have to geht turned relative to the car body.

Can you explain how that could be done with the ECS approach?
Maybe with a code snippet.

Thank you very much guys!

In Topic: C++ DirectX Renderer Design

16 January 2014 - 08:33 AM

Yep, therefore I wanted to do a rendermanager that culls and sorts all of the stuff in the scene and calls the renderer to do all the work :)

In Topic: C++ DirectX Renderer Design

14 January 2014 - 12:01 PM

Okay, so if I want a renderer that covers the most of the stuff directX can do its a good decision to do it the way its done in this source I think :) (what I don't understand is the performance decrease. How much does this cost if I wrap a resource in a class?)


If I understood it right the pipeline has to be designed that way you just put data in and get the transformed data out. That data should be prepared as good as possible before (culling and that stuff  I think)


Thanks :)

In Topic: C++ DirectX Renderer Design

14 January 2014 - 11:22 AM

Okay, so that way you do it, you give a scene to the renderer. I think in the scene there are objects that for example inherit from a renderable interface?


So the renderables got a function render() that makes the renderer to draw them?


As you said the renderer is the system that gives me the device and resources. In the book I wrote all the resources are wrapped up. Is this a good idea or just overkill?


Thats what i wanted to describe with the problem I've read, its not a good idea to render the objects themselves.