Jump to content

  • Log In with Google      Sign In   
  • Create Account


larspensjo

Member Since 19 Mar 2012
Offline Last Active Apr 17 2014 01:56 AM

Posts I've Made

In Topic: Events with lambdas

08 January 2014 - 02:43 AM

I'm used nano-signal-slot.

 

For an example of a C++ event manager that is type safe, simple to use and very efficient, see SimpleSignal.

 

As far as I have found, it provides the optimal solution for me.

 

Did you make that?

 

It was created by Tim Janik, I just put a copy in Github to make it more accessible to my projects and others that would need it. It is not copyrighted by Tim, but there is a readme that clearly attributes the source to him.


In Topic: gui/game librarys FOR C++

07 January 2014 - 04:24 PM

For GUI, I recommend libRocket. It is general purpose, independent on other game engines, and can easily be adapted for OpenGL (which is what I did). On the negative side, it takes some effort to interface. On the positive side, it is very efficient and powerful. You will be able to control the GUI with a design similar to html and css.


In Topic: Events with lambdas

07 January 2014 - 04:15 PM

For an example of a C++ event manager that is type safe, simple to use and very efficient, see SimpleSignal.

 

As far as I have found, it provides the optimal solution for me.


In Topic: How to find uv coordinates for a 3D triangle?

07 January 2014 - 03:46 AM

There is an implementation of 3d Simplex noise at github/ashima/webgl-noise. I was mainly worried about higher performance costs as the 3D noise is more complex than the 2D noise. But it turned out this added a negligible time to the shader.


In Topic: Entity component system: efficient component retrieval?

06 January 2014 - 05:26 PM

There is an example of an ECS implementation, which is very efficient. I think it is based on a similar idea as noizex #2, but without a hard 64-bit limitation?

 

Look at the tutorial on the front page, it is quite easy to follow. It takes away most of the implementation details from the user.


PARTNERS