How to Use Instances in LightWave 3D to Animate Rouge Crystal Growth

How to Use Instances in LightWave 3D to Animate Rouge Crystal Growth

This blog post gives a behind the scenes peek of how to use instances in LightWave 3D. We used the following technique to create a 3D animation of rouge (rust/corrosion) crystal growth in stainless steel pharmaceutical or food processing equipment. Our client, Astro Pak, wanted to show how their product/process can dissolve and remove rouge from stainless steel processing equipment. The full project that this behind the scenes post is from may be seen in the project’s online portfolio page.

Rouge or rust is typically formed as microscopic crystals, varying from a roughly cubic shape to a more elongated fiber like shape. When using instances in LightWave 3D you need a model to be instanced. So I started by modeling three sets of crystals and fibers of varying sizes/shapes in different layers in modo. I generally do all my modeling in modo due to my preference for its highly interactive modeling GUI, but you could model these crystals right in LightWave 3D Modeler just as easily. These base models would then be randomly duplicated, rotated and placed by instance generators in LightWave 3D.


How to Use Instances in LightWave 3D

Scene Editor - Using Instances in LightWave 3DI then added the crystal model to LightWave 3D Layout with all the layers parented to the first layer. This way I could control the overall scale to have the crystals grow by scaling the first layer only. Due to a bug I encountered when using instances in LightWave 3D I was unable to animate the scale of the instances so as a workaround I animated the scale of the original objects instead. That worked fine. Because the inserted model would be used to generate instances rather than as direct objects I turned the object layers off and set them to invisible in the scene editor.

Once all the objects were in the scene I then used the Graph Editor to scale the parent layer of the crystal/fiber group so that all the crystals/fibers would grow over time.

Graphi Editor - Using Instances in LightWave 3D

How to use Instances in LightWave 3D - Instance GeneratorsI then selected the inside surface of the cutout pipe where I wanted to rouge crystals to grow and applied an instance generator. You’ll notice that there are six instance generators rather than just one in the list on the screenshot. While you can apply multiple object instances within one instance generator using weights to have different objects cover different areas I ran into a bug that caused problems during my animation so I had to use a separate instance generator for each animated instance object instead. That worked fine.

Instance Generator Generation Tab - Using Instances in LightWave 3D

All the instance generators were set to Surface Type with a Random Distribution so that the instances would be distributed across the inner pipe surface.

Instance Generator Random Seed - Using Instances in LightWave 3D

One important thing to remember when using instances in LightWave 3D with and instance generators to cover the same surface with different objects is to have each instance generator use a different Random Seed, otherwise each object will be created in the same place as the others. It doesn’t matter what the seed is, just that each is different, so I just drag the <> widget on each so they are all different.

The three crystal instance generators were set to 1500 instances while the three fiber instance generators were set to 3000 instances. In order to provide a nice random coverage a minimum and maximum were set for each Scale, Offset and Rotation tab which were all set to Random Mode.

The Scale tab was set to 12.5% – 50% and the Rotation tab was set to 0° – 360° for each of H, P, and B. The Offset tab was set to 0 – 0 for X and Y while Z was set to 0 – -5mm for the first crystal, 0 – -10mm for the second crystal and 0 – -15mm for the third crystal. The Z was set to 0 – -10mm for the first fiber, 0 – -15mm for the second fiber and 0 – -20mm for the third fiber. This way different crystals and fibers would form at different depths to create a thicker layer rather than having them all at the same Z depth.


3D Animation Clips of How to Use Instances in LightWave 3D

The following short clip shows the relevant portion of the video that is detailed in this post about how to use instances in LightWave 3D.

 

The full 3D animation may be viewed on our online portfolio page for the Astro Pak Derouging and Passivation 3D Animation.

3D Product Animation and Process Animation for Astro Pak

If you enjoyed this peek behind the scenes of how to use instances in LightWave 3D, stay tuned. We continue with this tutorial in next month’s behind the scenes blog post: How to Use Particle FX in LightWave 3D to Animate Rouge Crystal Flow.


DreamLight Constellation Network Render Controller

DreamLight Constellation 3D Icon LogoDreamLight® Constellation is our cross-platform network render controller that combined with DLI_SNUB-Launcher™ makes configuring, launching and controlling LightWave 3D ScreamerNet LWSN for standalone, batch, network and internet rendering, drag-and-drop-dead-easy™.

Created by Michael Scaramozzino - LightWave 3D Artist Profile
Author of Creating a 3D Animated CGI Short & Mastering LightWave ScreamerNet

DreamLight wrote the book: Creating a 3D Animated CGI Short. See what we can do for you.

Leave a Reply