POV-Ray : Newsgroups : povray.general : flattened curve : Re: flattened curve Server Time
19 Apr 2024 23:55:38 EDT (-0400)
  Re: flattened curve  
From: Thomas de Groot
Date: 16 Sep 2022 02:29:49
Message: <632417dd$1@news.povray.org>
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


Post a reply to this message

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