Tuesday, May 31, 2016

Camera!


The first three cubes were entered independently, and each needed
a different script to rotate. The top three cubes were created programmatically,
as well as their respective rotation instruction. The whole is scripted on the camera
so that these only appear when the game is on.



                                                                        


Sunday, May 29, 2016

My Homie

Couldn't resist giving a bust of Aristotle some colouring and an expression. That
was the original idea. after all, that the likeness of the person would remain.

Looks austere!?




*   *   *

On the work side, I now know how to add a script in a Unity project: the cube rotates
when I am in game mode.

                                                                                  

Using the mouse on an object, while holding down Alt allows on to go for a better placement of an object in perspective view.


Channel9 tutorial, Coding4Fun

Getting Badass:

                                                        



Saturday, May 28, 2016

Switcheroo

In my quest to learn game development with Unity, been pondering something of a mathematical issue.

Like most game engines, Unity uses a left handed orientation system. My freebee 3D editor Blender, however, seems stuck in a right handed one.

So what is involved.

A right handed system has increasing z-values moving up.

 This is useful in modeling. Below, the default window in Blender.


The Unity interface, keeping the z axis running in the back, with the camera in the front:


The two systems are fundamentally different. In effect, one would need to swap the -y and -z axis.

Below, the short arm is -x, the long -y and the black -z.





There is a programming solution for images:


Things are more complicated for motion scripts, and users report all kinds of chaos on forums.
I think it has to do with the fact that affine spaces and vector spaces are not one and the same the same:


I have read that, Maya 3D, the very popular editor, does let one choose the coordinate system as a user preference.


Thursday, May 26, 2016

Movie Maker

The Cinnamon Toast Crunch cereal site offers a movie maker engine.
Enjoy!

My CTC Movie

Tuesday, May 24, 2016

Sunday, May 22, 2016

Persp

Benn reviewing perspective. One point perspective has a vanishing point in the
center of the cube:


Two-point perspective has one on each of left and right:

Three-point perspective has a left, a right and here a bottom off the drawing:
                                               
                                                                            *   *   *
So here is a little brain teaser. What does the relationship between the lengths of the outer and inner square need to be so that one is indeed dealing with a cube. Once you are willing to give up on the question, read the commentary below.
3D graphics sometimes suffer from lost of depth, a topic one finds under
irreversible transformations. Could be that well, it depends on the distance the viewer is
from the artifact.


Liv'n Lurn

So I've downloaded Blender, yet again. One of these days...









http://blog.digitaltutors.com/cover-bases-common-3d-texturing-terminology/