POV-Ray : Newsgroups : povray.general : flattened curve Server Time22 Feb 2024 06:53:27 EST (-0500)
 flattened curve (Message 1 to 6 of 6)
 From: David Kraics Subject: flattened curve Date: 15 Sep 2022 18:50:00 Message:
```
{
"@context": "https://schema.org",
"@type": "DiscussionForumPosting",
"dateCreated": "2022-09-15T22:50:00+00:00",
"datePublished": "2022-09-15T22:50:00+00:00",
"author": {
"@type": "Person",
"name": "David Kraics"
}
}
trying to render an airplane and I need a more subtle curve. let me explain.
Imagine a box that is one unit high and four units wide. Now place, in front of
it, a quarter of a cylinder with a radius of one unit. The center of the quarter
cylinder is at the top right corner of the box. The curve then travels, from the
bottom right corner, to the top left corner, thanks to a 4 scale in the x
direction. How do I make that curve more subtle, to closer approach an almost
straight line between those two corners?
```
 From: Thomas de Groot Subject: Re: flattened curve Date: 16 Sep 2022 02:29:49 Message: <632417dd\$1@news.povray.org>
```
{
"@context": "https://schema.org",
"@type": "DiscussionForumPosting",
"@id": "#632417dd%241%40news.povray.org",
"dateCreated": "2022-09-16T06:29:49+00:00",
"datePublished": "2022-09-16T06:29:49+00:00",
"author": {
"@type": "Person",
"name": "Thomas de Groot"
}
}
Op 16/09/2022 om 00:44 schreef David Kraics:
> trying to render an airplane and I need a more subtle curve. let me explain.
> Imagine a box that is one unit high and four units wide. Now place, in front of
> it, a quarter of a cylinder with a radius of one unit. The center of the quarter
> cylinder is at the top right corner of the box. The curve then travels, from the
> bottom right corner, to the top left corner, thanks to a 4 scale in the x
> direction. How do I make that curve more subtle, to closer approach an almost
> straight line between those two corners?
>

Probably not what you want but straightforward:

Solution 1: Scale down y by a factor of 10 (for instance) in both the
box and quarter cylinder: scale <1, 0.1, 1>.

Solution 2: Scale up x by a factor 10 in both the box and quarter
cylinder: scale <10, 1, 1>.

You can always resize your object afterwards.

--
Thomas
```
 From: Bald Eagle Subject: Re: flattened curve Date: 16 Sep 2022 06:30:00 Message:
```
{
"@context": "https://schema.org",
"@type": "DiscussionForumPosting",
"@id": "#web.63244f1d4192552b1f9dae3025979125%40news.povray.org",
"dateCreated": "2022-09-16T10:30:00+00:00",
"datePublished": "2022-09-16T10:30:00+00:00",
"author": {
"@type": "Person",
"name": "Bald Eagle"
}
}
"David Kraics" <bar### [at] aolcom> wrote:
> trying to render an airplane and I need a more subtle curve. let me explain.
> Imagine a box that is one unit high and four units wide. Now place, in front of
> it, a quarter of a cylinder with a radius of one unit. The center of the quarter
> cylinder is at the top right corner of the box. The curve then travels, from the
> bottom right corner, to the top left corner, thanks to a 4 scale in the x
> direction. How do I make that curve more subtle, to closer approach an almost
> straight line between those two corners?

Maybe use a spline to define your curve, and a prism to make the entire object?
```
 From: Alain Martel Subject: Re: flattened curve Date: 16 Sep 2022 09:32:48 Message: <63247b00\$1@news.povray.org>
```
{
"@context": "https://schema.org",
"@type": "DiscussionForumPosting",
"@id": "#63247b00%241%40news.povray.org",
"dateCreated": "2022-09-16T13:32:48+00:00",
"datePublished": "2022-09-16T13:32:48+00:00",
"author": {
"@type": "Person",
"name": "Alain Martel"
}
}
Le 2022-09-15 à 18:44, David Kraics a écrit :
> trying to render an airplane and I need a more subtle curve. let me explain.
> Imagine a box that is one unit high and four units wide. Now place, in front of
> it, a quarter of a cylinder with a radius of one unit. The center of the quarter
> cylinder is at the top right corner of the box. The curve then travels, from the
> bottom right corner, to the top left corner, thanks to a 4 scale in the x
> direction. How do I make that curve more subtle, to closer approach an almost
> straight line between those two corners?
>

Apparently, you want to model the wings.

I'd start with that cylinder, but apply some uneven scaling. It could be
something like :
cylinder{End1, End2, 1 scale<5,1,1>}

A larger value will result in flatter top and bottom parts.

Another option would be to use a prism for the wings. Then, it's just a
question of choosing the interpolation method that work best for your
needs. Try the bicubic spline. Maybe more cumbersome, but, you'll need
only one object for the whole wing.
```
 From: kurtz le pirate Subject: Re: flattened curve Date: 17 Sep 2022 06:39:44 Message: <6325a3f0\$1@news.povray.org>
```
{
"@context": "https://schema.org",
"@type": "DiscussionForumPosting",
"@id": "#6325a3f0%241%40news.povray.org",
"dateCreated": "2022-09-17T10:39:44+00:00",
"datePublished": "2022-09-17T10:39:44+00:00",
"author": {
"@type": "Person",
"name": "kurtz le pirate"
}
}
On 16/09/2022 00:44, David Kraics wrote:
> trying to render an airplane and I need a more subtle curve. let me explain.
> Imagine a box that is one unit high and four units wide. Now place, in front of
> it, a quarter of a cylinder with a radius of one unit. The center of the quarter
> cylinder is at the top right corner of the box. The curve then travels, from the
> bottom right corner, to the top left corner, thanks to a 4 scale in the x
> direction. How do I make that curve more subtle, to closer approach an almost
> straight line between those two corners?
>

<http://www.f-lohmueller.de/pov_tut/x_sam/tec_800e.htm>

--
Kurtz le pirate
Compagnie de la Banquise
```
 From: ingo Subject: Re: flattened curve Date: 17 Sep 2022 09:55:00 Message:
```
{
"@context": "https://schema.org",
"@type": "DiscussionForumPosting",
"@id": "#web.6325d0a54192552b17bac71e8ffb8ce3%40news.povray.org",
"dateCreated": "2022-09-17T13:55:00+00:00",
"datePublished": "2022-09-17T13:55:00+00:00",
"author": {
"@type": "Person",
"name": "ingo"
}
}
You may want to look into extrusions. There is a relative simple option in the
mesh macro include file or use the more complex Striscia @