POV-Ray : Newsgroups : povray.binaries.images : Sheared supertori Server Time
28 Apr 2024 03:51:16 EDT (-0400)
  Sheared supertori (Message 1 to 7 of 7)  
From: Tor Olav Kristensen
Subject: Sheared supertori
Date: 22 Jan 2010 19:35:44
Message: <4b5a4460@news.povray.org>
Jim's question in povray.advanced-users about usage of the Shear_Trans macro
made me play around with shearing of different shapes.

This image shows some supertorus isosurfaces sheared in different directions.

-- 
Tor Olav
http://subcube.com


Post a reply to this message


Attachments:
Download 'sheared_supertori.jpg' (275 KB)

Preview of image 'sheared_supertori.jpg'
sheared_supertori.jpg


 

From: Jim Holsenback
Subject: Re: Sheared supertori
Date: 23 Jan 2010 08:22:32
Message: <4b5af818@news.povray.org>
"Tor Olav Kristensen" <tor### [at] TOBEREMOVEDgmailcom> wrote in message 
news:4b5a4460@news.povray.org...
>
> Jim's question in povray.advanced-users about usage of the Shear_Trans 
> macro
> made me play around with shearing of different shapes.
>
> This image shows some supertorus isosurfaces sheared in different 
> directions.

WOW .... care to post the code? I've been looking for something to twiddle 
with between between projects.

Jim


Post a reply to this message

From: Jim Charter
Subject: Re: Sheared supertori
Date: 23 Jan 2010 09:32:21
Message: <4b5b0875$1@news.povray.org>
Tor Olav Kristensen wrote:
> 
> Jim's question in povray.advanced-users about usage of the Shear_Trans 
> macro
> made me play around with shearing of different shapes.
> 
> This image shows some supertorus isosurfaces sheared in different 
> directions.
> 
> 
> ------------------------------------------------------------------------
> 
Beautiful effect, makes me think, a little, of soapstone carving.  The 
method gives an interesting insight also. Applying the shearing macro to 
an iso-surface is something I would not have expected.  Being a mere 
mortal with maths, I would have guessed, rather, that you'd done the 
shearing with the iso-surface function somehow.


Post a reply to this message

From: Thomas de Groot
Subject: Re: Sheared supertori
Date: 23 Jan 2010 11:05:06
Message: <4b5b1e32$1@news.povray.org>
"Jim Charter" <jrc### [at] msncom> schreef in bericht 
news:4b5b0875$1@news.povray.org...
>>
> Beautiful effect, makes me think, a little, of soapstone carving.  The 
> method gives an interesting insight also. Applying the shearing macro to 
> an iso-surface is something I would not have expected.  Being a mere 
> mortal with maths, I would have guessed, rather, that you'd done the 
> shearing with the iso-surface function somehow.

Yes indeed, and within the isosurface function, there is a shear code that 
can be used, I remember from my *ancient* geomorph macro. It is explained in 
the isosurface part of the docs iirc   :)

Thomas


Post a reply to this message

From: Alain
Subject: Re: Sheared supertori
Date: 23 Jan 2010 12:49:05
Message: <4b5b3691$1@news.povray.org>

> "Jim Charter"<jrc### [at] msncom>  schreef in bericht
> news:4b5b0875$1@news.povray.org...
>>>
>> Beautiful effect, makes me think, a little, of soapstone carving.  The
>> method gives an interesting insight also. Applying the shearing macro to
>> an iso-surface is something I would not have expected.  Being a mere
>> mortal with maths, I would have guessed, rather, that you'd done the
>> shearing with the iso-surface function somehow.
>
> Yes indeed, and within the isosurface function, there is a shear code that
> can be used, I remember from my *ancient* geomorph macro. It is explained in
> the isosurface part of the docs iirc   :)
>
> Thomas
>
>

Prety simple:

you just call the function like this:

My_function( x+y/2, y, z)

This will shear toward -x as y get larger.

You can do something like this:

My_function( x+(cos(y*3)+sin(z*2))*2, y, z-sin(y*3) )

and have your shape twists around.


Alain


Post a reply to this message

From: Tor Olav Kristensen
Subject: Re: Sheared supertori
Date: 24 Jan 2010 00:08:38
Message: <4b5bd5d6$1@news.povray.org>
Jim Holsenback wrote:
> "Tor Olav Kristensen" <tor### [at] TOBEREMOVEDgmailcom> wrote in message 
> news:4b5a4460@news.povray.org...
>> Jim's question in povray.advanced-users about usage of the Shear_Trans 
>> macro
>> made me play around with shearing of different shapes.
>>
>> This image shows some supertorus isosurfaces sheared in different 
>> directions.
> 
> WOW .... care to post the code? I've been looking for something to twiddle 
> with between between projects.

I've just posted two versions of the source code in this thread:
http://news.povray.org/povray.text.scene-files/thread/%3C4b5bd4d4%40news.povray.org%3E/

Newsgroup: povray.text.scene-files	
Date: 24 Jan 2010 04:54:58
Subject: Source code for "Sheared supertori" image

-- 
Tor Olav
http://subcube.com


Post a reply to this message

From: Tor Olav Kristensen
Subject: Re: Sheared supertori
Date: 24 Jan 2010 00:24:15
Message: <4b5bd97f@news.povray.org>
Jim Charter wrote:
> Tor Olav Kristensen wrote:
>>
>> Jim's question in povray.advanced-users about usage of the Shear_Trans 
>> macro
>> made me play around with shearing of different shapes.
>>
>> This image shows some supertorus isosurfaces sheared in different 
>> directions.
>>
>>
>> ------------------------------------------------------------------------
>>
> Beautiful effect, makes me think, a little, of soapstone carving.  The 

Yes, that effect is from some textures and light settings that Gilles Tran
once made. I like to play around with it.

http://news.povray.org/povray.binaries.images/thread/%3C398DAC6E.810C4E7%40inapg.inra.fr%3E/
Newsgroup: povray.binaries.images
Date: 6th August 2000
Subject: Radiosity test (60kbu)

http://news.povray.org/povray.binaries.images/thread/%3C398EE60E.DCFE0C7E%40inapg.inra.fr%3E/
Newsgroup: povray.binaries.images
Date: 7th August 2000
Subject: Radiosity test #2 70 kbu


> The 
> method gives an interesting insight also. Applying the shearing macro to 
> an iso-surface is something I would not have expected.  Being a mere 
> mortal with maths, I would have guessed, rather, that you'd done the 
> shearing with the iso-surface function somehow.

I've made some code for doing the shearing of these shapes within the
functions for the isosurfaces, but it's a lot more work. If I finish it,
then I'll post that code too.

-- 
Tor Olav
http://subcube.com


Post a reply to this message

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