Re: rounded corners | nans | and 6.5

Date : Mon, 15 Oct 2007 11:03:38 -0400
To : XSI(at)Softimage.COM
From : Sam Cuttriss <sam(at)janimation.com>
Subject : Re: rounded corners | nans | and 6.5
thanks man,
i should of remembered halfdans shader.

that said, does anyone have any ideas why rounded corners is returning nans in the first place?
i have a sneaking suspicion its something to do with the rounded radius being set higher than distance to adjacent edges.
its seems like the normals get flipped and fry mental rays mind? (this is all wild speculation)

by the way reducing the rounding radius is not unnecessarily a solution.
It would be preferable if it clipped softly when it got overdriven.

_sam


Sam Cuttriss
Janimation 3D Aficionado


Guillaume Laforge wrote:
Hi Sam,

This nan shader return a wrong alpha since the begining ( the fault to a very bad programmer :-p ).
Here is a lens preset to get the correct alpha : http://www.vol2nuit.fr/antiNaNs_rendertree.Preset

But you should use Alfdan's Swarfega shader for all your nans problems : http://softimage.wiki.avid.com/images/1/11/Swarfega.zip.

Cheers

Guillaume Laforge


On Sun, 14 Oct 2007 17:50:59 -0400, Sam Cuttriss <sam(at)janimation.com> wrote:
  
the rounded corner shader returns "not a number" all the time in 6.5.
i can send a scene if need be, but it happens in pretty much all cases,
so thats redundant.
in the past i got around that with the antinan shader
(http://vol2blog.blogspot.com/2006/08/nass.html), but i assume due to
the change in how lens shaders in 6.5 are handled it returns the alpha
the rgb luminance...

i love the rounded corner shader and would love to use it all day
everyday.
but the workarounds to get clean information out of it are becoming
cumbersome.

suggestions?
solutions?

_sam




    
--
Guillaume Laforge | La Maison

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


  

Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.