Project_2_Week_04.

I started scene modelling this week.

Maya is the primary tool I use for modelling.

For some other special items, I used Houdini for procedural modelling. such as shutters and pegboards

First, I built a general scene in Maya, such as determining the location of the wall and the ground.

The second is to determine the height of the desktop.

For the desk, I refer to the dimensions of IKEA. Because I want to make sure that keyboards, monitors and other things have the correct size.

As for the display, I measured the size of the monitor. And modelled in Maya.

The model of the keyboard is downloaded by me on Sketchfab.

Next are the shutters. I would like the shutters to fluctuate over time so that the shadows can also move. But if I model each shutter in Maya, I must keyframe each shutter. So Houdini is a better choise.

The first node is to create a cube and transform it into the shape pointed by the red arrow.

The following two nodes are to bend the slice on two sides.

And here we have a slice of shutters.

But we still need the hole on these slices and the cable connecting them.

But before I start boolean. I need to create a group of this slice.

And I am going to use the node called copytopoints.

The node copytopoints has two input: meshes to clone and point to attach.

Points are generated by segmenting a line segment.

Then I perform a boolean operation on the two to get the following result.

Then I can use a transform node to control each slice rotation.

I used a sin expression here to make each slice fluctuate over time.

fit10 (sin($FF),-1,1,-21,10)

fit10 expression is used to map a range. Sin expression is a wave between -1 and 1.

And -21 and 10 is the new range that used to replace -1 and 1.