Saturday, 13 August 2011

Week 08 Day 54, 3rd August '11 (Wed)

This morning Ziggy was saying he wants to give us a lesson on sprite because Bryan was using sprite for his missile trails & also asking whether we had any experience with rendering our work in passes and compositing skills.

We had some in shake but he said a Nuke lesson will be arrange for us as it is now the industrial standard, everybody is using Nuke for post-production - a new intern, Dan will be guiding us next week while they are away for SIGGRAPH.

Oh yeah, spoke to Dan & everybody is so polite here and so is he - he was actually schooling with Evans and Corrine in the past and now he's here in SESI too. He was one of the guys who did that Houdini project (Franz) with Corrine which had lots of views on vimeo!


Houdini Project - Franz (Do watch it!)
http://vimeo.com/8169442
I think it was Mr TK who showed us this video back in school.



Smoke Sprite Example
Found this smoke sprite example hip file, looked what was done & how others are able to make the sprites look better.

Here we have a low resolution smoke simulation. With the density data from that, scatter it into a point cloud and we advect particles onto the point cloud using "Advect by Volume POP" inside of POP_Network.

That way we will have the sprite particles have very smooth and fluid-like animation just like how smoke volume would behave in simulation.
 













This was a render to see if the texture offset settings in "Sprite POP". It actually grabs/offsets the noise pattern from the material and assign to each sprite particle to make them less repetitive.

I maybe doing it wrong or missing something since they look identical, haha.

Sprite_smoke_texoffset_comparison
Vimeo - http://vimeo.com/27676690






WIP: Molten Shader
Back to this troublesome shader, time to clock in some time here.
It was sugguested that i paint a mask to control the cool and hot patches on the molten metal surface instead of trying to get the look you want procedurally.

Got this test mask to see how exactly the black & white affects the color mix and pattern in the procedural shader. I gotten Charles to explain to me a bit about importing an image mask into SHOP, i am using "Texture VOP" to file in the image mask but he said we require the S and T coordinates for it to project it correctly.
















Some of the stray renders as i continued to develop the look.




With a base pattern save out from the molten shader i was working on, i'm painting over with reference images next to it.

Base pattern from SHOP.


















Paint over, lessen the crack lines.


















Roughly defining where the cool (white) and hot (black) areas are, also have the text as guidelines.



















Quick render to see how well the molten shader fair from sh030_camera point of view, this shader is still the procedural version not the one which i'm painting a mask for yet. 

sh030_ms_ss_comparison
 

Quick render of sh030 to see how the displaced text look, using built-in stone material as molten shader wasn't ready.

sh030_sesi_la_ss_test




Amazon order arrived!
They are a few behind-the-scene DVD of Starcraft 2 and World of Warcraft! :D






















Sites i visited:

Nuke - Compositing Resources (Good info)
http://www.deepimg.com/in-depth/

Particle Motion Blur Related (Good info, hip files provided)
http://ihoudini.blogspot.com/2009/08/particle-motion-blur-again-and-some.html



end. 

Week 08 Day 53, 2nd August '11 (Tue)

Smoke Sprite
Have 2 choices - sprite particles or smoke simulations. This is a quick test to see what i can do with sprites, if they can pull off the wispy look with good quality i wont have to go into simulations.

Simple setup with POP_Network, Drag POP, Color POP alpha to fade them in/out and controlling the sprites' scale with a ramp. Most of these I picked up from our procedural effects module last semester.






















Dry Ice Tutorial by Peter Quint
Vimeo - http://vimeo.com/19604364

It was a good tutorial & worth spending your time watching it, got to learn new stuff. Did some documentation which could help me in the future if i ever have perform smoke simulation.

Some points i picked up from it:

- Using CHOPs to drive the emission amount
- Introduced to a few new nodes like "Wave CHOP", "Limit CHOP" & "Warp CHOP"
- Pyrosolver's buoyancy, temperature and turbulence parameters
- Use of "Gas Dissipate DOP", reduces the density of the smoke - playing with evaporation rate and have the dissipation rate linked to the temperature field so it dissipates more as the smoke cools off (mimic dry ice effect)



Went home slightly earlier to get some rest, have to make up for today's sow progress.


end.








Week 08 Day 52, 1st August '11 (Mon)


Feeling good after 2 days of rest since accident's date of occurrence, surprised that i didn't have much trouble sleeping with those wounds beside the cold breeze blowing which did cause some pain but at the same time helped numb the wounds, hahaha!




















Off to UCLA Venice Dental Center
Website - http://www.dentistry.ucla.edu:8000/Dentistry/patient-care/services/VDC

Won't be going SESI today, was referred to UCLA Venice Dentist Center where i will have my broken tooth checked out and with a bit of luck, get some proper treatment today! It's located at Lincoln Boulevard & Rose Avenue so i'm going to catch a taxi there.

Arrived there and was able to skip the registration etc as i've already emailed my particulars to them in advance which saved a little time. They decided to let me in for examination as they felt i require immediate attention, was told to come back after lunch.

