POV-Ray : Newsgroups : povray.binaries.scene-files : bezier spline sphere sweep Server Time
21 Nov 2024 09:29:14 EST (-0500)
  bezier spline sphere sweep (Message 1 to 10 of 10)  
From: And
Subject: bezier spline sphere sweep
Date: 16 Aug 2015 13:25:00
Message: <web.55d0c6ee48951ba98423d9aa0@news.povray.org>
The images:
http://news.povray.org/povray.binaries.images/thread/%3Cweb.55cf44405a3a5488c6574dfe0%40news.povray.org%3E/


Post a reply to this message


Attachments:
Download 'bezier_spheresweep.inc.txt' (3 KB)

From: LanuHum
Subject: Re: bezier spline sphere sweep
Date: 16 Aug 2015 13:45:00
Message: <web.55d0cb19fc6438147a3e03fe0@news.povray.org>
"And" <49341109@ntnu.edu.tw> wrote:
> The images:
>
http://news.povray.org/povray.binaries.images/thread/%3Cweb.55cf44405a3a5488c6574dfe0%40news.povray.org%3E/

I want to add the bezier_spheresweep.inc and blending_polygon_circle_shape.inc
files to the exporter.
You can enter in them GPL LICENSE BLOCK and the authorship?
I can't violate your rights for authorship!


Post a reply to this message

From: And
Subject: Re: bezier spline sphere sweep
Date: 1 Sep 2015 23:40:05
Message: <web.55e66eb5fc643814ffeac2440@news.povray.org>
"LanuHum" <Lan### [at] yandexru> wrote:
> "And" <49341109@ntnu.edu.tw> wrote:
> > The images:
> >
http://news.povray.org/povray.binaries.images/thread/%3Cweb.55cf44405a3a5488c6574dfe0%40news.povray.org%3E/
>
> I want to add the bezier_spheresweep.inc and blending_polygon_circle_shape.inc
> files to the exporter.
> You can enter in them GPL LICENSE BLOCK and the authorship?
> I can't violate your rights for authorship!

Oh, I didn't see your message until today. Um... basically I'm willing to share
the macros to your exporter. It is also a good news for me. But in fact there
are still some minor bugs on the macros; and I have another version for the
'polygon to circle blending' macro. I would like to rearrange them and it will
need several weeks because I participate in a training about video producing
these days.

Okay, I will add an authorship and the GPL LICENSE BLOCK.


Post a reply to this message

From: LanuHum
Subject: Re: bezier spline sphere sweep
Date: 2 Sep 2015 14:15:00
Message: <web.55e73c63fc6438147a3e03fe0@news.povray.org>
"And" <49341109@ntnu.edu.tw> wrote:
> "LanuHum" <Lan### [at] yandexru> wrote:
> > "And" <49341109@ntnu.edu.tw> wrote:
> > > The images:
> > >
http://news.povray.org/povray.binaries.images/thread/%3Cweb.55cf44405a3a5488c6574dfe0%40news.povray.org%3E/
> >
> > I want to add the bezier_spheresweep.inc and blending_polygon_circle_shape.inc
> > files to the exporter.
> > You can enter in them GPL LICENSE BLOCK and the authorship?
> > I can't violate your rights for authorship!
>
> Oh, I didn't see your message until today. Um... basically I'm willing to share
> the macros to your exporter. It is also a good news for me. But in fact there
> are still some minor bugs on the macros; and I have another version for the
> 'polygon to circle blending' macro. I would like to rearrange them and it will
> need several weeks because I participate in a training about video producing
> these days.
>
> Okay, I will add an authorship and the GPL LICENSE BLOCK.

Thanks!
GitHub allows to make changes to files. I will always update if you improve
them.
Now blending looks so:


Post a reply to this message


Attachments:
Download 'polygon_to_circle_blending.jpg' (57 KB)

Preview of image 'polygon_to_circle_blending.jpg'
polygon_to_circle_blending.jpg


 

From: LanuHum
Subject: Re: bezier spline sphere sweep
Date: 2 Sep 2015 15:50:00
Message: <web.55e752d4fc6438147a3e03fe0@news.povray.org>
"LanuHum" <Lan### [at] yandexru> wrote:
> "And" <49341109@ntnu.edu.tw> wrote:
> > "LanuHum" <Lan### [at] yandexru> wrote:
> > > "And" <49341109@ntnu.edu.tw> wrote:
> > > > The images:
> > > >
http://news.povray.org/povray.binaries.images/thread/%3Cweb.55cf44405a3a5488c6574dfe0%40news.povray.org%3E/
> > >
> > > I want to add the bezier_spheresweep.inc and blending_polygon_circle_shape.inc
> > > files to the exporter.
> > > You can enter in them GPL LICENSE BLOCK and the authorship?
> > > I can't violate your rights for authorship!
> >
> > Oh, I didn't see your message until today. Um... basically I'm willing to share
> > the macros to your exporter. It is also a good news for me. But in fact there
> > are still some minor bugs on the macros; and I have another version for the
> > 'polygon to circle blending' macro. I would like to rearrange them and it will
> > need several weeks because I participate in a training about video producing
> > these days.
> >
> > Okay, I will add an authorship and the GPL LICENSE BLOCK.
>
> Thanks!
> GitHub allows to make changes to files. I will always update if you improve
> them.
> Now blending looks so:

