POV-Ray : Newsgroups : povray.binaries.images : LanuHum, I cannot convert bezier spline to cubic spline : Re: LanuHum, I cannot convert bezier spline to cubic spline Server Time
16 May 2024 12:04:03 EDT (-0400)
  Re: LanuHum, I cannot convert bezier spline to cubic spline  
From: And
Date: 17 Aug 2015 14:20:05
Message: <web.55d2251da4f6ca688423d9aa0@news.povray.org>
"LanuHum" <Lan### [at] yandexru> wrote:

> union {
> }
> #declare BezierCurve_bezier_points = array[8]{
>     <-1,0><-0.5,0.5><0,0><1,0>
>     <1,0><2,0><1.025,2.45><2.025,2.45>
> }

The problem is: Your bezier curve points in Blender is three dimension, but when
you export them, you only output x and y, in other word 2d points.
A 3D point in pov-ray should be like this: <1.0, 0.2, 1.0>

A 2D point in pov-ray is like this: <1.0, 0.2>


Post a reply to this message

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