POV-Ray : Newsgroups : povray.animations : Animating light pulses following curved paths in an Optical CPU Server Time
23 Nov 2024 14:36:02 EST (-0500)
  Animating light pulses following curved paths in an Optical CPU (Message 1 to 7 of 7)  
From: scam
Subject: Animating light pulses following curved paths in an Optical CPU
Date: 10 Dec 2006 20:05:00
Message: <web.457cad8ac5c6b6f49626fb630@news.povray.org>
Hi all,

I wish to make an animation of light pulses moving around an optical CPU.
The geometry consists of multiple curved paths, and looks something like
this (although the final version will be much more complicated):
http://guidetomp3players.com/images/heightfield2.png

The geometry is based on a 2D image essentially drawn by hand, and the
constituent curves are not defined mathematically so I can't easily
parameterize the paths. So what I think I need is a tool where I can trace
the geometry by hand and get as output paths that I could import into
POV-Ray for the light pulses to follow. Does anyone know of a tool/utility
that could do this?

Of course if someone can think of a better way to do it then I'd love to
hear your thoughts.

Cheers.


Post a reply to this message

From: Stephen
Subject: Re: Animating light pulses following curved paths in an Optical CPU
Date: 11 Dec 2006 03:35:01
Message: <web.457d182c68cfae07f1cb1e660@news.povray.org>
"scam" <sca### [at] mailusydeduau> wrote:
> Hi all,
>

> Of course if someone can think of a better way to do it then I'd love to
> hear your thoughts.
>
> Cheers.

Just a thought, the trace function looks as if it is made for the job.
3.2.1.4.5  Functions

Stephen


Post a reply to this message

From: Chris B
Subject: Re: Animating light pulses following curved paths in an Optical CPU
Date: 11 Dec 2006 04:06:54
Message: <457d1fae$1@news.povray.org>
"scam" <sca### [at] mailusydeduau> wrote in message 
news:web.457cad8ac5c6b6f49626fb630@news.povray.org...
> Hi all,
>
> I wish to make an animation of light pulses moving around an optical CPU.
> The geometry consists of multiple curved paths, and looks something like
> this (although the final version will be much more complicated):
> http://guidetomp3players.com/images/heightfield2.png
>
> The geometry is based on a 2D image essentially drawn by hand, and the
> constituent curves are not defined mathematically so I can't easily
> parameterize the paths. So what I think I need is a tool where I can trace
> the geometry by hand and get as output paths that I could import into
> POV-Ray for the light pulses to follow. Does anyone know of a tool/utility
> that could do this?
>
> Of course if someone can think of a better way to do it then I'd love to
> hear your thoughts.
>
> Cheers.
>

Hi,

You may care to look at InkScape, which is a free 2D SVG editor which can 
output vector graphics based shapes as POV-Ray prism obect definitions. The 
prism objects contain bezier_splines that you could use in POV-Ray to track 
along the curves. You'd need to extract the splines and wrap it in 
appropriate SDL for declaring the splines. If the shapes get complicated 
you'd probably want to write a script to do that.

Regards,
Chris B.


Post a reply to this message

From: scam
Subject: Re: Animating light pulses following curved paths in an Optical CPU
Date: 11 Dec 2006 07:15:01
Message: <web.457d4b4468cfae0719862de70@news.povray.org>
"Chris B" <c_b### [at] btconnectcomnospam> wrote:
> Hi,
>
> You may care to look at InkScape, which is a free 2D SVG editor which can
> output vector graphics based shapes as POV-Ray prism obect definitions. The
> prism objects contain bezier_splines that you could use in POV-Ray to track
> along the curves. You'd need to extract the splines and wrap it in
> appropriate SDL for declaring the splines. If the shapes get complicated
> you'd probably want to write a script to do that.
>
> Regards,
> Chris B.

That looks like it will work perfectly, thanks for the great tip! I can move
the entire project from Illustrator to InkScape, and do the two hardest
steps in one hit. Cheers mate.


Post a reply to this message

From: zeroin23
Subject: Re: Animating light pulses following curved paths in an Optical CPU
Date: 18 Aug 2007 06:15:00
Message: <web.46c6c5f468cfae07b0f5bef80@news.povray.org>
just tried on inkscape 0.45, there is now a option to save as .pov
8)

"scam" <sca### [at] mailusydeduau> wrote:
> "Chris B" <c_b### [at] btconnectcomnospam> wrote:
> > Hi,
> >
> > You may care to look at InkScape, which is a free 2D SVG editor which can
> > output vector graphics based shapes as POV-Ray prism obect definitions. The
> > prism objects contain bezier_splines that you could use in POV-Ray to track
> > along the curves. You'd need to extract the splines and wrap it in
> > appropriate SDL for declaring the splines. If the shapes get complicated
> > you'd probably want to write a script to do that.
> >
> > Regards,
> > Chris B.
>
> That looks like it will work perfectly, thanks for the great tip! I can move
> the entire project from Illustrator to InkScape, and do the two hardest
> steps in one hit. Cheers mate.


Post a reply to this message

From: Nicolas Alvarez
Subject: Re: Animating light pulses following curved paths in an Optical CPU
Date: 30 Sep 2007 11:06:18
Message: <46ffbb6a$1@news.povray.org>

> You may care to look at InkScape, which is a free 2D SVG editor which can 
> output vector graphics based shapes as POV-Ray prism obect definitions. The 
> prism objects contain bezier_splines that you could use in POV-Ray to track 
> along the curves. You'd need to extract the splines and wrap it in 
> appropriate SDL for declaring the splines. If the shapes get complicated 
> you'd probably want to write a script to do that.

It can?! I have had Inkscape for long and I never saw such option! I 
might have an old version... *upgrades*


Post a reply to this message

From: Chris B
Subject: Re: Animating light pulses following curved paths in an Optical CPU
Date: 30 Sep 2007 11:19:00
Message: <46ffbe64@news.povray.org>
"Nicolas Alvarez" <nic### [at] gmailisthebestcom> wrote in message 
news:46ffbb6a$1@news.povray.org...

>> You may care to look at InkScape, which is a free 2D SVG editor which can 
>> output vector graphics based shapes as POV-Ray prism obect definitions. 
>> The prism objects contain bezier_splines ...
> It can?! I have had Inkscape for long and I never saw such option! I might 
> have an old version... *upgrades*

I have 0.43 from Nov 2005.
With that you just choose 'Save As' and select the format POVRay 
(*.pov)(export splines).

Regards,
Chris B.


Post a reply to this message

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