POV-Ray : Newsgroups : povray.general : Toroidal warp : Re: Toroidal warp Server Time
30 Jul 2024 20:31:17 EDT (-0400)
  Re: Toroidal warp  
From: Chris B
Date: 28 Jun 2008 06:54:31
Message: <48661867$1@news.povray.org>
"SharkD" <nomail@nomail> wrote in message 
news:web.4865871da2e11e9c1d9045be0@news.povray.org...
> "SharkD" <nomail@nomail> wrote:
> I would like to apply a toroidal warp to the
> "lemon" portion of torus whose minor radius is greater than its major 
> radius. I
> am wondering how the mapping is applied in this case? Since the torus 
> intersects
> itself, there are two possible versions of the pigment that could get 
> applied.

In this case with the overlapping bit of the torus I think it just merges 
the two possible pigments onto the interior surface.
I tried an image map and a brick pattern with your code and both worked, 
after a fashion, but were obviously quite distorted as I think one would 
expect. Would I be right in thinking that your image file 
"texture_bowels_test.png" is quite a random sort of texture? If so you may 
be able to 'see' the distortion easier with a more regular image or pattern.

In any case it may be easier to get what you seek using a simple cylindrical 
or spherical warp.
Indeed, if it's an image map then just using map_type 2 or 1 should deliver 
a result with far less distortion.

Regards,
Chris B.


Post a reply to this message

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