POV-Ray : Newsgroups : povray.binaries.images : SOR:nurbs or not? : Re: SOR:nurbs or not? Server Time
7 Nov 2024 13:41:12 EST (-0500)
  Re: SOR:nurbs or not?  
From: Le Forgeron
Date: 4 Aug 2015 14:08:50
Message: <55c0ffb2$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Le 04/08/2015 18:11, LanuHum a écrit :
> clipka <ano### [at] anonymousorg> wrote:
>> Am 03.08.2015 um 19:33 schrieb LanuHum:
>>> Hi! I don't understand how sor is created? The form doesn't
>>> correspond to a green curve. Not the curve, but control points 
>>> rotates. Or it not NURBS?
>>> 
>>> nurbs, cubic, bubic. quadric, madric. What is that? Oh, My
>>> God! Why very much? There is bezier - clear and operated. :)
>> 
>> SOR is the surface of revolution of a piecewise defined
>> 3rd-order (cubic) polynomial function (defined by a set of points
>> on the curve) rotated about the x axis (and the resulting shape
>> subsequently rotated so that its axis of rotational symmetry is
>> mapped onto the y axis of 3D space); no splines involved.
>> 
>> To generate the surface of revolution of proper splines, there's
>> the "lathe" keyword, which supports linear, quadratic and cubic
>> splines (the latter with various different parameterizations
>> based on the control points, including bezier splines).
>> 
>> POV-Ray doesn't support NURBS (non-uniform rational B-splines).
> 
> Thanks! There is no support of nurbs, there is no support of bezier
> (an exception of lathe and prism). Refusal of nurbs and bezier is a
> concept?

there is bicubic_patch.

http://povray.org/documentation/view/3.6.1/64/
http://wiki.povray.org/content/Reference:Bicubic_Patch
http://www.povray.org/documentation/view/3.6.1/290/

It's a Bezier patch.

> Badly. It strongly limits possibilities of data transmission from
> the Blender to Povray.

Most nurbs rendering transforms them in mesh anyway. (I recommend
mesh2 format for them).

It's not a concept (to refuse nurbs), it's just that solving the
intersection of a ray with a nurbs is not something that can be easily
solved mathematically (I would say: at once, without iterations or
approximation).

Now, if you can solve it (a nurbs, a ray, return the list of
intersection points) (as well as "a nurbs, a 3D point, return a
boolean for the point being inside the volume delimited by the nurbs),
without generating a mesh under the cover, it can be considered for
addition.

But beware, even bicubic_patch has a cheating method (type 1), as
solving pure (type 0) bezier is slow. (but memory effective)

> I can't give animation, I can't give the arrays built along curves 
> Interestingly, what 3D - editors have no nurbs and bezier, but have
> cubic and quadratic? I such didn't see. If I wrote the
> AutodeskMaya2Povray exporter, I would meet the same problems? :(
> 
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iJwEAQEIAAYFAlXA/7IACgkQhKAm8mTpkW2JVQP9HQ0shhXRgdBYtEhitBbLuk9n
BnayAcsaqes3HvHXy3An+lyM1l8nHuzO3eFn2swXEUssqS3ZEqp/f8U/D7pNEoB4
xSkjqgj5VFXIpAdIMlM6ZoiCp2aPwbJHXj7HOBuYg0qshH4zelJAYJD5ndIYAWB0
w6o8viJdGO+aqjy4B20=
=0yi3
-----END PGP SIGNATURE-----


Post a reply to this message

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