Final Gathering!

Just a lot of new models and animations… Comes the GIFs as usual 😛

pinkballplaybirdbutterfly1

Interactive butterfly here!

crowdcrow

deerLiemanegg

For the egg I use Instantiate () function, random three models (tell from the hair!) with slightly different animations and skin textures, from the three fixed position by slightly different generating rate. And destroy them after they go into the egg.

Similar for these birds below!

buildingSignal

Comparison2016-08-17 06.02.51

swimboardbuildingBallPanobuildingCrownBirdbuildingScrewbuildingScrew2birdEvil

I’ve also got quite a lot walking around figures as NPCs (simply because their poses are just impossible to be position static :P) Got a wander script for them from this site http://wiki.unity3d.com/index.php/Wander, really great resources here btw! And added a boundary by the MathF.Clamp function, and rotation when they reach the boundaries.

Comparison2016-08-17 06.02.41

More of them are in the water:

fishswimmers

These four below in the air are wandering too but not by that script because it uses a character controller with a collider so that they won’t go into the terrain..

屏幕快照 2016-08-20 17.59.13屏幕快照 2016-08-20 18.02.38

But among all I like this jumping dancer best! Could you give my camera a front face though lol

owl1owl2

ID photo.

CloseUp2016-08-13 18.36.20

More static images..

屏幕快照 2016-08-20 16.41.12屏幕快照 2016-08-20 16.41.27

The red team and blue team

屏幕快照 2016-08-20 16.59.02屏幕快照 2016-08-20 16.58.43屏幕快照 2016-08-20 16.59.25

屏幕快照 2016-08-20 17.01.06

flower arrangement lol屏幕快照 2016-08-20 17.01.49屏幕快照 2016-08-20 17.02.35屏幕快照 2016-08-20 17.05.41屏幕快照 2016-08-20 17.05.52屏幕快照 2016-08-20 17.06.11屏幕快照 2016-08-20 17.06.41屏幕快照 2016-08-20 17.10.27

CloseUp2016-08-15 15.41.05Comparison2016-08-17 06.05.24Comparison2016-08-17 06.06.16

Done with the Pond

Haven’t updated for two weeks since I was writing the dissertation and, creating new model & animation assets that don’t really deserve a post..

屏幕快照 2016-08-07 17.03.17

Now everything in the pond part is finished and I grabbed a video like I did for the circuit here. There’s also one controlled by scripts here and this time it’s an interaction:) Some environmental particle system details as well: sun shafts, falling leaves, some shining “dust”, and bubbles – exist in the painting I think they should be bubbles but who knows….

One Problem of the video is the blur on the right of the screen. I always get this in game mode if I have camera effects (even the build file has this too), and, this was tested to be the problem of my mac because others’ don’t have. No idea how to solve it at the moment..

And the third person controller model is changed now! Made some animations for him cos I thought I use different mesh and rigs with the Unity Ethan but, the fact is that it’s just super easy with no use to make any animation. Just import the humanoid model and do the configuration. Brilliant.

Found an easier way for couple animations, that I can export them in one fbx file, drag into the scene and delete one of them, and give the left one a clip with the original avatar. This would break the prefab but doesn’t really matter and it’s a lot easier to control the position etc.

Very proficient with the modelling and texturing now feel a bit sorry for those made at the very first lol.

屏幕快照 2016-08-07 12.52.24

Come the gifs!

dragonfruit

peachbirdeatowlupdown

The interaction is this hugging couple controlled by a boolean. When the player comes into a distance they’ll stop to be as the interrupted  pose in the painting, and when the player goes they’ll continue what they were doing 😛

cp

Less than two weeks left dunno if I could finish everything… Go back to work!!

diao

More Humans Start moving in

Humans are moving into the garden to make it (because it is) a better place -.-

I’m making all those human moves these days. Basically several clips that are in the same crowd or sharing the similar poses in one fbx file. Like I now have 10 clips in the ‘sit’ model, 11 clips in the ‘standing’ model, and 4 clips in the ‘carrying’ model. Although they use the same armature, since in the Unity scene they would have the identical pose which is the first frame of the first clip in NLA editor, then it would be very hard to adjust their transformations and parent-child relationships if I just used one model.

