Saturday, 3 September 2011

Week 10 Day 67, 16th August '11 (Tue)

Problem: Compiling VEX
The last time i couldn't bring the molten shader from R&D hip file over to actual scene hip file, it was resolved by compiling as vex and installing it as an .otl. Now it's not rendering correctly (#1 image) on the actual scene file, there was no changes done.

After I wired in the mask i painted in Photoshop, it works on the R&D hip file and stopped functioning after i compiled and installed it back in actual scene hip file...

Things I tried:
- Attempted to copy/paste the entire shader network again
- Promoting map parameter on "Texture VOP"
- Vertex or Primitive UV Attribute used in Material SOP
- Checking if it's UV related issue

Managed to get it to work by saving it as a digital asset instead of compiling the vex code!
This issue took a lot of time from me...


Shader compiled and brought into actual scene file, not functioning as expected











Used mandril image to test if it's UV related, appears UVs are fine











Finally working, save as digital asset














WIP: Sparks Effect
As mentioned previously, i had 2 different networks generating sparks flying towards camera & splitting near hammer head. Here I finalized the fg_sparks (foreground) and did a quick render without the hammer model.

00_fg_sparks_main_and_split
http://www.vimeo.com/28541513


00_sh020_hhead_attribxfer_surface_spark_particles
http://www.vimeo.com/28541670
About to begin setting up takes and rendering my props in layers.
Here the hammer is already implemented with the attribute transfer set up explained on Day 66 with both main and split sparks network merged.
 




WIP: Molten Shader (Shot030)
Simple test to see how more details would help in shot 030, it would consume more time if i were to work on the molten shader again. So i decided to leave it as it is.






WIP: SHOT030 Camera Movement

00_sh030_cam_pull_out_slow_flipbook
This was the result after consulting both Evan and Steven again.

Evan gave me suggestions on how i should deal with the close up shot020, i could tile the high resolution molten mask for shot030 - that way i'll get enough details, so i don't waste more time painting a brand new mask from scratch.





Question: Using time variable in SHOP
Side-track for a bit, it wasn't exactly needed for this project.
Just something i wanted to know as i'll be able to achieve something interesting in the future.

Posted a thread and obtained a reply,





WIP: Hammer's material
There was a sudden change in the hammer's look, as i was adding more to it's color/displacement maps. Version 12 was what i had along the way, on version 13/14 - the look completely changed. I went back a few versions on the color/displacement maps to see if i could return to what i had before on version 12.

After all that testing, the problem didn't lie in the textures. I was rendering the turntable with the wrong light rig, was careless of me!

12_hammer_turntable
http://www.vimeo.com/27033223



14_hammer_turntable
http://www.vimeo.com/28178911






end.

Tuesday, 30 August 2011

Week 10 Day 66, 15th August '11 (Mon)

WIP: Hammer & Sparks Effect
I picked this up from Steven, implemented it into my scene. 
Instead of manually grouping the points/primitives using bounding box etc, I have the hammer head transfer color (Cd) attribute onto a grid then use those 'colored' points/primitives as the source for POP_Network.

Cd attribute being transferred from hammer to grid













Grouping them by expression












Adding random normals using Point SOP, which will then be inherited as velocity later












The group is then used in "Source POP", under "Source Group"













66_hhead_attribxfer_to_grid_flipbook
http://www.vimeo.com/28456101


66_hhead_sparks_particles_flipbook
http://www.vimeo.com/28459360




WIP: Molten Shader
It was just the matter of time before I finished this. This should be sufficient to pull off what i needed, can always come back and make it better...

Was rushing to finish up this map so i could spend more time else where, this is finalized for now.

While working with the shader, a warning message appeared on one of the "Mix VOP", i didn't make any major change which might had caused that warning... After some time troubleshooting, it went away after i disconnected and rewired the nodes. It was definitely frustrating having to deal with such silly problems at a time like this!






WIP: Smoke Effect
Same strategy, fired a bunch of renders at low resolution and 1-100 frame range with different parameter settings. Meanwhile working on other stuff... It wasn't my preferred workflow, judging from the amount of work left to be done - this will save me more time!

I did some test with metaballs in irregular shapes rather than a rectangular block, the results were interesting.

Will pick out the smoke i like and use that same parameter setting for my final render of smoke.

11_smoke_volume_hi_detail
http://www.vimeo.com/28293061

0.1/0.1/0.1 Freq, 10 Amp, 4 Turb, $T 0.1/0.115
 


12_smoke_volume_hi_detail
http://www.vimeo.com/28540821

0.1/0.1/0.1 Freq, 10 Amp, 16 Turb, $T 0.1/0.115



13_smoke_volume_hi_detail (irregular shape)
http://www.vimeo.com/28540907

Volume Step Size *0.8


14_smoke_volume_hi_detail (irregular shape)
http://www.vimeo.com/28540986

Volume Step Size *0.8


15_smoke_volume_hi_detail (irregular shape)
http://www.vimeo.com/28541167

Volume Step Size *0.3




end.

Week 09 Day 65, 14th August '11 (Sun)

coming soon...

Week 09 Day 64, 13th August '11 (Sat)

coming soon...

Sunday, 28 August 2011

Week 09 Day 63, 12th August '11 (Fri)


WIP: Smoke Volume
Knocked out more renders, getting closer to something which will work for my final shot.


06_smoke_volume_hi_detail
http://www.vimeo.com/28291892

0.4/0.4/0.4 Freq, 10 Turb, 2 Amp, $T 0.25/0.225
 

07_smoke_volume_hi_detail
http://www.vimeo.com/28291901
0.1/0.1/0.1 Freq, 4 Turb, 2 Amp, $T 0.25/0.22
 

08_smoke_volume_hi_detail
0.1/0.1/0.1 Freq, 4 Turb, 0.5 Amp, $T 0.25/0.225



09_smoke_volume_hi_detail
0.1/0.1/0.1 Freq, 16 Turb, 0.5 Amp, $T 0.25/0.225


10_smoke_volume_hi_detail
http://www.vimeo.com/28293061
0.1/0.1/0.1 Freq, 4 Turb, 6 Amp, $T 0.25/0.225




WIP: Sparks Effect
Simply copied FG_SPARKS as MG_SPARKS and did some tweaks to the direction of where the particles fly. A problem was MG_SPARKS took very long to cook even though i only had 30 particles being birthed on each collision, couldn't figure out what's causing the slow down.

Wished i had Houdini12's feature where you can see which node is causing the slowdown using color-codes which was shown in H12 sneak preview during SIGGRAPH.

I cached out the particles and rendered 041_sh020, the caching was quick less than a minute.

041_sh020
http://www.vimeo.com/28386825
 



WIP: Molten Shader (SESI LA SUMMER 2011 text)
Painting the hot/cool spots on the alphabets "SESI", gradually working my way down to "Los Angeles & Summer 2011". Was pretty satisfied with the progress!




Things was going so much faster as Dan loaned me his wacom tablet!



Grabbing a bite
Went to shop for some ingredients.















This is my favorite ham, goes insanely well with burgers and eggs - at least for me!





end.

Thursday, 25 August 2011

Week 09 Day 62, 11th August '11 (Thur)

Problem Solved: Particle Collision
It had been haunting me the past 2 days and somebody on forum stepped in and solved the whole mystery! Because i had particles splitting from original particles, those splits are not being affected by the 1st "Collision POP".

All i needed was a 2nd "Collision POP" under "Split POP" to have them collide. Everything made sense, i felt silly but i guess everybody feels silly once in a while. Thanks to badhairday!

Here's the thread,
http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=22764

Second "Collision POP" helped solved the collision problem, splitting particles are now colliding correctly. You can also see that the splitting particles are in "splitted_points" group and is used in second collision pop.
















WIP: Sparks Effect
Here I am working on getting the splitting particles in FG_SPARK to behave how i want. The network is built, i'm merely tweaking the velocity, gravity (Force POP), drag and scale of particles. My intention is to cache and render out multiple layers of sparks and put them together in post if time permits.
 



00_single_splitting_particle_test



00_mass_splitting_particle_test





WIP: Smoke Volume
The settings i had for the billowysmoke material yesterday did not give me what i want. Changed the frequency, amplitude and turbulence parameters and fired off multiple renders.
 

















03_smoke_volume_hi_lo_detail
http://www.vimeo.com/27614023

2/2/2 Freq, 4 Turb, 2 Amp


05_smoke_volume_hi_detail
http://www.vimeo.com/27614117
0.4/0.4/0.4 Freq, 4 Turb, 2 Amp, $T 1.25/1.0




WIP: Molten Shader
In the midst of defining the cool patches and also painting in alphabets "SE" to see how harsh i'll need to paint them so they are readable.















Gotten this result by pushing one of the parameters in "Smooth VOP" to extreme values, maybe i'll be able to animate that parameter and get a cool animation later.

















Dinner takeaway @ Chinese Fast Food
This place is located along Santa Monica Boulevard & 18th Street (i believe). Stumble across the place on my way home and got attracted in by the word "chinese". They sell food like cutlet rice, curry rice and mixed vegetables items.

The lady was very generous with the food, filled the box over the top and it only cost me six bucks - may be because it's evening and they were going to call it a night. Still the food were decent, 6.6/10 for this spot!






end.

Week 09 Day 61, 10th August '11 (Wed)

SH030 Animation
Consulted Evan about my animation, his views were...
- FG_HAMMER should pull back slower
- MG_HAMMER have less tilt and lower lift, hammer head stay down more
- Get have some shaky motion as hammer drags on molten surface

CHOPs noise was used to drive the rotate Y of front_pivot_control, so much more convenient to just apply noise than manually animate it by eye!













00_sh020_flipbook
http://www.vimeo.com/28184996
This is what i got before speaking to Evan.

Here's how it looks like after the above improvements,
01_sh020_flipbook
http://www.vimeo.com/27786135
Blogspot is being such a pain, sometimes it doesn't let me upload the videos...



WIP: Smoke Effect
Before I carried on further with either sprites or smoke simulation, Steven introduced me to a new way of generating smoke which Bryan was using. What we do is render metaball as volume and using $T (time) to animate the noise in a volumetric shader (billowy smoke).

It was an interesting technique, glad i got to learn it - also produces good results and is much faster to render compared to smoke sim.


Threw out renders with various settings to see how each parameter affects the look, jumped back onto other tasks for now.


01_smoke_volume_hi_detail
5/5/5 Freq, 8 Turb, 3 Amp

02_smoke_volume_hi_detail
15/15/15 Freq, 4 Turb, 2 Amp, $T 0.7/0.6
Increased the speed of the animated noise...





Problem: Particle Collision 
Went back to tackle this, tried the following...

- Increase Oversampling
- Increase Collision Sample Threshold slightly
- Smaller variance values
- Switch to simple grid instead of molten surface geometry
- Use 3rd Context Geo or link via SOP Path
- Checked the collision geometry's normals
- Translate emitter up in Y so the source & collision don't intercept
- Extruded the surface with "ExtrudeVolume SOP"

All were no good, no luck on forum too... fight another day!

60_pcollision_problem_top_btm
Particles are falling through after my effort....
http://www.vimeo.com/27502777



Dinner from Denny's
Gigantic portion, slightly expensive & worth trying at least once - USD$12.00 if i didn't recall wrongly,



















end.

Week 09 Day 60, 9th August '11 (Tue)

Problem: Particle Collision
Started a thread for this problem, i tried switching in a new "Collision POP" and putting down a grid as collision geometry instead of using the molten surface, both did not work. Maybe somebody can spot something i'm not seeing...

http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=13116&highlight=particle+collision


60_pcollision_problem_top_btm
A flipbook to illustrate the problem.

http://www.vimeo.com/27502777



WIP: Molten Shader
Following the feedback, carried on working on the molten shader & also adding more documentations to the shader's network before i loose my way.

Today's plan is to get rid of the vein pattern and have more patches around the whole surface, it's just not looking right with this much veins going on.















Here are some test-renders on it's progress,

























13_hammer_turntable render turned out to have some lighting problem, found out i had the wrong set of lights switched on for the render. Re-rendering now!



14_hammer_turntable
Touch up on the hammer, up till colormap.v008  and displacemap.v017.
This time i'm going to render with PBR engine since it's just the hammer - let it run over night.

http://www.vimeo.com/28178911





end.

Monday, 15 August 2011

Week 09 Day 59, 8th August '11 (Mon)

WIP: Sparks Effect
Felt i've done enough research and test, time to move the particle network I built into my scene file and see how it goes. Readjusting the velocity, collision, birth and death so the particles behave as desired as the scale of my actual scene was slightly differently from the scene i was doing the research & tests.

I also needed the particles to have an impulse birth on frame 33, 135 & 243, there's if() function where i could type "$FF == 33 || $FF == 135 || $FF == 243" or do the manual way of keyframing the activation.












Ended up using expressions as i didn't want to move keyframes around if a change occur.














00_fg_sparks
http://www.vimeo.com/27503081
The particles bounced like crazy as it had high normal and tangent values.
 

01_fg_sparks
After tweaking down the normal/tangent parameters, the particles are behaving much better. These are still particles flying towards the camera, i want to have some bouncing and splitting around the hammer head as well.
 

In the process encountered a problem where some particles are not colliding with the surface, they just fall through despite me having a "Collision POP". Was sure I wired in the correct collision geometry, maybe i'll find out where the problem is tomorrow.



WIP: Painting maps for hammer bolt.
The bolt was a simple hemisphere all along, so it was time to give it some attention.
At the same time add more to hammer head's color/displacement maps.

Color map
 

Displacement map





Fired off 13_hammer_turntable
With the above done, it was time for render a new version before heading home.



 This Japanese Bento is located in Nordstrom, level 3 food court.
I've had my meals here very often, it close to office & the food is good - it's reasonable price considering they give huge portions. My favourite is chicken teriyaki which comes with mix vegetables & rice or noodles, you also order double meat but be warned, it's a lot of meat!

Another secret about this place is you can get a card where they will stamp each time you buy a set, collect 5 and you get a chicken teriyaki for free.



end.