POV-Ray : Newsgroups : povray.binaries.scene-files : waste of time source and bezier curves zipped : Re: waste of time source and bezier curves zipped Server Time
1 Sep 2024 14:32:50 EDT (-0400)
  Re: waste of time source and bezier curves zipped  
From: alphaQuad
Date: 9 Feb 2008 13:20:00
Message: <web.47adedd25ed22bb07cc322e60@news.povray.org>
"nemesis" <nam### [at] gmailcom> wrote:
> "alphaQuad" <alp### [at] earthlinknet> wrote:
> > "the same line artifacts" are correct renders not artifacts; shown by the bezier
> > graph. The slightest curve in glass focuses the light as opposed to the left,red
> > glass with nodes just moved down (and other cups with a straight surface).
>
> well, the curves are very smooth in the 2D editors, but in povray the transition
> is much too visible no matter how much you tweak it.  That's my point:  povray

> smoother.
>

> packages, not cubic spline...

tweaking .....

picture is worth a thousand words .... just one segment per curve.

I just need to write some 10 more features to get there.

but manual tuning (drag and drop at scale) is pratical.


#declare smoothcup = lathe { bezier_spline
32,
<0,2.857183>,<116.103892,2.857183>,<229.870133,4.675365>,<266.233769,2.857183>,
<266.233769,2.857183>,<275.324678,6.493547>,<280.519479,9.870156>,<264.935066,14.285684>,
<264.935066,14.285684>,<232.987017,27.79222>,<71.948049,25.714283>,<30.129867,42.07792>,
<30.129867,42.07792>,<30.129867,62.077921>,<25.714291,267.272729>,<38.701298,283.896097>,
<38.701298,283.896097>,<318.961042,282.337659>,<320.223666,503.708508>,<317.662339,763.37662>,
<317.662339,763.37662>,<310.909091,765.974025>,<308.571431,769.090908>,<301.818182,763.116884>,
<301.818182,763.116884>,<307.792207,500.779213>,<303.896107,303.376623>,<0,300.259738>,
<0,300.259738>,<2.077925,278.961065>,<8.311688,28.311728>,<0,2.857183>
scale 1/900
}


Post a reply to this message


Attachments:
Download 'smoothcup.jpg' (72 KB)

Preview of image 'smoothcup.jpg'
smoothcup.jpg


 

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