POV-Ray : Newsgroups : povray.unofficial.patches : Help! POV-Man coordinate system problem with bicubic patch : Re: Help! POV-Man coordinate system problem with bicubic patch Server Time
6 Oct 2024 11:47:03 EDT (-0400)
  Re: Help! POV-Man coordinate system problem with bicubic patch  
From: Christoph Hormann
Date: 29 Jun 2001 08:17:12
Message: <3B3C721A.52A11592@gmx.de>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.