POV-Ray : Newsgroups : povray.advanced-users : Torus media Server Time
22 Dec 2024 16:21:04 EST (-0500)
  Torus media (Message 1 to 6 of 6)  
From: Thomas de Groot
Subject: Torus media
Date: 6 Dec 2014 08:05:49
Message: <5482ff2d$1@news.povray.org>
I don't know how to do this: I would like a torus filled with a pattern 
similar to the spherical or cylindrical patterns, i.e. going from 1 (at 
the small radius centre) to 0 (at the small radius boundary). Any idea?

Thomas


Post a reply to this message

From: Le Forgeron
Subject: Re: Torus media
Date: 6 Dec 2014 08:25:48
Message: <548303dc$1@news.povray.org>
On 06/12/2014 14:05, Thomas de Groot wrote:
> I don't know how to do this: I would like a torus filled with a pattern
> similar to the spherical or cylindrical patterns, i.e. going from 1 (at
> the small radius centre) to 0 (at the small radius boundary). Any idea?
> 
> Thomas

warp ? toroidal

http://wiki.povray.org/content/Reference:Warp


-- 
IQ of crossposters with FU: 100 / (number of groups)
IQ of crossposters without FU: 100 / (1 + number of groups)
IQ of multiposters: 100 / ( (number of groups) * (number of groups))


Post a reply to this message

From: Thomas de Groot
Subject: Re: Torus media
Date: 6 Dec 2014 10:27:00
Message: <54832044$1@news.povray.org>
On 6-12-2014 14:25, Le_Forgeron wrote:
> warp ? toroidal
>
> http://wiki.povray.org/content/Reference:Warp
>

Not entirely what I expected but I need to experiment with this. It 
comes very close to what I want.

Thanks!

Thomas


Post a reply to this message

From: Alain
Subject: Re: Torus media
Date: 6 Dec 2014 13:48:06
Message: <54834f66$1@news.povray.org>
Le 14-12-06 08:25, Le_Forgeron a écrit :
> On 06/12/2014 14:05, Thomas de Groot wrote:
>> I don't know how to do this: I would like a torus filled with a pattern
>> similar to the spherical or cylindrical patterns, i.e. going from 1 (at
>> the small radius centre) to 0 (at the small radius boundary). Any idea?
>>
>> Thomas
>
> warp ? toroidal
>
> http://wiki.povray.org/content/Reference:Warp
>
>

Not what was asked.
This will wrap a pattern around a torus.

The question is about a pattern returning 1 at the major radius of a 
torus and dropping to zero at minor radius. Similar to spherical, 
cylindrical and planar.

Curently, there is no "toric" pattern. It can be done using a function 
as a pattern based on the torus equation.


Post a reply to this message

From: Le Forgeron
Subject: Re: Torus media
Date: 6 Dec 2014 13:56:44
Message: <5483516c$1@news.povray.org>
On 06/12/2014 19:48, Alain wrote:
> Le 14-12-06 08:25, Le_Forgeron a écrit :
>> On 06/12/2014 14:05, Thomas de Groot wrote:
>>> I don't know how to do this: I would like a torus filled with a pattern
>>> similar to the spherical or cylindrical patterns, i.e. going from 1 (at
>>> the small radius centre) to 0 (at the small radius boundary). Any idea?
>>>
>>> Thomas
>>
>> warp ? toroidal
>>
>> http://wiki.povray.org/content/Reference:Warp
>>
>>
> 
> Not what was asked.
> This will wrap a pattern around a torus.
> 
> The question is about a pattern returning 1 at the major radius of a
> torus and dropping to zero at minor radius. Similar to spherical,
> cylindrical and planar.
> 
> Curently, there is no "toric" pattern. It can be done using a function
> as a pattern based on the torus equation.

one could start with a cylindrical pattern and warp it in place to have
the asked pattern.

-- 
IQ of crossposters with FU: 100 / (number of groups)
IQ of crossposters without FU: 100 / (1 + number of groups)
IQ of multiposters: 100 / ( (number of groups) * (number of groups))


Post a reply to this message

From: Thomas de Groot
Subject: Re: Torus media
Date: 7 Dec 2014 03:12:53
Message: <54840c05$1@news.povray.org>
On 6-12-2014 19:48, Alain wrote:
> Le 14-12-06 08:25, Le_Forgeron a écrit :
>> warp ? toroidal
>>
>> http://wiki.povray.org/content/Reference:Warp
>>
>>
>
> Not what was asked.
> This will wrap a pattern around a torus.

Yes, but used as a density pattern, it has the interesting effect of 
showing swirling matter through the torus. Not my initial image in 
p.b.i. because I added a turbulence warp.

>
> The question is about a pattern returning 1 at the major radius of a
> torus and dropping to zero at minor radius. Similar to spherical,
> cylindrical and planar.
>
> Curently, there is no "toric" pattern. It can be done using a function
> as a pattern based on the torus equation.

I need to test this. It came to my mind too.

Thomas


Post a reply to this message

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