Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 19 Feb 2013
Offline Last Active Mar 13 2015 01:53 AM

Posts I've Made

In Topic: What Color is the darn dress?!

03 March 2015 - 07:47 PM

Forget about perception. Everything is fine with perception :)

How does brain decide how the object is lit? Well, it depends on the SHAPE of that object.

Those who imagine it being worn by a person (convex) see it as dark blue/black.
Those who imagine it as a piece of cloth (concave) see it as bright blue/gold.

It comes down as object being imagined being convex/concave: http://brisray.com/optill/vision2.htm

Interesting how a photo could accidentally have this property.


Geez. This took some time. Now I can go to sleep. But I can no longer "flip" it back to "convex" in my mind :(

In Topic: Thoughts on Rust?

22 December 2014 - 04:13 PM

My background: for the little I delved in game programming with C++, I was absolutely scared of the language. Previously, I was programming in C#/Java, and C++ with its manual memory management was so scary I switched completely to "modern" C++11 and used shared_ptr absolutely everywhere. Then my enthusiasm got drowned by "serious" work in PHP "language". And Javascript. I am a huge fan of finding problems on developer machine, and not runtime. And scripting languages are in absolutely the farthest distance from that ideal.


Year and a half later, I found Rust. It is like a breath of fresh air. It has the right idea. It is not that it is "killer" of some particular language. It simply stands out because it leaves less problems for runtime than any language I used before.


I am not saying that "Rust" is special. No, the idea of "ownership" and "borrowing" is special. Even if by some unfortunate event Rust dies, other languages are going to pick up this idea.


How else to explain it? Well, you know, how we find elements in map quickly? We keep it sorted. How do we quickly calculate statistics for the large amount of data? Well, we aggregate it as the data comes in. How do we avoid collecting garbage in language to ensure memory safety? Well, we define strict rules so we can know when all data is deleted at compile time. duh.


Yeah, I know, it sounds like Rust turned me into a fan smile.png

In Topic: Where to go to start to learn Python?

27 April 2013 - 03:19 AM

I am always worried that I will find a source that is just plain horrible


Don't rely on single source :)

Also when you understand basic language constructs, you can delve into something bigger. For example, I learned python while writing Civ4 script.

In Topic: Unity 3D vs UDK

23 April 2013 - 12:46 AM

Unreal engine is made for First Person Shooter, meaning that it works best for what you would usually see in other Unreal games: a map, weapons, shooting, jumping, multiplayer, bots.


These are Pros if you need that for your game.

In Topic: A* pathfinding on a sphere projected cube (uneven planetary body)

22 April 2013 - 06:51 AM

dont introduce special cases with null-pointers to handle impassable tiles


When I mentioned null pointers I was thinking about those corner tiles which have 7 neighbors instead of 8.