![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: nemesis
Subject: waste of time source and bezier curves zipped
Date: 1 Feb 2008 08:48:58
Message: <47a3234a@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
source files for the "waste of time" thread in p.b.i...
If the cups are of any value, they can be included into the povray
objects collection...
You'll only need the Inkscape open-source vector graphics drawing
program to edit the curves...
Post a reply to this message
Attachments:
Download 'cups-wip3.zip' (429 KB)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Nicolas Alvarez
Subject: Re: waste of time source and bezier curves zipped
Date: 4 Feb 2008 14:00:22
Message: <47a760c6$1@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I usually do this for photons:
photons {
#if (file_exists("cups-wip2.phm"))
load_file "cups-wip2.phm"
#else
save_file "cups-wip2.phm"
/* settings */
#end
}
To re-generate, I delete the file :)
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Nicolas Alvarez <nic### [at] gmail is the best com> wrote:
> I usually do this for photons:
> #if (file_exists("cups-wip2.phm"))
> load_file "cups-wip2.phm"
> #else
> save_file "cups-wip2.phm"
> To re-generate, I delete the file :)
but if you want to play with radiosity for a bit and not use photon mapping, you
shouldn't need to delete it just for that. :)
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: Nicolas Alvarez
Subject: Re: waste of time source and bezier curves zipped
Date: 4 Feb 2008 14:22:32
Message: <47a765f8$1@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
> Nicolas Alvarez <nic### [at] gmail is the best com> wrote:
>> I usually do this for photons:
>> #if (file_exists("cups-wip2.phm"))
>> load_file "cups-wip2.phm"
>> #else
>> save_file "cups-wip2.phm"
>> To re-generate, I delete the file :)
>
> but if you want to play with radiosity for a bit and not use photon mapping, you
> shouldn't need to delete it just for that. :)
Ah but that's what the CAUSTICS or PHOTONS variable is for :) What I
mean is a replacement for CAUSTICSgather.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Nicolas Alvarez <nic### [at] gmail is the best com> wrote:
> Ah but that's what the CAUSTICS or PHOTONS variable is for :) What I
> mean is a replacement for CAUSTICSgather.
nevermind... :P
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
nemesis <nam### [at] gmail com> wrote:
> source files for the "waste of time" thread in p.b.i...
>
> If the cups are of any value, they can be included into the povray
> objects collection...
>
> You'll only need the Inkscape open-source vector graphics drawing
> program to edit the curves...
http://sourceforge.net/project/showfiles.php?group_id=93438
failed Inkscapes
0.45.1
0.44.1
went back to version 0.38.1 for win98se
Looks like I needed this. Now if I only knew how to use it.
Post a reply to this message
Attachments:
Download 'inkscape.jpg' (102 KB)
Preview of image 'inkscape.jpg'
![inkscape.jpg](/povray.binaries.scene-files/attachment/%3Cweb.47a7e2735ed22bb0e2a7b7450%40news.povray.org%3E/inkscape.jpg?preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: nemesis
Subject: Re: waste of time source and bezier curves zipped
Date: 4 Feb 2008 23:39:45
Message: <47a7e891@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
alphaQuad escreveu:
> nemesis <nam### [at] gmail com> wrote:
>> source files for the "waste of time" thread in p.b.i...
>>
>> If the cups are of any value, they can be included into the povray
>> objects collection...
>>
>> You'll only need the Inkscape open-source vector graphics drawing
>> program to edit the curves...
>
> http://sourceforge.net/project/showfiles.php?group_id=93438
>
> failed Inkscapes
> 0.45.1
> 0.44.1
>
> went back to version 0.38.1 for win98se
oh-uh! Running win98 yet? I don't think most modern software will be
alright with that... strange things may happen... :/
> Looks like I needed this. Now if I only knew how to use it.
Fairly easy. You may begin by editing the curve and control points by
first selecting the curve with the arrow standard control (F1) and then
selecting the edit nodes control (F2) in the control panel to left of
the window. Then, select each or more of the point and move them around
for a spin.
The control points let you draw smoother curves more tangent to the
curve point, but it's tricky and povray seems to never quite enjoy the
result anyway... :P
BTW, I created them on Inkscape 0.45...
Post a reply to this message
Attachments:
Download 'captura_da_tela.png' (485 KB)
Preview of image 'captura_da_tela.png'
![captura_da_tela.png](/povray.binaries.scene-files/attachment/%3C47a7e891%40news.povray.org%3E/captura_da_tela.png?preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
nemesis <nam### [at] gmail com> wrote:
>....
> You'll only need the Inkscape open-source vector graphics drawing
> program to edit the curves...
Gave up on Inkscape after it crashed and v0.38 doesnt seem to export to pov.
I can do better. This is the fun part, getting to write something that actually
works and wont crash on me.
Yesterday wrote svg and pov spline reader and this control handle editor.
Here is the first cup from the original pov post waste of time (after I cleaned
up some curves) but basically is what it looked like if anyone was wondering,
heh.
anyone wants to work on this or see whats been done, np
Post a reply to this message
Attachments:
Download 'bezier.jpg' (142 KB)
Preview of image 'bezier.jpg'
![bezier.jpg](/povray.binaries.scene-files/attachment/%3Cweb.47a9e3445ed22bb0c31b4b360%40news.povray.org%3E/bezier.jpg?preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
nemesis <nam### [at] gmail com> wrote:
> ... but it's tricky and povray seems to never quite enjoy the
> result anyway... :P
>
> BTW, I created them on Inkscape 0.45...
#local cup2 = lathe { bezier_spline
/*14*/ <61.964286, -1.7382813e-05>, <61.964286, -1.7382813e-05>,
<0,-1.7382813e-05>, <0,-1.7382813e-05>
=
<61,0> <61,0> <0,0> <0,0> points duped as handles
"seems to never quite enjoy the result"
Could it be because Inkscape exports last segment withOUT control handles?
see cup2.svg also: there were 14 "C" tokens an "M" and an "L",
which left only 14 sets of handles.
d="M 0,1052.3622 C 0,1033.7908 ... L 0,1052.3622 z "
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
From: nemesis
Subject: Re: waste of time source and bezier curves zipped
Date: 6 Feb 2008 14:49:49
Message: <47aa0f5d@news.povray.org>
|
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
alphaQuad wrote:
> #local cup2 = lathe { bezier_spline
>
> /*14*/ <61.964286, -1.7382813e-05>, <61.964286, -1.7382813e-05>,
> <0,-1.7382813e-05>, <0,-1.7382813e-05>
> =
> <61,0> <61,0> <0,0> <0,0> points duped as handles
>
> "seems to never quite enjoy the result"
>
> Could it be because Inkscape exports last segment withOUT control handles?
>
> see cup2.svg also: there were 14 "C" tokens an "M" and an "L",
> which left only 14 sets of handles.
> d="M 0,1052.3622 C 0,1033.7908 ... L 0,1052.3622 z "
you have eagle eyes to spot that! How about submitting a bug report to
the inkscape guys?
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |