Blogs

Andy's picture

Sundial simulation

Sundial

Some weeks ago, I have implemented the lighting components in VRMath2 Editor. There are three different lights: point light, directional light, and spotlight. In this blog, I am using the directional light to simulate the sunlight for casting a shadow on a sundial.

Andy's picture

Christmas scene

Christmas scene

What do you imagine for Christmas? Although Christmas is in summer time in Australia, I can still picture a snowy scene of white Christmas. There are snowflakes falling down from the sky. The ground is white in daytime and gray in the night. Trees could be green if not covered by snow. There is a snowman sitting on the ground, and some Christmas music....

Andy's picture

Snowman

Snowman

There are many different looking snowmen, I think this is a classical one.

I utilised the available 3D objects in VRMath2 Editor to create this snowman. The placement of objects requires clear thinking of location and directions. Objects also need to be scaled. A couple of trial and error should work out suitable scales.

Andy's picture

Resizable Christmas tree

Christmas tree

This is a simple Christmas tree consists of a cone and a cyliner. In order to create multiple trees with different sizes, I have included an input into the tree procedure.

Andy's picture

One snow

One Snow

For the Holiday Season Challenge, I thought of creating some animating (flying) snowflakes. So I started with creating one piece of snow. My idea is that this snow should fall from about 30 meters above ground. It should fall with some acceleration but not to fast because it is light. It should also spin a little while falling. For an easy beginning, I used a scaled rectangle to be the snow. If this works, this snow can be easily transformed into a more beautiful snowflake, and it can be multiplied to create many falling snowflakes.