1 / 18

Paper by Yoshinori Dobashi, Kazufumi Kaneda, Hideo Yamashita, Tsuyoshi Okita, Tomoyuki

Clouds and You (mostly clouds) a Summary of “A Simple, Efficient, Method for Realistic Animation of Clouds”. 4/24/01. Paper by Yoshinori Dobashi, Kazufumi Kaneda, Hideo Yamashita, Tsuyoshi Okita, Tomoyuki Presentation by Nomolas Nairb. Goal ?. Realtime? Realistic?.

arden
Download Presentation

Paper by Yoshinori Dobashi, Kazufumi Kaneda, Hideo Yamashita, Tsuyoshi Okita, Tomoyuki

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Clouds and You(mostly clouds)a Summary of “A Simple, Efficient, Method for Realistic Animation of Clouds” 4/24/01 Paper by Yoshinori Dobashi, Kazufumi Kaneda, Hideo Yamashita, Tsuyoshi Okita, Tomoyuki Presentation by Nomolas Nairb

  2. Goal ? • Realtime? • Realistic? No, but no need for render farms. DUFF No, but you wont know the difference.

  3. Previous Work Eat at Joe’s

  4. Previous Work • Good ole Stam • Foster and Metaxas • Nagel, Nagel, Nagel Goodyear

  5. Approach • Extend Nagel’s method. • Cellular Automaton • 0/1 variables per voxel • Allow clouds to go away. • Add shafts of light. • Use clever rendering techniques (OpenGL). Go Cavs!

  6. Cellular AutomatonNagel Style • Voxels have 3 state variables and transition functions. • Hum - Does the voxel contain enough H20? • Cld - Is there cloud in the voxel? • Act - Is the transition from vapor to cloud ready to commence? All your base

  7. Cellular AutomatonNagel Style Rules hum(i,j,k,t+1) = hum(i,j,k,t) && !act(i,j,k,t) cld(i,j,k,t+1) = cld(i,j,k,t) || act(i,j,k,t) act(i,j,k,t+1) = !act(i,j,k,t) && hum(i,j,k,t) && f(i,j,k,t) Brian Rules

  8. Cellular AutomatonNagel Style f(i,j,k) = act(i+1,j,k,t) || act(i,j+1,k,t) || act(i,j,k+1,t) || act(i-1,j,k,t) || act(i,j-1,k,t) || act(i,j,k-1,t) || act(i-2,j,k,t) || act(i+2,j,k,t) || act(i,j-2,k,t) || act(i,j+2,k,t) || act(i,j,k-2,t)

  9. Additional Rules Cloud extinction facilitated by: cld(i,j,k,t+1) = cld(i,j,k,t) && (rnd > pext(i,j,k,t)) hum(i,j,k,t+1) = hum(i,j,k,t) || (rnd < phum(i,j,k,t)) act(i,j,k,t+1) = act(i,j,k,t) || (rnd < pact(i,j,k,t)) Wang Chung Tonight

  10. Wind v(z) gives wind velocity for each level of voxels. state(i,j,k,t + 1) = state(i-v(zk),j,k,t) Zzzzzz…..

  11. Ellipsoids for Motion Control • Use ellipsoids to represent “parcels” of air. • Distribute the probabilities throughout the ellipsoids. • Move the ellipsoids to move the clouds. • How big? How many? Led Zeppelin

  12. Rendering • Create metaball textures • Create the lightmap texture • Render the clouds Rusty’s Burgers

  13. Metaballs • Smooth the voxels q(i,j,k,t) = Q*     w(i’,j’,k’,y’) * cld(i+i’,j+j’,k+k’,t+t’) (x,t) =  q(i,j,k,t)f(|x - xi,j,k|) j0 t0 k0 i0 k’=-k0 j’=-j0 t’=-t0 i’=-i0 N i,j,k (x,R)

  14. Metaball Colors and Light Maps • Turn off depth test. • Sort the metaballs by distance from the sun. • Render using parallel projection from the sun. • Create a color for each metaball by multiplying the color at the center pixel by the sun color. • Store the image as a light map for the terrain.

  15. Rendering the Clouds • Render everything else first • Turn off the depth test • Set each ball’s billboard to the color from the last step • Render the billboards back to front. Hindenburg

  16. Shafts of Light T  I = Ic(T)+ (s)Is(s)(s)ds Ic - the cloud color Is - scattered light  - atmospheric attenuation  - attenuation due to clouds discretized as: I = Ic(T)+(ks)Is(ks)(ks)s  0 ns k=0

  17. Light Shafts I = Ic(T)+(ks)Is(ks)(ks)s Ic - the metaball color  - fog like calculation Is - get this “analytically”  - the light map

  18. Results 256x256x20 cells 80kb storage 10-20 seconds per image Looking Good

More Related