CGTalk > Software Specific Forums > NewTek Lightwave 3D
To minimize the ads you see on this page create a CGTalk account and log in HERE
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 09-07-2012, 06:51 AM   #1
Cre8
Veteran
 
Cre8's Avatar
portfolio
Ben Cooper
Head of lighting ,shading and compositing
Character Matters Animation Studios
Cape Town, South Africa
 
Join Date: Dec 2004
Posts: 188
Lightwave 11 Instancing Tutorial: Growing Algae on a rock

Hi there, i recently took part in the Underwater lighting challenge and used Lightwave 11's instancing in it quite extensively.One of the artists who took part asked me if i could explain how the algae on the rocks were created, so i've put this step-by-step tutorial together.

Hope you guys find it useful This tutorial was also created for people who are new to Lightwave, s some of the basic concepts explained might be boring to advanced users.

Here is the image i created for the lighting challenge, rendered with the Lightwave native renderer.



Link to higher-res:

http://i1241.photobucket.com/albums..._Ben_Cooper.jpg

I work Lightwave 11 and it has some really awesome and user friendly instancing tools.It's easy to see why Lightwave was also used in the making of James Cameron's Avatar.

Here we have the lightwave interface, once it's started up.
I am now ready to bring in a rock object that will be dressed in the algae.
http://i1241.photobucket.com/albums...e_interface.jpg

To do so i go to file > load > load object.Lightwave uses referencing for it's objects, what this means is that each scene does not physically save the object within, but has a reference index that loads the objects into the scene at startup.This is great for when you are working on a complex scene with lots of objects in and if your director wants a tweak to some of the objects, those objects are then opened with Lightwave Modeler.Once the tweak is applied, we save the object, if Lightwave Layout was open while the tweak in Modeler was applied on the same PC, the Lightwave Hub, which acts as a connection agent between Layout and Modeler, will update all your clones of the object in the scene with the new model update automatically.Alternatively, if the model tweak was applied elsewhere by a co-worker, simply reload your scene and it will update all copies of the object in your scene with the change.
http://i1241.photobucket.com/albums...Load_object.jpg


So here we have the rock object.I select the rock and then hit "p" for properties, this brings up the properties of the rock object.
http://i1241.photobucket.com/albums...cpr4/3_Rock.jpg


Now we click on the instancer tab.This is where we will tell the object that it will have instances growing on it.
http://i1241.photobucket.com/albums..._properties.jpg


Click on the "Add Instancer" drop down and select "Instance Generator".
http://i1241.photobucket.com/albums...ncer_window.jpg


Here we see the instancer has now been added and we are ready to jump in and make some algae grow on the rock
http://i1241.photobucket.com/albums...ancer_added.jpg


Double clicking on the instance generator that has been added brings up the instance generator properties.There is an empty field at the top left corner into which i typed in "Algae" this gives the instance generator a name.
http://i1241.photobucket.com/albums...ancer_named.jpg


The first thing i'm going to do is change the IG type from "item" to "surface".This will tell the algae to grow on the surface of our rock, covering it.
http://i1241.photobucket.com/albums...edtosurface.jpg

Now i load in the algae model that i used.Upon loading i can see that the algae scale is way too big for the rock, so i manually scale it down to a more suitable size.
http://i1241.photobucket.com/albums...algaetoobig.jpg

http://i1241.photobucket.com/albums...lgaeresized.jpg

Back in the instancer properties i add the algae to the instancer by clicking the add object dropdown and selecting the object from the list.
http://i1241.photobucket.com/albums...ininstancer.jpg


Once selected we see a bounding box appear on the rock.There is only one because currently the instancer is told to only create one instance.
http://i1241.photobucket.com/albums...boundingbox.jpg

For now i increase the count of the algae to 1000 so i can see how it runs over the surface and that so we obviously have more to craft with.We can see that all the instances are growing upward right through the rock.This is obviously incorrect and we want the instances to take it's growth direction from the direction that the rock's normals are facing in.
http://i1241.photobucket.com/albums...lignmentfix.jpg

