Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 26 Jan 2011
Offline Last Active Aug 01 2016 03:04 PM

Posts I've Made

In Topic: Multithreaded User Interface

01 August 2016 - 03:05 PM

How complex is your UI? How responsive do you want it to be? Why do you want to implement it on a separate thread?

Well the reason I want to implement it on separate thread is the performance. The UI is complex - it has windows, sliders, pop-ups, etc.

In Topic: Custom format for resource packs problem

17 March 2016 - 06:26 AM

I store cache of pre-processed assets in "hidden" subdirectory.

Also there's sqlite db file in that dir, storing source file hashes and additional attributes.

When pack is rebuilt, for every added file I calculate hash and check if there's cached blob with that hash.

If there's such file in cache - it will be added to pack as is. If there's no file in cache, then asset will be pre-processed, compressed and cached.

In that way pack is rebuilt very quickly, as only changed resources will be actually processed.

And there's neat side effect - multiple identical assets will refer to same blob in pack.

Thank you very much, your answer was very helpful.

In Topic: Were do I start with game programming? c++

21 January 2016 - 05:14 AM

I would recommend Frank D. Luna's books http://d3dcoder.net/ (skip DirectX 10 of course).

In Topic: AABB Tests in D3D

08 January 2012 - 03:42 AM

I am not sure why you are talking about planes in the AABB, since the bounding box is described by max and min point and if you have some rotations involved, between the objects you want to test for collisions, you will also need additional things. I will suggest you to check out http://www.toymaker.info/Games/html/collisions.html .
Also, please don't created two threads about the same thing. Thanks.

In Topic: Need C++ DX small environment program/code

26 December 2011 - 10:41 AM

well using directx with c++ is not an easy thing and i can point you out at http://d3dcoder.net/.
there you can find some free source code, starting with the basic things.(in the books menu select book and then source code part stuff)
Of course it will be nice to buy one of frank books, they are really amazing and i learned soo much from them, especially from the shader approach book.
Frank covered almost every aspect that one new learner would need in his game, so i think that with some dedication you will reach your goal.
But, if you need do to some game fast, just take one free engine or XNA and dont bother with directx with c++.