|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi all,
I'm working on a scene with sphere_sweeps, but it renders unusually slow -
there's only 10 points on a cubic spline with just a pigment and the render
drops to 2000 pps. The sphere_sweep seems to be bound incorrectly as well.
Is there anything I can do to speed things up a little? - I've already
adjusted to tolerance to 0.1.
thanks in advance
jim
ps here's the code (cm and mm are just [arbitrary] definitions of units i.e.
cm = 1, mm = 0.1)
#local N=10;
#local Length = 10*cm;
#local Height = 5*mm;
#local Width = 5*mm;
#local y_period = 4;
#local z_period = 4;
#local R1 = 1*mm;
#local R2 = 0.1*mm;
#local i=-1;
sphere_sweep{
b_spline
N+1
#while(i<N)
<Length/N*i,Height*sin(y_period*pi*i/N),Width*sin(z_period*pi*i/N)>
R1 + (R2-R1)/N*i
#local i=i+1;
#end
pigment{White}
tolerance 0.1
}
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
On Tue, 17 Sep 2002 15:36:07 +0100, "James Taylor"
<jim### [at] blueyondercouk> wrote:
> I'm working on a scene with sphere_sweeps, but it renders unusually slow -
> there's only 10 points on a cubic spline with just a pigment and the render
> drops to 2000 pps. The sphere_sweep seems to be bound incorrectly as well.
> Is there anything I can do to speed things up a little? - I've already
> adjusted to tolerance to 0.1.
I can't promise anything but
http://news.povray.org/d1venucb9u3r431pj99pritqpbddo2fbcb%404ax.com
http://news.povray.org/povray.unofficial.patches/27251/
ABX
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
James Taylor wrote:
>
> Hi all,
>
> I'm working on a scene with sphere_sweeps, but it renders unusually slow -
> there's only 10 points on a cubic spline with just a pigment and the render
> drops to 2000 pps.
2000 pps is slow ? I have render running right now at 11 ppm!
--
Ken Tyler
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> 2000 pps is slow ? I have render running right now at 11 ppm!
not normally, but this is a test render with no textures and just 1 object -
I was planning on adding focal blur + media etc
jim
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
James Taylor <jim### [at] blueyondercouk> wrote in message
news:3d873e43@news.povray.org...
That would render in a few seconds with my Cheap_Sweep macro. It makes a csg
sweep object. It is limited when compared to a genuine sphere_sweep, but it
will very quickly make a curvy line.
http://news.povray.org/povray.binaries.images/23308/
http://news.povray.org/povray.binaries.scene-files/23501/
To be honest, I wouldn't use this macro myself anymore because I pretty much
only code meshes now, but it may be the quickest way to get from a to b for
what you are trying to do.
-Shay
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Shay" <sah### [at] simcopartscom> wrote
...
thanks for the links, Shay - I'll take a look
I might even consider thinking about writing a sphere sweep mesh macro,
although I'm not sure that there would be any benefit in most cases.
jim
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
James Taylor <jim### [at] blueyondercouk> wrote in message
news:3d877452@news.povray.org...
>
> I might even consider thinking about
>
Too late, you've already done it! <g>
> although I'm not sure that there would be any benefit in most cases.
>
It would certainly be faster in most cases. I like mesh a lot. I am
currently working on an IRTC entry made entirely out of meshes. My memory
might run out before time does, however. I'm already at 100k vertices (no,
not grass or any other clones) and I've just started.
-Shay
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Shay" <sah### [at] simcopartscom> wrote in message
news:3d877c35$1@news.povray.org...
>
> James Taylor <jim### [at] blueyondercouk> wrote in message
> news:3d877452@news.povray.org...
> >
> > I might even consider thinking about
> >
> Too late, you've already done it! <g>
do you plan to publish?
> > although I'm not sure that there would be any benefit in most cases.
> >
> It would certainly be faster in most cases. I like mesh a lot. I am
> currently working on an IRTC entry made entirely out of meshes. My memory
> might run out before time does,
in which case it's time to buy more memory ;)
>...however. I'm already at 100k vertices (no,
> not grass or any other clones) and I've just started.
go on...give us a clue
jim
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
James Taylor <jim### [at] blueyondercouk> wrote in message
news:3d878ab2$1@news.povray.org...
> > >
> > > I might even consider thinking about
> > Too late, you've already done it! <g>
> do you plan to publish?
>
I haven't made anything, I was just kidding about your wierd sentence.
>
> go on...give us a clue
>
I'll only say that it will most likely be the only "landscape" entry with no
10k clones, no heightfields, and no naked poser chicks.
-Shay
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Shay <sah### [at] simcopartscom> wrote in message
news:3d878e1b$1@news.povray.org...
> >
> I haven't made anything,
>
Whoops...forgot. I did code a mesh spline sweep once, don't have the code
anymore, however.
http://news.povray.org/povray.binaries.images/23424/
-Shay
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |