Download Levelsets in Production : Spider

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Levelsets in Production : Spider-Man 3
What are levelsets?
• Implicit surface representation
• SDF (signed distance function) in a regularly
sampled grid.
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Sandstorm
• Rich toolset
• Includes levelset-based modeling and animation tools.
– Geometry to Field
– Field to Geometry
– Field Attribute transfer / lookup
– Snap to levelset
– etc
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Benefits of Levelsets
• Distance to the surface
• Inside or Outside
• Boolean operations
• Surface modification (noise)
• etc
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Examples :
Combining two fields
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Examples :
boolean union - max(A,B)
intersection - min(A,B)
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Examples :
boolean cut - max(A,-B)
adding noise to the result
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Examples :
Procedural noise variations
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Case 1 :: Geometry Blending
• Create two identical fields
• Convert geometry into levelsets
• detect the places where the two objects intersect in
the field with a certain threshold
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Case 1 :: Geometry Blending
• Calculate the resultant levelset with:
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Case 2 :: Erosion
• Work in a still frame
• Distribute particles uniformly in the geometry
• Particles will store the erosion amount
• Convert the geometry into a levelset
• Modify the levelset (amount attibute + spatial noise)
• Apply the erosion to the moving geometry
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Erosion - Examples
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Case 2 :: Erosion
• Primitives will be triggered when containing
particles with a positive erosion value
• Non-triggered primitives will generate the sand
particles in render time.
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Erosion - Examples
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Case 3 :: Particle trajectory correction
• Geometry Normal is stored in the levelset
• Normal component is passed to the particle
• Particle velocity vector is updated every frame using
the levelset normal component to avoid
penetrations.
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Case 3 :: Particle trajectory correction
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Examples : Forming Shape
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Case 4 :: Levelset Collision
Uses levelset for collision detection
• Fast
– Positive field(Φ>0) ⇔ Inside geometry
• Robust
– Closed & Non-intersecting
– w/o multi sampling
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Case 5 :: Polygonization
• Compute Normal and Curvature for Instancer tool
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Thank you!
Daniel P. Ferreira | Sho Hasegawa
Levelsets in Production : Spiderman 3
SIGGRAPH 2007 San Diego
Related documents