|
 |
yesbird <sya### [at] gmail com> wrote:
> On 16/03/2025 04:27, yesbird wrote:
> > This is what I got with theradius = 0.1 and no crash.
> > --
> > YB
>
> rendering complete animation and this is the first 11 seconds
> forward-backward loop:
> https://povlab.yesbird.online/pb/
>
> --YB
I think a I forgot to "post" after the "preview", sorry if it's a duplicate.
There were lots of comments around discs, their interior and so on. So I
reverted to polygons, problems seems to have disappeared.
Did some other things like filtering distant and really near points, fade
distance and power on the light.
The final render will be a stereoscopic pair as omni directional cylindrical
panoramas (created using a vertex shader style approach) at 12816 x 2048 pixels.
It's for a 8m diameter, 4m high LED cylindrical display.
#macro DoPoint(theposition,thecolour)
#local thenormal = vnormalize(VP-theposition);
#local thedistance = vlength(VP-theposition);
#local theright = vcross(thenormal,z);
#local theup = vcross(theright,thenormal);
#local theright = vcross(thenormal,theup);
#if (thedistance > 1.0) // Filter any points close to the camera
#if (thedistance < 30) // Filter any distant outliers
#local theradius = 0.01*(1+thedistance); // Diameter of closest points
#if (theradius > 0.3) // Diameter of most distant
#local theradius = 0.3;
#end
polygon {
5, theright, theup, -theright, -theup, theright
no_shadow
texture {
pigment {
onion
colour_map {
[0.00, rgb thecolour transmit 0.75]
[0.50, rgb thecolour transmit 0.95]
[0.95, rgb thecolour transmit 1]
[1.00, rgb <0,0,0> transmit 1]
}
}
finish { emission 0 ambient 0 diffuse 1 specular 0 }
}
scale theradius
translate theposition
}
#end
#end
#end
Post a reply to this message
|
 |