Making armature animations is fun. (The disgusting part is weight painting though – since I had more poses than just riding now, I’d found the weights were not that right at the hip part and it took me a whole afternoon to repaint it, to ‘basically right’. See the upper parts of the thigh is still quite weirdly swelling) But if you want to make them moving naturally, then you have to take care of every bone. Walking is obviously much more difficult than sitting, and like how you walk, every bone have to move to make the whole body move naturally, even the toe. Also the centre of gravity is important! The GIF below was initially for carrying a burden, but for quite a long time I felt it had been more like dragging something. I think the most important part for the centre of gravity should be the hip bone (the cyan below) – position as well as rotation.

carry

Below is a combination in the real scene of several animations. The branch is set parent to one hand, and to make it move but not rotate, I have to be very careful with the hand’s bone and set it to the same rotation of every key frame. That was not very easy because the hip the spine the chest and the arm rotates all the time to look natural!

carriedbear

And another combination: the same person with the left one above but this time he is dragging a frog.

dragFrog

This one below contains more parent-child relationships. Actually I quite like this kind of thing because although it seems more troublesome, but once you got clear who will be the child of whom, then after dragging them in, the whole animation would seem quite good because everything seems moving along with each other and that makes the natural sense.

ship

And a sitting crowd here. For a crowd of people like this as well as those trying to catch the red ball above, the differences between each other are very important. People can’t move with the same rhythm and the same movements. So one thing is to make more clips with maybe just slight differences (like they are all sitting but some are supporting the body with one hand or two, some shaking legs or looking around, etc), and the other thing is to use different speed for each animator controller.

strawberryUnity

Another thing except from the animation when importing these humans is that new models and textures as most of them have their own stage properties… (That could be another ‘default’ factor of being natural cos it looks that everyone is really doing something..) And here are the big birds in the pond.屏幕快照 2016-07-23 18.58.17

I really enjoy the time restoring these adorable creatures by painting new textures, and I try to make them more like birds by adding thin strokes to create a feather-like material but not a colourful plastic. But, well, it’s not a good habit to take screenshots because I always feel that I’ve saved it after I make the screenshot. How much should I pay for my stupidness before I can get a degree?

屏幕快照 2016-07-24 17.41.41

The Architecture 5: Keep Modelling…

Come to update the latest progress of the project.

Now just finished the last two giant buildings on the top right of the painting. Seems quite exciting but still great many of the small pieces everywhere ohhhh hope I could finish all of them…

Anyway. Kind of getting bored with these models of the same kind of vivid colours and I don’t feel in this effect they look as good as the ‘sketches’ in Blender. By the way that inner organ like thing was really crazy to model…

屏幕快照 2016-07-12 20.47.11屏幕快照 2016-07-14 22.45.00

But the screenshots in Blender in the unfinished editing scenes look very cool and technical, especially with the blank and missing-data shapes! I suddenly feel that it would be a great modern version related card product or something.

 

屏幕快照 2016-07-12 20.00.22屏幕快照 2016-07-14 19.38.23

I can actually choose the Unlit texture shader in Unity so that it would look as flat as in Blender windows because they wouldn’t accept the lights and shadows from the environment. I’ve talked about this before and then felt it’s still better to have some more 3D ones. This is really contradictory maybe I just don’t get the good way to balance these knotty needs. Who knows.

A small ‘documentary’ here!

modelling

The Architecture 4: Experiments with Water

The third big building seen in the game mode (with some vignette and bloom camera effects, just the experimental version), and also the newly updated painted skybox, fog and some faraway mountains!

Didn’t really care about the upper and downside parts because they’re out of sight, and now flaws are that although I made distortion close to the sides, they still act quite square-like in the scene. And the seams can be seen. I’ll leave it for now.

buildingball

屏幕快照 2016-06-24 11.47.30

The “real colour” in scene. And there’s a black ball inside to make the shadow effect..

I used two pairs of particle systems to make the two fountain things. One dropping column of water and one for the spray (because it seemed not very natural and also it’s rather complicated to make the collisions so I’d fake it).

