Go Back   NewTek Discussions > LightWave 3D User Community > LW - Community

Reply
 
Thread Tools Display Modes
Old 01-05-2007, 09:48 PM   #1
gerardstrada
Registered User
 
Join Date: Jul 2004
Posts: 661
New SG_AMBOCC Node

The brilliant Sebastian Goetsch has released a nodal version of his excellent occlusion shader:

http://www2.informatik.hu-berlin.de/...ch/AmbOccNode/

have fun!



Gerardo
gerardstrada is offline   Reply With Quote
Old 01-06-2007, 08:14 PM   #2
Ztreem
Dreamer
 
Ztreem's Avatar
 
Join Date: Jun 2003
Location: Sweden
Posts: 2,764
Exellent! thanks for the tip.
__________________

Desktop
Windows 7 Home Premium 64, Intel i5 2.66Ghz, 4 Gb RAM ,Nvidia GTS 250 1Gb
Laptop
Windows XP Tablet PC Edition SP2 (32bit), Intel Centrino 1.73 GHz, 1.5 Gb RAM, GeForce Go 6200 TE 64Mb
Ztreem is offline   Reply With Quote
Old 01-08-2007, 12:19 PM   #3
dpont
Member
 
Join Date: May 2006
Location: France
Posts: 1,995
Have tried directionnal mode for softshadows,
Select Light in Item Info output world position as target,
decrease angle (very low) math power the output for
darker shadow:

Click image for larger version

Name:	softshadows.jpg
Views:	462
Size:	19.8 KB
ID:	40667

Denis.
dpont is offline   Reply With Quote
Old 01-09-2007, 12:56 AM   #4
gerardstrada
Registered User
 
Join Date: Jul 2004
Posts: 661
Ztreem, hope to see some of your cool experiments!

Denis, thanks for that tip! Other way to control the effect strength is with a gradient:



An example with a nice model from Aristomenis Stirbas:



The gradient can be useful to colored the effect as well:



Which looks like this:



If we want the effect interacting with shadows and other external shaders we can connect the node to Diffuse channel (Denis tip may be very useful here for adjusting the diffuse effect independently) and the gradient output color to Color channel:







Gerardo
gerardstrada is offline   Reply With Quote
Old 01-09-2007, 11:28 PM   #5
LMUSIC
Member
 
Join Date: Dec 2003
Posts: 111
The link comes back as unavailable for me.
LMUSIC is offline   Reply With Quote
Old 01-10-2007, 01:07 AM   #6
hazmat777
Registered User
 
hazmat777's Avatar
 
Join Date: Mar 2004
Location: Seattle
Posts: 308
The link didn't work the first 4 or 5 times for me, but it finally came through...Can't wait to try it out!
__________________
XP x64/Ubuntu x64 2.4Ghz Quad Core 8GB RAM 8600GT
hazmat777 is offline   Reply With Quote
Old 01-10-2007, 09:16 AM   #7
LMUSIC
Member
 
Join Date: Dec 2003
Posts: 111
Tried today and got it first time.
LMUSIC is offline   Reply With Quote
Old 01-10-2007, 03:40 PM   #8
dpont
Member
 
Join Date: May 2006
Location: France
Posts: 1,995
Was for updating the node (fix transparency problem).
Download last version:
http://www2.informatik.hu-berlin.de/...ch/AmbOccNode/

Denis
dpont is offline   Reply With Quote
Old 02-05-2007, 09:15 PM   #9
gerardstrada
Registered User
 
Join Date: Jul 2004
Posts: 661
A way to paint the occlusion effect is by using distance to object gradients:





I've exagerated the effect, but notice the radiance effect in this case is determined not only by gradient shape but also by the occlusion node, which gives us more realistic results.

A simple setup may be something like this:





We can get easily and very quickly a 'Pocoyo' style in this way





Though I'm sure the setup can be used for more realistic projects as well.



Gerardo
gerardstrada is offline   Reply With Quote
Old 02-06-2007, 02:01 AM   #10
BazC
Doodler
 
BazC's Avatar
 
Join Date: Mar 2003
Location: Cambridgeshire, UK
Posts: 2,647
That looks fantastic! Any idea if a Mac version is coming?
__________________
Mac OS10.5.2, Quad 2.66GHz Mac Pro, 3Gb RAM Geforce 7300GT 256mb VRAM
BazC is offline   Reply With Quote
Old 02-08-2007, 11:02 PM   #11
Wickster
gallery.bmadigital.com
 
Wickster's Avatar
 
Join Date: Jul 2003
Location: Fallbrook, CA
Posts: 2,446
Very nice...I will be trying this out tonight. Thank you.
__________________
ASUS G2S | T7500 C2Duo @ 2.20GHz | 4GB RAM | 256MB NVidia 8600M GT | Win 7 Home 64Bit
Wickster is offline   Reply With Quote
Old 02-09-2007, 04:39 PM   #12
Surrealist.
Registered User
 
Surrealist.'s Avatar
 
Join Date: Apr 2005
Posts: 4,427
What's this?

I lodded up the node plugin. I also have the layer plugin. Do they conflict?
Attached Thumbnails
Click image for larger version

Name:	AmbOccError.gif
Views:	401
Size:	5.7 KB
ID:	42116  
__________________
Richard Culver

LightWiki Subpatch Tutorial.

Subdivision Modeling Workshop
Surrealist. is offline   Reply With Quote
Old 02-09-2007, 10:49 PM   #13
Sebastian G.
Registered User
 
Join Date: Mar 2003
Location: Berlin
Posts: 12
Ram Sampath is working on the mac version.

Surrealist, this error message means that LW refused to provide the LWSCENEINFO_GLOBAL
Actually I have never seen this happening before, are you using a beta version?
If not please send me the scene and object file and I'll try to find out more
(skidbladnir at web.de )
Sebastian G. is offline   Reply With Quote
Old 02-09-2007, 11:16 PM   #14
Surrealist.
Registered User
 
Surrealist.'s Avatar
 
Join Date: Apr 2005
Posts: 4,427
Well it only happens in Modeler. I added the plugin in Layout and surfaced the object with the shader in the nodes edit mode.

Then in modeler it gives this message whenever I click on the surface or try and open the node editor. (not that I need to do that in modeler I was trying to change something else and noticed it happening.)

I downloaded the plugin from the site above at the top of the page.

It happens even on a simple object I put the surface on to test it. Maybe my plugin in is currupt. Check it out.
Attached Files
File Type: zip BallAndCube.zip (4.6 KB, 283 views)
__________________
Richard Culver

LightWiki Subpatch Tutorial.

Subdivision Modeling Workshop
Surrealist. is offline   Reply With Quote
Old 02-09-2007, 11:42 PM   #15
Sebastian G.
Registered User
 
Join Date: Mar 2003
Location: Berlin
Posts: 12
Ok, Modeler explains everything. I will take care of it in the next update.
Sebastian G. is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 11:09 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 2000-2007, NewTek