|  |  | 
|  |  |  |  | 
|  |  | 
|  |  | 
|  |  |  |  | 
|  |  | 
|  |  | 
|  |  | 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
 |  | 
|  |  | 
|  |  | 
|  |  |  |  | 
|  |  | 
|  |  | 
|  |  | "scam" <sca### [at] mail usyd  edu  au> 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] mail usyd  edu  au> 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
 |  | 
|  |  | 
|  |  | 
|  |  |  |  | 
|  |  | 
|  |  | 
|  |  | "Chris B" <c_b### [at] btconnect com  nospam> 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
 |  | 
|  |  | 
|  |  | 
|  |  |  |  | 
|  |  | 
|  |  | 
|  |  | just tried on inkscape 0.45, there is now a option to save as .pov
8)
"scam" <sca### [at] mail usyd  edu  au> wrote:
> "Chris B" <c_b### [at] btconnect  com  nospam> 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] gmail is  the  best  com> 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
 |  | 
|  |  | 
|  |  | 
|  |  |  |  | 
|  |  |