The renderer I used is stretched billboard so that the water seems quite coherent but not like stupid squares. Higher emission rate than the default setting and a decreasing curve of the size to make it like in the painting that rather smoothly flowing at first and getting thinly scattered later. I also set the order in layer to 1 or the particles would be weirdly blocked by the river water in scene mode. And for the material, I tried all kinds of shaders including the particles ones and water ones in FX and chose the Water 4 in Unity’s standard assets, and used my sky texture (which is exactly a white to dark gradient) for the internal reflection.

For the bouncing spray I used a capsule mesh instead of a billboard.

buildingballwater

 

The Architecture 3: Painting Texture & Physics

I found I was being so stupid to paint the textures using just Photoshop based on the exported uv “blindly” before, it was so slow and painstaking and there were quite a lot flaws because of the non-contiguous seams. And I learned from the Night Cafe Project that he used Mudbox to paint the bitmap directly and turns out nice so I am considering to get one too.

But I used Blender’s texture painting this time for the new building. It’s much easier than use only Photoshop although the hardness of the brush is unchangeable and it turns out the vague edges which is quite unpleasant.

I also tried the unlit shader as used in the Night Cafe which creates an amazing painting-styled environment. It’s kind of a 2D-like 3D, but I have to say at this stage the flat colour is not really compatible with others and everything needs to be changed if I wanted them to fit. I’m going to change the skybox, but I have no idea if I can manage the terrain and plant. Also the style of Bosch is more realistic and not like Van Gogh’s, and there’ll still be reflective materials like glass and metal so, I’m not sure now but maybe it’s not suitable for mine. But it’s good to know this technique.

Anyway I’ve just finished the second big building and I tried more with the joint physics which was used on the hanged red ball on the above pink building.

屏幕快照 2016-06-29 13.19.08

This time I tried to make the branches waves so I gave it a try to separate them into pieces and add joint physics. So as how people make rope physics, the tip one is the child of the former one which is again the child of the one before it… But if I still use hinge joint then they’ll collapse like a hinge will do and a branch is not gonna be soft as that. So I tried fixed joint. It turned out nice to wave like a branch but the problem was it would soon stop even though I turned of the drag coefficient. And then my solution is to tie something transparent as hinge or add some constant force to the top ones, as well as add their mass.

For those grow upwards I unchecked the “use gravity”, just use hinge joints and add an upwards constant force to the top one, so it moves like a balloon – maybe they seem a bit too much “enchanting” for a branch though.. Just because fixed joints don’t wave so much and would stop soon even if I added force. There might be some solution to the fixed one though….

buildingCrown

Hopefully it wouldn’t seem “so much” after the other moving elements (creatures) are added later.

The Architectures 2: Start with the Giant Building

Finally finished something again to post a blog! I was making one of the most complex buildings (I hope it will be the most, but…huh), and the texturing, occlusion / all kinds of maps of the complexity drove me even crazier than modelling, placing and the combination, which seems just alright from this not really perspective view of speciosity, while it did become like impossible when it came into 3D… and also don’t ever forget the terrain and humans to see if they will be able to fit in.

Anyway this completely pink squid building has now appeared in my scene. Seems I’m getting more familiar with drawing textures baking lightmaps setting materials things but, this is only one of the five equivalent complexities… so good luck and hurry up I can’t afford to spend as long as this for them…

There is one thing special I’ve done to this building. I just took the attempt to search for the rope physics and there are plenty of tutorials so this became something a bit more interesting in this scene so far… I hope the tree can wave too but I don’t want to bother with the tree system now and there is nothing in my assets looks similar to this.

rope

Some other small things before I started with this pink building:

 

For things with decorative elements of multiple materials, I duplicate the model, make it just a little bigger and give it another fade / transparent shader or rendering mode, with a height map. Like the bump circles in the left pic and some metallic rust in the right. There is a subtle difference in reflections when you move around which looks quite nice.

berries

And these are just simple rigid bodies so that the berries are rolling around, and when you walk there to kick them away.

The Architectures / Artefacts