Meanwhile, i went across the road to buy some snacks and collect my medications from the pharmacy - Yes, you don't get anything from the hospitals here, you're given a prescription and you're expected to collect the items at a local pharmacy. It's not convenient like back home where you simply step into a hospital polyclinic or private clinic where you get medicines or extra dressing on the spot.

Back to dental center, gotten x-ray, doctor changed temporarily filling, said I may require root canal and some permanent filling in on my next appointment. It's such a hassle to be in this type of situation especially when you're alone, have to contact the insurances and returning to hospital/dental clinic for follow-ups but I only have myself to blame... Still thankful for all the assistance rendered to me though!



Time to go recuperate, end.

Week 07 Day 51, 31st July '11 (Sun)


http://primetime.unrealitytv.co.uk/wp-content/uploads/2011/01/er-show.jpg

DIAL 911 NOW!
I went missing in action here for almost 2 weeks, I banged myself up pretty badly while skating - America isn't safe even when you're being very cautious. In case you wanted to know, it happened along Ocean Park Boulevard.

A lady was kind enough to stop her and call 911 for me, fire department came in 10 minutes and after some quick evaluation and wash-up... the ambulance arrived and off to Santa Monica Medical Center Emergency Room (ER).

Was lying in the treatment room with nurses & doctors coming in on and off checking my injuries (broken tooth, bunch of abrasion and some laceration), washing my wounds, giving me shot/medication and stitching my chin. Believe i got there at 6pm and I left the hospital at midnight.

Six agonizing hours especially the time when anti-bacteria fluids were poured on my hands and arms and I had to have them rinsed and scrubbed with sponge. If you don't have a high pain threshold like me, you better not end up in my shoes else you'll in for an awesome time.

Guess I have the full experience of America on my trip which includes a ride on an ambulance (first time in life) and being admitted in ER. It was something new & refreshing... hahaha i still prefer not to experience it if given a choice!

I'm very lucky & grateful I had no fractured or broken bones else it's seriously going to affect my project in SESI!

End of story and here are some slightly disturbing images, self discretion advised!















































5 stitches on my chin, the last time i gotten stitches was for wisdom tooth - first one in America!



Week 07 Day 50, 30th July '11 (Sat)

Out to skate
Seems like an American culture for families and friends to host parties and panics in neighborhood parks - Saw this over at Clover Park last week, this week i'm over at Virginia Park (where farmers market take place).

Back in Singapore, people do go to East Coast Park for such activities but you'll seldom see people do that in neighborhood ones like Bishan or Yishun Parks. Would be nice if we had the same culture where people start setting up tables, chairs or even tentages and have a fun weekend and be carefree.



















A sports car outside a vintage car mechanic garage.


Was at Mitsuwa buying some snacks and came across this store on the 2nd storey where all kinds of parties necessities are available. You will see such stores on and off around Santa Monica or maybe through-out America which explains the culture I was talking about above!





















Was skating along the broad road behind Santa Monica College. The inside of the College is a pretty pleasant place to skate but it's prohibited, it's a Saturday so nobody is going to catch you! Haha.














That's a lot of parking meters which you don't see in Singapore.


















Brushing up the fur of a not so motivated police hound - look at dog's expression "=_=", he was a polite officer!





















Grabbing a bite
Spotted this little place along Pico Boulevard, giving it a try... I ordered sweet & sour pork but it's nothing close to the ones back home at some zi-char store or restaurant... 3.5/10.

You could still try, something else on the menu might be nice but i'm a little pessimistic about it. Haha.

They do offer free delivery if you hit a minimum of $15.00 though, it's an alternative if you're feeling extremely lazy that day.


















end.

Week 07 Day 49, 29th July '11 (Fri)

Review #5 with Steven (Industrial Mentor)

This happened last evening (Thursday) but that post was pretty packed so i'm updating it here.

Points mentioned:

1) Consult Evans regarding hammer's animation, don't drag out of camera in a straight manner - might want to consider having some lifting or tilting motion.

2) Molten shader - Yellow hue too intense , go towards molten metal look, black dots pattern isn't working, use area with yellow as a mask to intensify in compositing instead of using constant mode in "Lighting Model VOP" which covers up the displaced text (SESI LA SUMMER 2011).

3) For sparks particles - Using preserve group, group by rand/velocity and make them split upon death.

4) Having the hammer look photorealistic or as desired in broad daylight lighting condition, so when it's brought into night shot or any condition. In production, you want your model to work in all lighting conditions so you or somebody else later in the pipeline don't have to fix these issues.

5) Add more scratches, black dirty spots on hammer head and bolt.

Steven also shared some tricks on using some settings inside on Mantra ROP like Candidate/Force/Forced Matte/Phantom and use of "ShadowMatte shader" to render shadow pass, i do remember using this shader once.

It was one of the hidden libraries in mentalray which you have to do some copy/pasting of code in one of the text file to initialize them. That was when i tried rendering motion vector pass which is used to apply motion blur to your objects and control the blurriness in post.