To do this we click on the IG's rotation tab and change Alignment to normals.Now our instances are starting to behave more like they should.


The problem now is that all the instances are the same size, which doesn't appear natural.Now for some styling.I click on the scale tab and change the min and max settings from 100% to something that i like.Lightwave will randomly work out size differences for the instances based on the value difference between the min and max settings.
http://i1241.photobucket.com/albums...scalerandom.jpg

To better see what's going with the look of our algae, i change Lightwave's viewport to Shaded Solid and in the IG properties window, you click on the "eye" icon and select Shaded Solid.This will make the algae appear as a solid form and not wireframe.
http://i1241.photobucket.com/albums...displaymode.jpg


For the purpose of the tutorial i'm just going to play with some settings to illustrate the level of control you have.First thing we're going to do is boosting the amount of instances.
Just for kicks, i will boost the amount from 1000 to 20000 and this is what we've got.
http://i1241.photobucket.com/albums..._Algaecount.jpg


For a more natural look, we will add some randomness in the rotation.
http://i1241.photobucket.com/albums...omnessadded.jpg

And the fun doesnt stop there, we can also tell the instances where not to grow, by adding in a weight map.The weight map i created for this tut will limit the growth area to the top of the rock,click the "T" icon next to the Weight slider, this will allow you to add a texture that was based on your rock's UV's.And here we have it, a bit crude, but it illustrates the point.Imagine the possibilities!
http://i1241.photobucket.com/albums...row_control.jpg


It's so sweet that the instances have full support for GI and will use any shaders that is supported by Lightwave.This tutorial can get anyone started with instancing, but it really just scratches the surfaces of LW's instancing is capable of.I would encourage those interested to check out the LW 11 new features manual which should be somewhere on Newtek's website for a more in-depth look at these powerful tools.

Thanks for your time Until next time!
__________________
My site: www.bencooper.yolasite.com

Last edited by Cre8 : 09-07-2012 at 06:53 AM. Reason: add hi-res link
 
Old 09-07-2012, 08:52 AM   #2
3dee
Veteran
Dee
Germany
 
Join Date: Jul 2005
Posts: 49
Very nice image!
 
Old 09-07-2012, 09:56 AM   #3
Cre8
Veteran
 
Cre8's Avatar
portfolio
Ben Cooper
Head of lighting ,shading and compositing
Character Matters Animation Studios
Cape Town, South Africa
 
Join Date: Dec 2004
Posts: 188
Thanks mate
__________________
My site: www.bencooper.yolasite.com
 
Old 09-07-2012, 06:39 PM   #4
jojo1975
Expert
 
jojo1975's Avatar
CGTalk Forum Leader
portfolio
Giorgio Luciano
Modeller ;)
giorgioluciano.it
Genova, Italy
 
Join Date: Apr 2005
Posts: 1,131
Thanks !!!
 
Old 09-19-2012, 08:06 PM   #5
jburford
Frequenter
portfolio
Jeffrey Burford
_
Frankfurt, DE
 
Join Date: Nov 2005
Posts: 226
Great Work! Thanks for the breakdown, just picked up LW 11, will later work through your tut.
 
Old 09-21-2012, 01:13 AM   #6
Julez4001
Expert
 
Julez4001's Avatar
portfolio
Julian Herring
3D Generalist/ VFX Artist
Norfolk Southern
Atlanta, USA
 
Join Date: Jan 2002
Posts: 3,478
Send a message via AIM to Julez4001
I have to saythat it has a very paintery look and feel to it.
You nailed it.
Very, very good.
__________________
Animator
Maya | Lightwave | Messiah
www.flarenova.com
 
Old 10-02-2012, 03:25 PM   #7
Cre8
Veteran
 
Cre8's Avatar
portfolio
Ben Cooper
Head of lighting ,shading and compositing
Character Matters Animation Studios
Cape Town, South Africa
 
Join Date: Dec 2004
Posts: 188
Thanks Julez,

Thats a very big compliment, i appreciate it
__________________
My site: www.bencooper.yolasite.com
 
Old 10-02-2012, 03:25 PM   #8
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,481
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 06:02 AM.


Powered by vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.