Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 28 Oct 2011
Offline Last Active Aug 13 2014 02:15 PM

Posts I've Made

In Topic: Java or Python

22 June 2014 - 02:57 AM

Java is very popular C/C++/C# alike (which means you will be able to grasp those languages fairly quick if you already know Java) object-oriented, performant language used almost in any sphere of the IT. I would strongly recommend you learn it, instead of Python, which is used for scripting tasks mainly and sometimes for backend development, but not by a mile as often as Java. Basic Java concepts are very easy to comprehend, too.

In Topic: What to use for an OpenGL-based game engine.

31 May 2014 - 04:18 PM

I would give QT a shot. Can't even imagine what can be wrong with using it as GUI component of your game. Don't you just pass hwnd down to OpenGL maw?

In Topic: Why do graphic intensive game use a lot of energy

31 May 2014 - 01:29 PM

Pipelining the instructions increases the speed of your application, which ends up consuming less battery than the application, which executes longer. Maybe I didn't get your question right =)

In Topic: A list that does not disturb the order when pushed/popped?

24 May 2014 - 03:04 AM

Release the pointer at specific position when the player leaves and assign nullptr to it?

In Topic: Using directxmath, like this?

24 May 2014 - 12:56 AM


I would like to hear people's opinions on that, too. When I started to use DIrectXMath it was really uncomfortable for me. I thought that I was missing something, since I did a lot of repetitive things, like loading and storing vectors every time I needed to do some calculations and my lines became ridiculously long with all those DXMath calls.


Those store/loads are there because of the SEE implementation of the library. It is needed because of the memory alignment needed by the __m128 type (used for XMVECTOR XMMATRIX).


About the code... Usage of the library depends on your target platform. I suggest you to read carefully this http://msdn.microsoft.com/en-us/library/windows/desktop/ee418730(v=vs.85).aspx and a paper focused on data alignment.



I know the reason why we load and store data and SSE behind it. However, the usage of the library becomes really tedious when you do that each time you want to process XMFLOAT. If you nest operations they become very long very quickly and there is lots of redundant code flying around. Thats why I am curios if everyone uses DXMath library like that or if they have found the ways to overcome those downsides.