POV-Ray : Newsgroups : povray.general : Toroidal warp Server Time
31 Jul 2024 00:33:17 EDT (-0400)
  Toroidal warp (Message 11 to 11 of 11)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: SharkD
Subject: Re: Toroidal warp
Date: 7 Jul 2008 00:15:01
Message: <web.4871977ba2e11e9ceb867ce10@news.povray.org>
"Chris B" <nom### [at] nomailcom> wrote:
> "SharkD" <nomail@nomail> wrote in message
> news:web.4871128da2e11e9c8c88ff560@news.povray.org...
>
> > I meant the seam of the warp itself, not the texture.
>
> Ah. Slightly more tricky :-).
> I don't see any control on the warp itself that would do that for you
> (unless I'm wrong about the meaning of the orientation attribute), so I
> think you'll need a workaround.
>
> > Consider the case where the image map is scaled first
> > by a non-integer value.
>
> The only thing that I can think of that will do this is to use a pigment_map
> with two copies of the pigment. One where the repeating scaled image_map is
> aligned to the origin (the default) and one where it's aligned to y=1. You
> can then use the pigment_map to join them wherever you want. In the example
> below I've placed the half-cut image at y=0.5 so that it appears around the
> outer rim of the torus. In this example I've cut a corner out of the torus
> just so that the inner rim and outer rim are both visible at the same time.
>
> Regards,
> Chris B.

That is a very good idea. Thank you for suggesting it.

-Mike


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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