I will add the previous post:
https://github.com/Lanuhum/BlendPov-alternative/tree/master/povray/include


Post a reply to this message

From: LanuHum
Subject: Re: bezier spline sphere sweep
Date: 5 Sep 2015 15:40:00
Message: <web.55eb4403fc6438147a3e03fe0@news.povray.org>
And, you watch my screenshots. I can create in the Blender everything, including
sphere sweep. Export and parsing is time. I consider that macros save time. I
hope that Povray will read and will calculate a macro quicker, than
blob {
object { sphere matrix }
object { sphere matrix }
and so on 100500 objects sphere
}
:):):)


Post a reply to this message

From: clipka
Subject: Re: bezier spline sphere sweep
Date: 6 Sep 2015 08:48:15
Message: <55ec360f$1@news.povray.org>
Am 05.09.2015 um 21:35 schrieb LanuHum:
> And, you watch my screenshots. I can create in the Blender everything, including
> sphere sweep. Export and parsing is time. I consider that macros save time. I
> hope that Povray will read and will calculate a macro quicker, than
> blob {
> object { sphere matrix }
> object { sphere matrix }
> and so on 100500 objects sphere
> }
> :):):)

Actually, the current parser's macro and loop performance is rather
poor; if you want fast parsing, you're always better off just writing
one huge file without any loops or macros.

One of the worst things you can do is place a macro in an include file,
and call that macro a lot from the main file. This will cause POV-Ray to
repeatedly open and close that include file for each and every macro
invocation.

The only thing that can actually save time is functions.


Post a reply to this message

From: LanuHum
Subject: Re: bezier spline sphere sweep
Date: 6 Sep 2015 09:35:01
Message: <web.55ec4084fc6438147a3e03fe0@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 05.09.2015 um 21:35 schrieb LanuHum:
> > And, you watch my screenshots. I can create in the Blender everything, including
> > sphere sweep. Export and parsing is time. I consider that macros save time. I
> > hope that Povray will read and will calculate a macro quicker, than
> > blob {
> > object { sphere matrix }
> > object { sphere matrix }
> > and so on 100500 objects sphere
> > }
> > :):):)
>
> Actually, the current parser's macro and loop performance is rather
> poor; if you want fast parsing, you're always better off just writing
> one huge file without any loops or macros.
>
> One of the worst things you can do is place a macro in an include file,
> and call that macro a lot from the main file. This will cause POV-Ray to
> repeatedly open and close that include file for each and every macro
> invocation.
>
> The only thing that can actually save time is functions.

Thanks.
Sadly.


Post a reply to this message

From: Cousin Ricky
Subject: Re: bezier spline sphere sweep
Date: 7 Sep 2015 01:45:43
Message: <55ed2487@news.povray.org>
On 2015-09-06 08:47 AM (-4), clipka wrote:
> One of the worst things you can do is place a macro in an include file,
> and call that macro a lot from the main file. This will cause POV-Ray to
> repeatedly open and close that include file for each and every macro
> invocation.

And this is exactly how both And and I implemented sphere sweep unions 
and merges (by calling Connect_Spheres() in shapes.inc).  Still, the 
parse times seem negligible, probably due to file caching.

Nevertheless, you have now persuaded me to write a substitute for VEq() 
in SphereSweep, especially since, for that module's purposes, the 
arguments needed preprocessing anyway before passing them to VEq().


Post a reply to this message

From: And
Subject: Re: bezier spline sphere sweep
Date: 7 Sep 2015 23:30:01
Message: <web.55ee5514fc64381427261f050@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 05.09.2015 um 21:35 schrieb LanuHum:
> > And, you watch my screenshots. I can create in the Blender everything, including
> > sphere sweep. Export and parsing is time. I consider that macros save time. I
> > hope that Povray will read and will calculate a macro quicker, than
> > blob {
> > object { sphere matrix }
> > object { sphere matrix }
> > and so on 100500 objects sphere
> > }
> > :):):)
>
> Actually, the current parser's macro and loop performance is rather
> poor; if you want fast parsing, you're always better off just writing
> one huge file without any loops or macros.
>
> One of the worst things you can do is place a macro in an include file,
> and call that macro a lot from the main file. This will cause POV-Ray to
> repeatedly open and close that include file for each and every macro
> invocation.
>

I also think so. Although I'm not so professional on this working. Of course you
can save time on exporting the huge file.


Post a reply to this message

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