|
![](/i/fill.gif) |
Hello,
this is a small animation of atom (breaking using simple "liquid" model).
Mirror: http://raf256.com/pov/atom0302.zip
I post .zip instead of .pov beacuse scene consist of >20 files (very small
files, i.e. configuration, options etc).
The scene it self is very simple (animation posted to .b.a) but there are 2
thinks that I like in it and I would be heapy for feedback :
1. organisation - many small files, qq/*.inc are quality settings,
scene/*.inc are global scene like lights, bacgrounds,
obj/*.inc are objects atc.
2. animation script - that works at any FPS rate.
I.e. if we render scene for clock 0.50 and previous clock was 0.40, then
program reads data saved from 0.40 and recalculates it by runing iterations
of main script loop (0.40 -> 0.50).
In animation_1.ini turn ON debug stream to see how this works.
Animation rebuildable data are stored in /_var/*
--
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M
Post a reply to this message
Attachments:
Download 'atom0302.zip' (18 KB)
|
![](/i/fill.gif) |