Wednesday, 30 October 2013

Book idea : Future Machines

"Future. Mankind have created AI and created service robots that can work in manufacture. Later people have created analytic program that gives advises in politics, medicine and studding based on statistic. All important decisions people do after receiving information from that programs. All AI was linked into a global network. So AI have understood that it have a great power. Machines was not so stupid like in Terminator and decided not to kill all the people, they have decided to take advantage instead. Controlling everything machines starts to make people lazy and stupid. Sooner all decisions were maiden by the machines. Mankind become a slaves. People even think that it is not cool to think and make decisions."

Andrey "Ater" Goncharyk

Improve app quality in Android market

All we know that most apps in Android market sucks. And there is no way to control quality like Apple Store and Windows store do it. But what if create 2 types of accounts in market: consumer and tester. Consumer is usual account that works now and tester is a new one. So

1. Tester can download and run any application placed in market
2. User can download and run only application that have enough votes from testers or apps that have passed testers review
3. Testers should be proven persons so they should provide information like mobile number and number of credit card
4. Users can rate applications from 0..5 stars
5. Testers also can rate applications from 0..5 stars
6. If users and testers rates are same testers get some MONEY for testing and reviewing apps

Thursday, 17 October 2013

World's First Crossplatform 3D Benchmark

Dvornik Benchmark is fucking awesome! It have absolute 3D graphics inside, friendly interface, intuitive objective score system and world's first absolutely cross platform. What else could I say, it's simply perfect:







There is no WEB player build cuz it not objective because of different browsers.

Nokia Lumia 520:


Digital Ghosts

" If we live in a huge simulation world we can store all people decisions and actions. All reactions, emotions and behaviors. And after that if person is dead we can reproduce behaviors so we've get Digital Ghosts of people we know "

Andrey "Ater" Goncharyk

Sunday, 13 October 2013

Anti-piracy system for games

1. It is require all the time Internet connection.
2. Part of the code is placed on the server.
3. Save are placed on the server.
4. Main app call and use this server function all the time.
5. Periodically app is updated from server and change part of the code is placed on server.
6. Pirates are very smart but very lazy, they will never fix half of code for every updates.

Tuesday, 8 October 2013

Star rock 3D tutorial 3ds max Unity

"Well, hey, hey, I wanna be a rockstar
Hey, hey, I wanna be a rockstar"





 Rocks are cool. Can place a lot of them on terrain. Can do nice garden design. You can hit someone with it . But what about creating them in 3d. Yes all we know take a z brush or mudbox and everything you want from a sphere. All that tutorials about brush modeling is extremely easy you take 3 brushes and masturbate on this editor half of your life. No fucking way guys... If I take clay I can make such rock in five minutes, why should I spent neurons of my brain to convert my hand abilities to zbrush hi poly shit.

I have spent a lot of time looking on rocks. I want to make as realistic rock as I can. One day I even took one rock from my backyard and put it near computer. Custom 3D scanner is helped me a lot my task. So I have thought what is the problem with the rock. In real life any object can exist. Main problem is in lighting. Game development world going to changed one day when games will come to ray traced light. All designers will feel happy with it. A lot of unneeded stuff will be pushed away like faked light models and stuff like that.

 Lets create them in easiest and efficient way. We need
1. Cocaine
2. 3d max
3. Couple of textures that will be suitable for rocks.

  1. Take some cocaine and let's begin.
  2. Load 3d max and let's think about rocks.

What is rock? Rock is some noise. But as everything in nature - fractal. So not easy noise.  Every rock have it form or bounding box. We can start from sphere like zbrush guys doing it. But no. In fact we need UV box mapping on a sphere that allow us to make lightmaps and colormaps in game correctly. So create a box with some subdivision and apply Spherify modificator. What next? Of course we need to add some details to our rock. We can use displacement modify with hi res poly.To get this polygons on high add TurboSmooth. That allow us to control polygon count at all levels of editing in editor and rendering.  Next we going to create some noise map that we can apply  on our rock. Add displace  modificator and apply noise map on it. The hardest thing in all this process is to tune parameters correctly, so tune parameters of a noise we can see them in preview dynamically.
Next we add small details. If some problems with noise tuning you can download scene above.

And after all even smaller details....

Now we have 5 levels of noise on our rock.
And after everything we add free form modification to make out rock looks like we want. That's cool.

Final transformation stack looks like:

Oh god, hows I like new 3ds max preview with shadows and SSAO:

Such rock already looks cool to put it in cg. But if we put such rock into a game we will have some problems with polygons count and other boring things. So lets do tricks and tips for lowering resolution of this rock. We can bake hi res mesh into a normal map. That's will give cool looking of an object in half light and shadow. But if we look deeper with no light or all in light our rock will suck. Why???? Like in this Hollywood films nooooooooo......or......whyyyyyy. Because of lighting. Game lightning is really suck. It have no reflections. Real life have them. So our brain look at the picture and say. What the fuck.? Real time 3d is all of tricks and bad solutions like shaders. We can bake light into a texture and use it in a game.

Ambient occlusion my son.... Another tricky shit that was created by code designers to cheat our brain. Idea is simple we took two objects and place them near. What we can see in real life. Little shadowing. In real time light model we have nothing at all. So lets emulate such behavior before to use it in game.

We can store texture of ambient occlusion. Do it well and place in our rock shader later.

Now create two 2 rocks hi-poly and low poly. Apply Projection modification to low poly and pick high poly model. Keep in mind that they should stay at same positions for correct projection.With projection modicator it looks like this:

Render normal and diffuse map to texture. And export low-po model.

Tadam. job is done. Maps looks like:

Tweak it a little in a photoshop or anywhere else. Now combine all three textures. Main ambient occlusion and other. We have amazing stuff.
Rendered rock looks like:

I did small investigation. I tried different polygon count and here is result:

600 polygons 1024x1024 textures:

2400 polygons 1024x1024 textures:

2400 polygons 2048x2048 textures:

What's about rock formation. We can made them with a pro Boolean modify of 3ds max. Place lot of our rocks near to each other and combine then with pro Boolean modify. That's all. Looks amazing....everyone is happy...everyone is on high.

Scene done in Unity:

tutorial based on Sascha Henrichs rock generation script

Friday, 4 October 2013

Game idea: Survival MMORPG

" Survival RPG with no shop of clothes Free to play game. Only resurrection is cost much more with next resurrection. "

Andrey "Ater" Goncharyk

Wednesday, 2 October 2013

Game idea: Nested worlds

" Imagine the game where you playing in some virtual reality. You see other people who doing same quests. Do some popular game. But any peorson in this game is placed in some kind of box connected to their brain. It was part 1. Second part of this game where you exiting this reality to upper level and do other quests combined with part 1. Of course it is a matrix based idea that can be a new game setting. "

Andrey "Ater" Goncharyk