Monday, November 1, 2010

Module 4 - Digital Effects - Lesson 1



Particles




Scale rate by speed – good for moving object e.g. missile




Cycle emission – timeline based

Toggle on Is Dynamic.

Max count – caps amount. 0 = none, -1 = infinite

In the render attributes of the particle shape. Multicount = number of particles. Radius = spread. Point size = size.




Only hardware render can be used for particles (sprites can use mental ray)

Lifespan on particles v important. Need to fade away or not believable.

Random range can be used with liferand creating a + and – of amount.

Better to use Lifespan PP only and write an expression.




E.g. particleShape1.lifespanPP = rand(1,2); can MMB from the editor into the workspace.

Particle options – Creation – calculates once at the first frame for whole sim.

Particle options – Runtime Before – every frame. How it behaves when ‘alive’.

Per object = whole, Per particle = individual.

Colour value can be over and under 0 and 1 to create super whites and blacks.

Change to HSV.




In the render attributes toggle on colour accum. It will make the colour more vivid.

Turbulence will move the particles off its initial path.




Reduce the Attenuation, attenuation affects the magnitude drop-off. If set to 0 for a field then the locator can be moved out the way without it affecting the particle direction.

Magnitude = strength.

Frequency = how quickly the sim changes.

Phase x,y,z used to swirl, only one normally needed.

Use ramp for colour and opacity, fade in and out.




Min and Max distance can be used to start sim not from centre. Like a barrier for its initial state.

Switch on multipass and increase to 36, also increase hardware render samples to maximum.




Window/render editors/hardware render buffer. Render sequence then flipbook select/play fcheck.

Instancing




Create a poly plane, then got to particles/emit form object. Make sure surface is checked in the settings other wise it will be from each vertices rather then random on the surface.

Then create 3 different sized blocks to represent the buildings. Insert then hold v to bring controller to bottom of cube so when scaling bottom stays on plane.

Then hold x to move building onto centre of the grid. Delete history then freeze transformations. Then move out of the way. Do for each.

Select geometry then go to particle/instancer(replacement)/options. Make sure all the geometry is there and click allow all data types and make sure the particle system is selected.




Create a custom generalPP with float and PParray selected call it building index.

Create expression rand(0,3)




Go to Instancer (geo Replacement)

Toggle on allow all and in object index select building index.




If wish to paint particles rather then omit from plane, got to top view the go to particles/particle tool. Click where want particles and the press enter when finished.

Sprites




Create plane emit from surface with speed 0.

Apply a uniform field with settings 0,1,0 for direction. Attenuation 0, magnitude 0.1.

Render attributes, change particle type to sprites and make their size 4,4.

Apply turbulence field with attenuation of 0 and magnitude of 0.1.

Go to the emitter and reduce the rate to 25.

Create a lifespanPP expression of rand(6.2,7.5);

In Photoshop create an image 500x500pixels.

Fill with chosen mid colour.

Go to channels and create new, should be an alpha.

With soft airbrush, flow 10 create random cloud shape.

Save as targa 32 bit.

Create new Lambert, file, and attach targa.

Select sprites, RMB and hold on the Lambert in the hypershade, and move the mouse up to Assign Material to Selection and release.

In attribute editor create a new colour attribute but make it a per object att.

Set RGB to 1,1,1. Click Depth sort on.




Create OpacityPP and apply a 4-block ramp, black in and out.

No multipass needed.

To generate from a black and white texture go to Photoshop and create an L shape of black on white.

M + Shift to select multipart’s to marquee.

D resets the colour.

Can save as jpeg.

Attach the texture to the plane.

In the emitter texture emitter attributes, MMB the texture across from the hypershade onto the texture rate.




Click enable.

To copy particles from one emitter to another, select particles, go to relationship editor, and click on new emitter.




To create mist falling create uniform field with either magnitude -1 or direction y -1.

General/particle/sprite scale for both xPP and yPP and the create a runtime before expression.




+= will create a continuous change.  Use += 0.02 for both. This will cause the sprites to scale up over time. Also increase the magnitude.




Open up sprite texture in Photoshop, cmd + m to open up curves, and create highlight of texture and save (cmd + shift + s to save as) also make shadow version.

