3D scanning runimations

 
 
 

this above link is a nice little process video for the David scan. it looks like the light is structured in a pattern of alternating stripped boxes. I can’t tell if it is animated or not. Point trackers really like right angles when trying find good tracks. When I get to a machine where I can run Matchmover I will do a test to see what it does. My intuititive response is the projector needs to cycle between bright uniform light (to record the color map) and the structured light projection to determine the contours of the single point view from the camera. Multiple snapshots are then fused and the UV color map is trimmed to fit the patches of mesh. The less the angle of the turntable the better the color map fits the object without stretching. If you notice the donkey back got no geometry…and was fudged. The camera was set a bit low.

 
The need for the screen in the back is also interesting. It mean the object size is limited by the size of the screen.
 
Inline image 1
 
In the meantime I started thinking about Normal Maps
Normal maps are a means of adding surface detail to low poly objects. The color channels are used as vector information and “distort” the surface. Since this is being done at the rendering stage… gamers like this method because it keeps the poly count low for the CPU.
 
Because all the 3D scanners use the color map to add surface detail – I started wondering if the use of three lights (I am thinking panels of Red Green Blue LEDs for very wide lights) – this method might produce a facsimile normal map. That then could be applied as a texture to modify the surface. There would need to be some differencing between color map and the normal map and would most likely limit the exercise at first to white objects.

Big City

First renders of Big City. This is the opening shot. I have about a third of the countryside built in Maya. In this shot I am using a ramp shader (light angle shader in the toon menu) for all of the buildings. Placing several colored directional lights to light the scene creates new additive colors. Choosing the hue of the lights started with a systematic approach, Two lights 180 degrees to each other and 180 degrees opposite on the color wheel. Then 30 degree rotation in z at hue offset of 180 degrees…. With two lights one can mix them to create white light. The more lights in the scene the dimmer they need to be. In the end I had a “sun” light – a single primary light casting shadows and five other color “wash” lights. Some of these lights have intensity that is animated. Remembering an old cheat… a negative intensity light takes light (and color) away from the scene.

icQTown script was used for the city. (a real fast build) When using icQTown I found that the larger the polygon the taller the building. So a proportional scale of the center of the grid creates a nice “downtown cluster”. The rest of the houses, trees, are placed using Level Tools. Like I said… as soon as you get the materials in hand it is a very fast build.

Rendering shadows using the toon shader is a problem I don’t quite know how to resolve. I began using “depth map” shadows but I get weird looking flashing shadows filled with triangles. I believe this is what is called “unwanted artifacts” Placing a 3D texture (rock) in the shadow color produced a wonderful grainy soft shadow. But the unwanted artifacts prevented its use. I am planning to use a shadow pass and add the grain in post.

having wonderful time… wish you were here.

 

 

STEMS – V3

Andrew Hlynsky provided the original audio tracks for this work.
1. The tracks were made into keyframes in After Effects using the keyframe assistant.
2. The sets of keyframes were scaled so the max variation was five units.
3. The keyframes were copied and pasted into Microsoft Excel.
4. A simple =(current field) + (field directly above) formula produced a series of progressively increasing values.
5. Additional fields of Maya Mel commands were added – copied and pasted into the rotation channel of the cylinders.
6. long n-hair were attached to the cylinders. Gravity and wind were set to opposite directions and balanced to make the N-hair curves float.
7. “chalk” paint effect was added to the N-hair curves – as well as “watercolor spatter.mel”
8 All was processed back in After Effects.

playin with n_hair

I have been fascinated with the n-hair tool in Maya. The tool creates and array of “follicles”. These are placed on according to the UV layout of the surface. Each node creates a curve and surrounds the curve with paint effect stokes. These strokes can be clumped or multiplied. I am less interested in the hair strokes than generating curves.

My experimental background has led me to using the curves minus the hair. Then stroking the curve with a simple paint effect. My “go to” effect is “simple pen” It draws a clean line.

Here just four curves are used. They are fairly long at 24 units with 24 CVs. Animation keys are isolated to mass, flexibility and attraction to original curve.

After render the frames are brought into After Effects and TimeBlenFX is applied twice with vector blur set to -6 between the TimeBlendFX nodes.

out there

I have been working with my son Andrew (nanocannon) Hlynsky toward the goal of using sound to automate attributes in Maya. Here is an initial result. The loop is repeated 12 times.

1. sound loops (tracks) are brought into after effects
2. Audio Keyframes are generated and adjusted to the proper range.
3. Copy
4. Paste into Excel
5. Add the rest of the script for each frame (fill down)
6. Select and Copy
7. make certain Properties are set to the correct frame rate – After Effect and Maya should be the same. Then turn on auto keyframe and set a key for the target attribute
8. open script editor and paste
9. run the script