File:Caleidociclo com texturas.ogv
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
No higher resolution available.
Caleidociclo_com_texturas.ogv (Ogg Theora video file, length 6.7 s, 800 × 600 pixels, 702 kbps, file size: 571 KB)
File information
Structured data
Captions
Summary
[edit]DescriptionCaleidociclo com texturas.ogv |
Português: Animação mostrando um ciclo completo de um caleidociclo. Os quadros individuais foram produzidos com o POV-Ray, depois convertidos para vídeo (no formato AVI) usando o BMP to AVI Sequencer, e finalmente convertido para o formato OGG com o ffmpeg2theora-0.16. |
Date | |
Source | Own work |
Author | Helder |
Other versions | Caleidociclo com texturas (pequeno).ogg |
Código fonte
[edit]global_settings { assumed_gamma 2.2 }
#include "colors.inc"
#include "shapes.inc"
//#include "stones1.inc"
//#include "textures.inc"
#declare cal_x = 0;
#declare cal_y = 0;
#declare cal_z = 2;
#declare pos_caleidociclo = <cal_x, cal_y, cal_z>;
#declare tempo = clock;//0.17;
#declare cam_dist = 4.0; //coordenadas esféricas//
#declare cam_phi = 70.1; //angulo em relação a 'z'
#declare cam_theta = 135.1; //angulo em relação a 'x'
#declare DEG = pi/180;
#declare cam_x = cal_x + cam_dist * sin(cam_phi*DEG) * cos(cam_theta*DEG);
#declare cam_y = cal_y + cam_dist * sin(cam_phi*DEG) * sin(cam_theta*DEG);
#declare cam_z = cal_z + cam_dist * cos(cam_phi*DEG);
camera {
location <cam_x, cam_y, cam_z>
right <4/3, 0, 0>
up <0, 0, 1>
sky <0, 0, 1>
//angle 20
look_at pos_caleidociclo
}
light_source { < 30, 5, 50> color White }
light_source { <cam_x, cam_y, cam_z> color White }
background { color SkyBlue }
#declare A = <0, -1/2, 0>;
#declare B = <0, 1/2, 0>;
#declare C = <1, 0, 0>;
#declare D = <1/2, 0, sqrt(3)/2>;
#declare A1 = triangle { A, B, C
pigment {agate}//pigment { colour Yellow }
}
#declare A2 = triangle { C, B, D
pigment {granite}//pigment { colour Green }
}
#declare A3 = triangle { D, B, A
pigment {wood turbulence .25 scale .5}//pigment { colour Blue }
}
#declare A4 = triangle { D, A, C
pigment {marble turbulence .8}//pigment { colour Red }
}
#declare Tetraedro =
union { object { A1 } object { A2 } object { A3 } object { A4 }
finish { ambient .3 diffuse .6 }
}
#macro alfa (xxx) //dois seg's de reta: (0,0) -> (1,240) -> (2,0)
240*(1-abs(xxx-1))
#end
#macro beta (xxx)
#if (tempo<=1)
(2*asin( 1/(2*sin((pi+3*240*xxx*DEG)/6)) )/DEG -60 )
#else
(240-(2*asin( 1/(2*sin((pi+3*240*(xxx-1)*DEG)/6)) )/DEG -60))
//(240-(2*asin( 1/(2*sin((pi+3*480*(240*(xxx-1)*DEG)/6)) )/DEG -60))
#end
#end
#declare Bloco = union {
object { Tetraedro rotate <0, 60+alfa(tempo), 0> }
object { Tetraedro scale <1, 1, -1> rotate <0, -60, 0>}
rotate <0, 30, 0>
translate <-sqrt(3)/2,0,0>
}
#declare Caleidociclo = union {
union {
object { Bloco }
object { Bloco scale <-1, 1, 1> rotate <0, 0, 120-beta(tempo)>}
rotate <0, 0, -120+beta(tempo)>
translate <-sqrt(3)/2,0,0>
rotate <0, -150+alfa(tempo)+30, 0>
translate <-sqrt(3)/2,0,0>
}
object { Bloco scale <-1, 1, 1> rotate <0, 0, 120-beta(tempo)>}
}
object { Caleidociclo translate pos_caleidociclo }
#declare r = .01;
#declare Eixo =
cylinder {
<0,0,0>, <1,0,0>, r
}
Licensing
[edit]I, the copyright holder of this work, hereby publish it under the following licenses:
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
This file is licensed under the Creative Commons Attribution-Share Alike Attribution-Share Alike 4.0 International, 3.0 Unported, 2.5 Generic, 2.0 Generic and 1.0 Generic license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
You may select the license of your choice.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 14:33, 5 December 2008 | 6.7 s, 800 × 600 (571 KB) | He7d3r (talk | contribs) | {{Information |Description={{pt|1=Animação mostrando um ciclo completo de um caleidociclo. Os quadros individuais foram produzidos com o POV-Ray, depois convertidos para vídeo (no formato AVI) usando o [http://sourceforge.net/pr |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
- File:Caleidociclo com texturas.ogg (file redirect)
Transcode status
Update transcode statusFile usage on other wikis
The following other wikis use this file:
- Usage on es.wikipedia.org
- Usage on fr.wikipedia.org
- Usage on it.wikipedia.org
- Usage on ko.wikipedia.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Software used |
---|