|
 |
kurtz le pirate <kur### [at] free fr> wrote:
> On 15/03/2025 11:14, Paul Bourke wrote:
> > "Paul Bourke" <pau### [at] gmail com> wrote:
> >> Any ideas why this scene
> >> https://paulbourke.net/transient/povray/
> >> crashes once "theradius" gets past a certain value, eg: 0.6. There are no
> >> coincident points, running version 3.7 on MacOS. Tonnes of RAM (192GB) and only
> >> a fraction is used.
> >> And more importantly, how to fix or get around it?
> >
> > Also happens for beta 3.8, but at different values of "the radius".
> >
>
> IMHO, this comes from using the <disk> object.
>
> Have you tried using the <cylinder> object instead ?
I just tried it, didn't make any difference, still crashes, in fact crashes more
reliably now. Here's the new DoPoint macro.
#macro DoPoint(theposition,thecolour)
#local thenormal = vnormalize(VP-theposition);
#local thedistance = vlength(VP-theposition);
#if (thedistance > 0.2) // Filter any points close to the camera
#if (thedistance < 30) // Filter any distant outliers
#local theradius = 0.05;
cylinder {
<0,0,0>, thenormal/100, 0.95
//hollow
texture {
pigment {
onion
colour_map {
[0.00, rgb thecolour transmit 0]
[0.20, rgb thecolour transmit 0.95]
[1.00, rgb thecolour transmit 1]
}
}
finish { emission 0 ambient 1 diffuse 0 specular 0 }
}
scale theradius
translate theposition
}
#end
#end
#end
Post a reply to this message
|
 |