POV-Ray : Newsgroups : povray.newusers : Trying to understand repetition in agate as a normal : Re: Trying to understand repetition in agate as a normal Server Time
1 Jul 2024 00:43:51 EDT (-0400)
  Re: Trying to understand repetition in agate as a normal  
From: Frank Buchanan
Date: 9 Jun 2011 06:20:00
Message: <web.4df09d405f511c4e2dc642590@news.povray.org>
"Roman Reiner" <lim### [at] gmxde> wrote:
> I haven't looked at your source but i assume you apply the agate pattern
> *before* translating the objects to their respective position.

Ah, yes.  That makes sense.

> It might work the way you intended by switching the normal with the translate
> statement (not sure).

That will require some slight restructuring of my code, since the piece's
position is separate from the definition of the piece's object.  But I will
explore that.

> If it does not, translating the normal by some offset vector will work:

That does work.  Thanks!

Frank B


Post a reply to this message

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