Just too much to share, i'll be happy to demonstrate/update the use of the above in this blog once i'm familiarized with them.




SH030, Proxy to Hi-Res Hammer Model
Transferring the keyframe animation over, as you can see... the hi-res hammer is bigger than the Proxy. In addition, i've already framed and locked sh030 camera so repositioning of the hi-res hammer was the only option.

















Aligning SESI LA SUMMER 2011 fonts
It was time to replace those proxy fonts in sh030, needed it to be finalized so i can get it off my mind for good. Was a little trouble trying to get the upper/lower case letters to align nicely, took a bit of time and a bunch of Transform SOPs!

Got it done and it's going to be used to displace the grid.
I'm considering either 1) scattering points on the flat primitive i have now or 2) extruding the text & converting them into a fog volume to displace the molten surface geometry - whichever method looks good and keeps the scene file light.













Creating rig controls for hammer's head
I was consulting Evans about sh020's animation, hoping his animator's eyes could pick up things which improve on or hopefully some tips on getting the details to look good.

In the process he showed me how setting up a few null controls on the hammer's head would help me get better animation. With these 2 controls, i'll be able to either keyframe or apply motionfx noise to give it some shaky motion when it's being drags on the bumpy molten metal.

This was a quick example he used to demonstrate things like snapping null accurately, the order i should have the 3 nulls (Fulcrum/Front Pivot/Back Pivot), a checkbox - "Keep Position When Parenting" which is crucial to know and cleaning/zeroing out transformations!

Had quite a bit of experience on rigging in Maya during a personal collaborated project with Rap, would love to try rigging more in Houdini especially after seeing how Mr Douglas rigged his 7-headed hydra plus it seem more straight forward unlike Maya where it could get confusing when you need to zero-out & parent/unparent control nodes & zero-out nodes.

I know i have a character rigging module coming up soon where Maya is used - wonder if Mr Sridhar would allow the use of Houdini for it.

Same set up on sh020 scene file, just need to do the same to MG_HAMMER.
















Troubleshoot old problem - Embedding otl to hip (HQueue)
Wanted to give it one last shot after a few more methods came to my mind... honestly unsure if they were going to work, no harm trying.

- Material SOP export relative to path checkbox
- Type Properties, Save to library path set to $HIP
- Making sure i'm using embedded definition

They did not work, guess i'll let it go and come back to this in the future... completing my VFX project comes first.

















WIP: Sparks Effect
Posting my progress, seeking c&c&a on forum.
http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=22764



Site i visited:

Game Engine
http://unigine.com/


CGSociety - ILM Animation Supervisor Article
http://www.cgsociety.org/index.php/CGSFeatures/CGSFeatureSpecial/scott_benza



end.

Thursday, 11 August 2011

Week 07 Day 48, 28th July '11 (Thur)

WIP: Hammer Model
Touching up the color & displacement maps.

12_hammer_turntable
Vimeo - http://vimeo.com/27033223



WIP: Sparks Particles R&D
With suggestion from Steven, having the particles have very high velocity and have a drag kick later - this way the particles form a long streak to a small dot with motion blur activated.

Instead of just pouring sparks from the top, I used a "Point SOP" to add normals and have them point all outwards 360 degrees to make them spray out like a ring of fire.

00_sparks_high_vel_and_drag

01_sparks_high_vel_and_drag

Was also adding random mass attribute to the particles so they travel/fall at different rate.

Visualizing Particles Mass
Just another test, i colored the particles based on $MASS... the black ones are heavier than the white ones, unless my eyes are playing tricks on me.



WIP: SH020 & Molten Shader
After some decent progress on the molten shader, i decided to render it in sh020 and see how it looks from the camera. Apparently HQueue still doesn't read the shader otl even though i already embedded it into the hip file, tried a list of methods but it's still so good. Had to settle with rendering from one workstation.

02_sh020_hq
Send it into HQueue and it did not render the surface geometry which had the molten shader otl assigned to it.


02_sh020_sm
Renders perfectly on a single machine.




13_hammer Still Renders
I managed to work a bit more on the hammer, but there wasn't enough time finish rendering the turn-a-round so here's the single frames!

I usually render them with the colors i'm using for the final shot but i was told it's best to have it rendered in general lighting condition to see the "real" look and details. This was rendered with Sun/Skylight plus PBR.







EXIT EXIT EXIT!
Time to "exit" the office, heading home.




Dinner to go @ El Pollo Loco
I always see this place when i'm on the big blue bus 7, it's located at Pico Blvd and Lincoln Blvd if i didn't remember wrongly.















 I ordered 2 piece chicken combo which came with fries, felt it was similar to KFC but the chickens were all grilled. They have a huge grill right behind the counter, pieces of chicken taken off the grill as soon as the customers place their order.

Curious how long do they stay on the grill if nobody comes into the store... hahaha.
The food is decent considering it cost me 6 bucks, rate it 5.85/10.


















end of a long day.