Back to Maya, in the hypershade select the texture of the sprites and go to the attribute editor.

Toggle on use image sequence and delete the expression.




Go to interactive sequence and make start 1 and end 3.

Go back to image sequence and at frame 1 set key with image value 1, 2 at frame 2, 3 at frame 3.

Create a new creation spriteNumPP set to rand(0,4);



Fluids (Own Research)


- Density = substance = opacity

- If D=1 and O=1 then no light

- Higher density means thicker fluid

- Simulation rate slows down the speed of the sim. Good for volcano in distance, slow moving and powerful.

- Drop off value fades edge.

- Increased swirl plus texturing of fluid with inflection checked will create a smoke that rolls back in on itself.

- More frequency = more detail, gives illusion of larger smoke. Turning self-shadow on also.

- More vertical drop-off for opacity, with input set to density will also give illusion of denser larger sim.

- Keying buoyancy and emission will give chugging effect. E.g. chimney or exhaust.

Module 3 - Advanced 3D Modelling - Lesson 1

First character drawing in Photoshop.
Photoshop Shortcuts

- Ctrl + n = new

- Ctrl + shift + n = new layer

- Ctrl and + or - = zoom

- [ and ] changes brush size

- Hold spacebar then left click to move when zoomed in.

- Changing to HSB instead of RGB is easier for tonal work.

- b = brush/pencil

- e = eraser

- m = marquee

- v = select

- Ctrl + r = ruler

- With brush selected hold alt for eyedropper.

- Ctrl + alt + z = continuous undo.

- Tab = maximizes workspace.

- Set up your workspace via window.

- Ctrl + left click = jumps down layer

- Alt + drag = duplicates layer and moves it

- Use overlay and soft airbrush to enrich layer below.

Recap on MoCapRecap on MoCap


- Once the full body scan has been imported, poly reduce to approx 30,000. (All but head)

- Mesh/cleanup/non manifold (object mode)

- Mesh/reduce/20% (vertices)

- Create skeleton (display/animation/joint size)

- Move arms to T position and bind to dummy skeleton.

- When large number of vertices need to be painted, select them (ctrl + shift to select without unselecting), then window/component editor/smooth skin tab, and with the joint you wish them to painted to selected, change their value to 1.

- Delete history (and dummy joints)

- To smooth out the stretch of the arms, select the problem vertices, then go mesh/average verts.

- Import motion capture (long timeline)

- Bind then delete locators.

- Paint weights.

Module 2 - Digital Compositing - Lesson 1


F = frames the workspace, h = frames to the maximum edges, spacebar = opens
a workspace in full, tab in the viewer changes from 2D to 3D, tab in the node area 
opens up a type box to select nodes.

Use Bezier curve (V) to create mask. Only the alpha should be toggled on with
the left output set to RGB and the right option set to RGBA.alpha.

Then create a Premult node to remove the baground and just leave the part that
you want. Only thr RGB settings should be toggled on not the alpha, and the
multiply settings should be RGB by RGBA.alpha.


Multiple beziers can be placed in a chain to mask out a larger scene rather then
try and do it all in one go.


The merge node only has two inputs, one for the foreground and one for the
background, but multiple merge nodes can be placed in a chain.


With difficult objects to mask e.g. a body, colour grading can be used first to
create a matte, then a Bezier to choose the area to be used, before finally a
channel merge can be used to combine them together.


An erode node can be used to clear up any small problem areas.


This can then be combined with other the other masks with another channel
merge node to create a final mask.


A Bezier and grade nodes can be used to clean up, before a premult is used to
take the background out.


Placing images onto cards allows them to moved around and scaled in 3D
space.


In order to make a flat object appear to have more depth (2&halfD) a second
identical Bezier is created but with all channels toggled on, then a blur and then a
displacement geo node.


EXPtool can be used to enhance and colour correct the the image, then a deform
can be applied to the background card, for example give it a curve to enhance the
the energy of the final comp.


A scene node allows multiple objects to be viewed in 3D space.


A scanline render node then allows this 3D scene to be viewed in a 2D view. A
camera is also attached at this stage which can be animated.


A write node is used to render out the final comp.