POV-Ray : Newsgroups : povray.general : Problem shaping a CSG object Server Time
30 Jul 2024 10:25:34 EDT (-0400)
  Problem shaping a CSG object (Message 12 to 21 of 21)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: clipka
Subject: Re: Problem shaping a CSG object
Date: 29 Jul 2009 12:40:00
Message: <web.4a707ac99ce95c17edb9d8df0@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> I was thinking more scale it from x=1.0 y=1.0 to x=1.0 y=0.0 as you move
> from z=0 to z=1, if that makes sense. Not an intersection, but a non-linear
> scaling.

Here's the catch: You can't do non-linear scaling in POV-Ray (unless you use
parametrics, isosurfaces or some such).


Post a reply to this message

From: Le Forgeron
Subject: Re: Problem shaping a CSG object
Date: 29 Jul 2009 12:56:40
Message: <4a707f48$1@news.povray.org>
Further thinking about your description, if apex really a segment parallel to base:

check volume 3 of news://news.povray.org:119/496f790c@news.povray.org
(title: "6 volumes" OP: Le_Forgeron, Date 15 january 2009)

It's a conocuneus, a quartic.
Toothpath tube classical end.

intersection {
box {<0,-1,-1><2,1,1>}
quartic {
  <0,0,0,0,0, 0,0,1,0,-1,
   0,0,0,0,0, 0,0,0,0,0,
   0,0,0,0,0, 4,0,0,0,0,
   0,0,0,0,0> }
}


Post a reply to this message

From: Chris B
Subject: Re: Problem shaping a CSG object
Date: 29 Jul 2009 13:00:43
Message: <4a70803b@news.povray.org>
"Darren New" <dne### [at] sanrrcom> wrote in message 
news:4a7078d0$1@news.povray.org...
> clipka wrote:
>> Darren New <dne### [at] sanrrcom> wrote:
>>> Could one start with a cylinder instead? Since the top is as wide as the
>>> bottom in at least one direction?
>>
>> Hm, yes, I guess a cylinder intersected with a wedge would fit Thomas' 
>> bill, too
>> (at least nominally, though it may not be what he looked for, due to the 
>> hard
>> edges this would produce)
>
> I was thinking more scale it from x=1.0 y=1.0 to x=1.0 y=0.0 as you move 
> from z=0 to z=1, if that makes sense. Not an intersection, but a 
> non-linear scaling.
>

That's what two of the three examples I posted this morning do, one using an 
Isosurface, the other using slices of a sphere, (but a cylinder would work 
the same). The third example I posted used the method Clipka outlined, which 
generates a slightly different shaped surface.

I think there is at least one more way without using shear, which is to 
scale a cone non uniformly, rotate and slice it, such that the horizontal 
section becomes circular while the edge is vertical, then fill out the 
middle as before.

Regards,
Chris B.


Post a reply to this message

From: Chris B
Subject: Re: Problem shaping a CSG object
Date: 29 Jul 2009 13:31:52
Message: <4a708788@news.povray.org>
"Chris B" <nom### [at] nomailcom> wrote in message 
news:4a70803b@news.povray.org...
>
> I think there is at least one more way without using shear, which is to 
> scale a cone non uniformly, rotate and slice it, such that the horizontal 
> section becomes circular while the edge is vertical, then fill out the 
> middle as before.
>

In fact I've tried it and I don't think my fourth way works because you 
always end up with a parabolic conic section.
Nevertheless, Le Forgeron looks as though he's still churning out more 
alternatives :-)
Geometry questions seem popular. Any more ;)

Regards,
Chris B.


Post a reply to this message

From: Thomas de Groot
Subject: Re: Problem shaping a CSG object
Date: 30 Jul 2009 05:38:22
Message: <4a716a0e@news.povray.org>
Toothpaste tube end indeed covers the bill  :-)

Thomas


"Le_Forgeron" <jgr### [at] freefr> schreef in bericht 
news:4a707f48$1@news.povray.org...
> Further thinking about your description, if apex really a segment parallel 
> to base:
>
> check volume 3 of news://news.povray.org:119/496f790c@news.povray.org
> (title: "6 volumes" OP: Le_Forgeron, Date 15 january 2009)
>
> It's a conocuneus, a quartic.
> Toothpath tube classical end.
>
> intersection {
> box {<0,-1,-1><2,1,1>}
> quartic {
>  <0,0,0,0,0, 0,0,1,0,-1,
>   0,0,0,0,0, 0,0,0,0,0,
>   0,0,0,0,0, 4,0,0,0,0,
>   0,0,0,0,0> }
> }


Post a reply to this message

