Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 16 Jan 2011
Offline Last Active Today, 01:45 AM

#5303093 Any Book Recomendations?

Posted by imoogiBG on Yesterday, 09:46 AM

I would recommend http://www.gameenginebook.com/index.html
It is more high level then game coding complete, but still covers a lot of important

Reading books about game programming (expecially books that are focused on engine programming) without having a good programming knowledge, won't benefit anybody.
(damn I'm playing with fire... not recommending that book again...)

As said above.

Do yourself a favor and start now.

If you are interested in programming already, learn about it, I think anyone can assure you that you won't mix the syntax of the langauages if you pay a bit of attention :)

#5303058 Game Engine Advice

Posted by imoogiBG on Yesterday, 01:51 AM

Here is a good book on game engines, written by one of Naughty Dog's programmers: http://www.gameenginebook.com/

I'm afraid that I will unRecommend that book.I have to admit that a havent read it(Just a few topics here and there). The book contains a lot of trivially google-able knowledge that is applicable to amolst any type of programming, sure those skill are 100% a must, but the book won't eduacate you anything about the large topics that are really hard and needed (editor and all that goodness around it, how does it blend with the game world, undo/redo, asset management, different approches to different game types, ect..) Correct me if I'm wrong.

unfortunately I have nothing to recommend in exchange, I tend to develop something in my head and comapre it with what others have done, then I try to weight the pros/cons and If possible blend the ideas or come up with new one.



A few suggestions from my point of view.... At work I write a lot code for 3ds Max and Maya. Those tools are pretty powerful, and they already have a lot a of the things that you would need for your game. A thing that you could do is to implement your level editor in 3ds Max Maya. Writing plugins for those is not that hard (and will teach you about the real world problems of the level editors, as those softwares are good but not perfect). Additionally I do not know for 3ds Max, but with Maya you can directly link your game with it, and create a hot link between them for fast iterations(there were several approches, one on the top of my head is sockets).

I don't know but there might be a simialr functionally for Blender.

Otherwise you could write a miniamal editor yourslef, however I do not have any tips as I'm struggling to write one currently myself.


EDIT : About the book. I've read a few chapters of that book(a firend of mine gave me the book for a couple of days), not the whole book. Additionally to corrent myself, I do think that the knoledge shared in the book is very helpful, but I don't think it would be that benefitial to Happy SDE.

#5302881 Stackoverflow And Money

Posted by imoogiBG on 28 July 2016 - 02:07 AM



It's right in your public user profile. I literally just clicked on your username.

No... moderators see fields that users have set as private. Try logging out and clicking that link again.



Oops.  Sorry.  I thought that was a public field.  Either way, removed as soon as it was requested, and sorry again.


@frob it was public, you did nothing wrong.

PS : BG = Country Code of Bulgaria

Yeah, I can live with that :)

#5301245 Compilers

Posted by imoogiBG on 18 July 2016 - 01:07 PM

- no IDE means zero start-up time
- better C++ language standard compliance
- no pesky project settings to get lost in
- produces well-optimized code
- (optional) often possible to compile code written for a different platform, but only if you manage to install msys/binutils and such correctly

Non of there are advantages of non-MSVS nor they are disadvantages of MSVS, as they are easily achievable with the Microsoft compiler. 

#5300893 Dice Battlefront Level Editor

Posted by imoogiBG on 15 July 2016 - 08:14 AM


Looks amazing.


I wonder how do they blend the geometry with the terrain so well.

#5299898 Linux for game development

Posted by imoogiBG on 09 July 2016 - 01:33 PM

Once In a while I use Linux for development, but Windows is still my weapon of choice:


@work we use CentOS

@home Ubuntu

#5298688 Water and Fresnel

Posted by imoogiBG on 01 July 2016 - 01:35 AM

Everything has fresnel.



Given enough grazing angle, every surface will look like a mirror. Problem is some surfaces are really non-smooth or the grazing angle must be so steep we can barely notice a discernible reflection because it becomes very thin.

https://www.youtube.com/watch?v=U9rgG2vPAvQ#t=2m18s :D

#5298613 Water and Fresnel

Posted by imoogiBG on 30 June 2016 - 03:22 AM

Is it roughness?

No. Roughness is just "how blurry the reflection is". In reallity there is no "Roughness" in that sense. it is just a surface approxiamtaion technique, because using high poly models that have a bunch of really tiny faces(also called micro faces) is still too expensive.


As you can see in the diagram, whater is actually not that reflective compared to alluminium or silver(these are the main materials that are used in mirrors).
I really can't answer you question why the wather is reflective at 90 deg view angle, I currently live with that knoledge but you could easily google that and see the explanation.

#5296909 Is C++11's library a magic bullet for ALL multicore/multithread programming?

Posted by imoogiBG on 17 June 2016 - 12:56 AM

https://www.threadingbuildingblocks.org/ this is pretty cool library for parallelism. A year ago there was a post that states that the library is no longer under GPL license and can be freely used for commercial projects, however I cannot find a version of that library on the the internet with such license. 

Otherwise i really like tbb ^_^

#5295054 Quaternion camera problem

Posted by imoogiBG on 05 June 2016 - 03:36 AM

You cannot directly obtain it, What you need is to convert your quaternion to Tait-Bryan or Euler angles.

#5291911 Plane equation, + or - D

Posted by imoogiBG on 16 May 2016 - 12:40 PM

Ax + By + Cz + D = 0 

I think that this form is more used because it is in sync with the rest of the math. Additionally it is much easier to memorize formulas if there aren't many different version of the sign.

And of course depending on your logic behind it it is a bit more intuitive (or vice versa)

#5289772 Use which kind of generic string?

Posted by imoogiBG on 02 May 2016 - 01:12 PM

Currently we store our string internally as UTF8 and we do operations between UTF8 strings. The cool thing about UTF8 is that they work perfectly with std::string(or in out cause a lagacy string class that was implemented around char*) (as the 0 will be found only at the end of the file).
Under windows we convert to UNICODE/MBCS when needed(example is winapi specific function as OpenFile, SendMessage, CreateWindow...)
The unix based platforms already use utf8 as a native string.


Actually a good starting point would be to do what the guys form Autodesk Maya do with their MString (see MString::asChar method(it returns the string value in a platform native format)). 

BTW a side hint:
In the MSVS  in the debugger's watch windows if you type "mystringVariable, s8" the value of "mystringVariable" is going to be display as UTF8 string an not as a MBCS string ^_^

#5288731 Where to learn 2D Math for game dev

Posted by imoogiBG on 26 April 2016 - 04:33 AM

Just learn linear algebra and analytic gemetry (not sure if thats how you call it in english).

Both are really sumple, just take a bit time to master it. After you learn those things you will know what to learn next.

Additionally learn calculus :)

#5288623 Best Laptop for Game Development and Programming?

Posted by imoogiBG on 25 April 2016 - 11:08 AM

Buy a PC if you can. 

I've just bought Asus ROG G551JW about 3 weeks ago(I've added 8GB more RAM). It works flawlessly (so far). The 15'' screen isn't a big issue to me as I hook it to my 24'' monitor, and if when need (which is rarely) I unplug it and I'm still able to code on the laptop's screen.

I would like to know from your personal opinion or advice, which laptop could suit my standards and get me through college?

A 350EUR laptop could easily  do that job,

#5286332 Game concept

Posted by imoogiBG on 11 April 2016 - 11:45 AM

I also think that the game is about run and jump.