(Now my plan is to use a third person controller in a nude human’s shape to go through this place. I haven’t made it and I’m just using the default one at the moment.)

This post is about the architectures or artefacts – not really sure what I should call them – that I have done so far.

The working process is I create everyone in Blender, export UV, paint in Photoshop according to how they look in the painting (not edit the painting to fit the UVs), and make a suitable material in Unity. Sometimes it would need to go back to Photoshop, change the patterns and reapply them again and again to reach the satisfactory effect.

There are always times that I hope I can write my own shaders when I find it difficult to get the effect I want, especially for the cutout/reflective things. Actually I don’t know well about those so many kinds of maps in the shader’s parameters so the learning process has been numerous experiments (well I think I should find some tutorials to go through these systematically). But so far things turn out not bad.

屏幕快照 2016-06-18 20.37.02

屏幕快照 2016-06-19 12.10.28

I didn’t want to bother with the plant branches and vines so I used cutout/fade shaders on some planes rotated to all angles to make sure they can be seen from everywhere. I hope they can wave like grass, but terrain grass waves like the whole thing moves (the root should be fixed) so I gave it up. The planes don’t seem as good as the real models though.

The glass ball has some cracks. But I didn’t find a proper setting for both the semitransparent  and the solid crack, so I duplicated the ball and allocated them two different shaders to compose like a single object.

And the orange stele, with the ball on it, has 400 pearls placed manually… A single texture would not have different materials, and the cutout texture would not look solid and reflective even with height map. I think there must be a better professional way to do it, and it’s like I just forced it very stupidly. It’s like a manually made luxury, isn’t it..

The Riding Circuit

All those with quite special poses are done and I’m starting to set the first scene in Unity tomorrow for them.

I found I might have made big mistakes to sculp hair in really tiny messy faces topology which could result in great computing and that should actually be the work of texture and height map things… because of my lack of experience in modelling. And I still don’t know yet what I will be faced with when I do the texturing later…

The Encyclopaedia of Riding Poses

circus

Never think something is easy before you have ever done it!

But are you humans really alright doing this… on a horse…….

屏幕快照 2016-05-31 23.35.28

Blender really drove me crazy when I was firstly doing the animations with more than one pair of the rider, which was the two humans on a camel one. Because I used the same rider prefab appended into the model, the two humans were always in the same poses although they have respective rig. And if I made multiple actions for one model, like the common horse, then they always messed up with some actions seemingly gone nowhere.

So I stopped to look for some explanations systematically for the action editor to avoid keeping wasting my time trying to clear up things or losing my animations that I paid great efforts on….

屏幕快照 2016-05-31 23.43.35

This should be basic knowledge of using Blender but I still wrote it down here… So actually each single object can take only one action at one time. That object is the ‘user’ of that action, and each action can have multiple users which is shown as the number after the action’s name (4 in the picture). When no one uses the action, it will disappear after closing the file; and F is a fake user which means there will always be the user for the action.

So when I used two humans on the camel, they were identical because I was trying to make them in the same action… and they got alright after I allocated them into different actions. And I can keep many actions for one model which is obviously better for my importing them into Unity later.

But I was still quite worried if Unity can play the different tracks for one model since I had just done some simple single animations before. So in this project for the first time I opened Unity and created my project today lol.

 

 

The model imported into Unity is still separated by object as they were in Blender. And actually I just set the default take and it was exactly how I saved the animation (set it ‘legacy’ and loop time to make it keep animating). However, some small things in the models did not work properly, like the eyeballs. I made them separate objects to the body, but in Unity they came out of the head, and also I feel the relative position of the humans to the camel is slightly changed. This is not a good sign… but for now I just test if the animation can work in Unity so that I can go on with my work in Blender.

Anyway, so far more than a half of the circle has been done. I now get quite familiar with the process of parenting the rider prefab with the bone of the mount where he sits on, and then making the animation for other parts of the body.

Did very delicate key frames for not only the body pose but also the gesture and facial expressions, and cleaned up the problems in weight paint along the work. Now feel great satisfaction when looking at these together! Really hard work literally did nothing but this for the whole days but the time is still extremely tight for the tremendous pit I have dug for myself……….