From: Thomas de Groot
Subject: Re: Problem shaping a CSG object
Date: 30 Jul 2009 05:43:45
Message: <4a716b51$1@news.povray.org>
"Le_Forgeron" <jgr### [at] freefr> schreef in bericht 
news:4a707f48$1@news.povray.org...
> It's a conocuneus, a quartic.
> Toothpath tube classical end.
>
> intersection {
> box {<0,-1,-1><2,1,1>}
> quartic {
>  <0,0,0,0,0, 0,0,1,0,-1,
>   0,0,0,0,0, 0,0,0,0,0,
>   0,0,0,0,0, 4,0,0,0,0,
>   0,0,0,0,0> }
> }

This is now the most elegant solution. Thanks a lot!

Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: Problem shaping a CSG object
Date: 8 Aug 2009 04:17:33
Message: <4a7d349d$1@news.povray.org>
"Le_Forgeron" <jgr### [at] freefr> schreef in bericht 
news:4a707f48$1@news.povray.org...
> Further thinking about your description, if apex really a segment parallel 
> to base:
>
> check volume 3 of news://news.povray.org:119/496f790c@news.povray.org
> (title: "6 volumes" OP: Le_Forgeron, Date 15 january 2009)
>

Maybe me, but this reference is not pointing to anything on news.povray.org 
....

Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: Problem shaping a CSG object
Date: 10 Aug 2009 03:28:54
Message: <4a7fcc36$1@news.povray.org>
"Thomas de Groot" <tDOTdegroot@interDOTnlANOTHERDOTnet> schreef in bericht 
news:4a7d349d$1@news.povray.org...
>
> "Le_Forgeron" <jgr### [at] freefr> schreef in bericht 
> news:4a707f48$1@news.povray.org...
>> check volume 3 of news://news.povray.org:119/496f790c@news.povray.org
>> (title: "6 volumes" OP: Le_Forgeron, Date 15 january 2009)
>

Seriously, I cannot find any message related to this on the server in any 
n.g. (I used Search). Neither title nor date refer to a message. Any help?

Thomas


Post a reply to this message

From: Chris B
Subject: Re: Problem shaping a CSG object
Date: 10 Aug 2009 04:50:58
Message: <4a7fdf72$1@news.povray.org>
"Thomas de Groot" <tDOTdegroot@interDOTnlANOTHERDOTnet> wrote in message 
news:4a7fcc36$1@news.povray.org...
>
> "Thomas de Groot" <tDOTdegroot@interDOTnlANOTHERDOTnet> schreef in bericht 
> news:4a7d349d$1@news.povray.org...
>>
>> "Le_Forgeron" <jgr### [at] freefr> schreef in bericht 
>> news:4a707f48$1@news.povray.org...
>>> check volume 3 of news://news.povray.org:119/496f790c@news.povray.org
>>> (title: "6 volumes" OP: Le_Forgeron, Date 15 january 2009)
>>
>
> Seriously, I cannot find any message related to this on the server in any 
> n.g. (I used Search). Neither title nor date refer to a message. Any help?
>
> Thomas
>

Hi Thomas.
See:

From: "Le_Forgeron" <jgr### [at] freefr>
Newsgroups: povray.binaries.images
Sent: Thursday, January 15, 2009 6:57 PM
Subject: 6 volumes

The URL above incorporated the port number (119) in a way that screwed up 
the link on my newsreader (and I imagine on yours too). It's the default 
port anyway, so when I removed that it popped up ok in the Windows Mail 
client on Vista. ie news://news.povray.org/496f790c@news.povray.org
It's also available through the browser interface at:
http://news.povray.org/povray.binaries.images/thread/%3C496f790c%40news.povray.org%3E/?ttop=318396&toff=250

It seems that Le Forgeron foresaw your very question at the start of the 
year. Next Psychic challenger please :-)


Post a reply to this message

From: Thomas de Groot
Subject: Re: Problem shaping a CSG object
Date: 10 Aug 2009 11:40:25
Message: <4a803f69$1@news.povray.org>
"Chris B" <nom### [at] nomailcom> schreef in bericht 
news:4a7fdf72$1@news.povray.org...

> Hi Thomas.
> See:
>
> From: "Le_Forgeron" <jgr### [at] freefr>
> Newsgroups: povray.binaries.images
> Sent: Thursday, January 15, 2009 6:57 PM
> Subject: 6 volumes
>
> The URL above incorporated the port number (119) in a way that screwed up 
> the link on my newsreader (and I imagine on yours too). It's the default 
> port anyway, so when I removed that it popped up ok in the Windows Mail 
> client on Vista. ie news://news.povray.org/496f790c@news.povray.org
> It's also available through the browser interface at:
>
http://news.povray.org/povray.binaries.images/thread/%3C496f790c%40news.povray.org%3E/?ttop=318396&toff=250
>
> It seems that Le Forgeron foresaw your very question at the start of the 
> year. Next Psychic challenger please :-)

Thanks Chris. I also found it at last through the browser interface. My 
primary problem was in fact that all older messages on my news reader were 
gone so that my search didn't give any results. I just then realised I had 
to load them back up again to access them. Summer heat makes the brain 
sluggish :-)

Thomas


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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