|
|
Eli Ewok Brody wrote:
>
> Hello all --
Hello and welcome.
>
> Maybe one of you can help me:
>
> When importing an sPatch object, it seems to handle coordinates incorrectly.
> I'm writing a renderman shader that depends on the z-component of the
> surface normal. This works find on regular objects, but does not on bicubic
> patches. I get all sorts of strange results. (For instance, one forth of my
> patch union is shaded, and nothing else.)
>
Without sample code it's quite difficult to say, but does 'trace()' retun
a correct normal vector?
Another thing: try the slope pattern that also uses the normal vector.
Christoph
--
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
|