File:Rotating raytraced ball and stick model of an octahedron.ogv

Rotating_raytraced_ball_and_stick_model_of_an_octahedron.ogv(Ogg Theora video file, length 14 s, 720 × 540 pixels, 1.62 Mbps, file size: 2.78 MB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary edit

Description
English: A rotating raytraced ball and stick model of an octahedron, made with POV-Ray.
Date
Source Own work
Author Prateek Karandikar
Other versions A 4000x3000 still image : File:Raytraced ball and stick model of an octahedron.png

Source Code edit

The include file vert_edge.inc:

#declare SteelBall = sphere{
	0 , 0.2
	texture{
		pigment{color rgb <224/255, 223/255, 219/255>}
		finish{
			reflection 0.7
			diffuse 0.5
			specular 1
			roughness 0.005
			metallic
		}
	}
	photons{
		target
		reflection on
		refraction on
	}
}

#macro Rod(End1, End2, Col)
cylinder{
	End1, End2, 0.1
	texture{
		pigment{Col}
	}
}
#end

The main source:

#include "colors.inc"
#include "vert_edge.inc"

#declare phi = (1+sqrt(5))/2;
 
camera{
	location -10*z
	look_at 0
	angle 25
}

light_source{
	<-5,5,-5>
	White
	area_light
	0.3*y, 0.3*z, 15,15
	adaptive 2
	photons{
		reflection on
		refraction on
	}
}

light_source{
	<5,5,-5>
	White
	area_light
	0.3*y, 0.3*z, 15,15
	adaptive 2
	photons{
		reflection on
		refraction on
	}
}

light_source{
	0
	0.4*White
	photons{
		reflection on
		refraction on
	}
}

#declare Mone = array[2] {1,-1};

#macro EdgeGroup(End1, End2, Col)
	Rod(End1, End2, Col)
	Rod(-End1, -End2, Col)
#end

#declare sc = 1.3;
#declare X = sc*x;
#declare Y = sc*y;
#declare Z = sc*z;

union{
	object{SteelBall translate X}
	object{SteelBall translate -X}
	object{SteelBall translate Y}
	object{SteelBall translate -Y}
	object{SteelBall translate Z}
	object{SteelBall translate -Z}
	
	EdgeGroup(X,Y,Red)
	EdgeGroup(X,-Y, Med_Purple)
	EdgeGroup(Y,Z, Blue)
	EdgeGroup(Y,-Z, Orange)
	EdgeGroup(Z,X, Green)
	EdgeGroup(Z,-X, Yellow)
	rotate <15,15,15>
	rotate clock*360*y
}

global_settings{
	max_trace_level 20
	photons{count 100000}
	radiosity{recursion_limit 10}
}

Render Statistics edit

Scene Statistics
  Finite objects:           18
  Infinite objects:          0
  Light sources:             3
  Total:                    21
Render Statistics
Image Resolution 720 x 540
----------------------------------------------------------------------------
Pixels:        140202000   Samples:       212549400   Smpls/Pxl: 1.52
Rays:          248897258   Saved:              2447   Max Level: 12/20
----------------------------------------------------------------------------
Ray->Shape Intersection          Tests       Succeeded  Percentage
----------------------------------------------------------------------------
Cone/Cylinder              16981358731      1333410597      7.85
Sphere                      3251266017      1101299251     33.87
Bounding Box               76418730060     28403398491     37.17
Light Buffer                 380993473       220098933     57.77
Vista Buffer                1387728190       882181611     63.57
----------------------------------------------------------------------------
Calls to Noise:                   0   Calls to DNoise:            3600
----------------------------------------------------------------------------
Shadow Ray Tests:       10938686561   Succeeded:            1367956655
Reflected Rays:            25374171
----------------------------------------------------------------------------
Radiosity samples calculated:              487 (0.19 %)
Radiosity samples reused:               253287
----------------------------------------------------------------------------
Number of photons shot:         6229455
Surface photons stored:          204764
Priority queue insert:       8503936832
Priority queue remove:       5541996421
Gather function called:        85179530
----------------------------------------------------------------------------
Smallest Alloc:                   9 bytes
Largest  Alloc:              327688 bytes
Peak memory used:           1010884 bytes
Total Scene Processing Times
  Parse Time:    0 hours  0 minutes 20 seconds (20 seconds)
  Photon Time:   0 hours  2 minutes 20 seconds (140 seconds)
  Render Time:  26 hours 48 minutes 22 seconds (96502 seconds)
  Total Time:   26 hours 51 minutes  2 seconds (96662 seconds)

Licensing edit

I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head 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.
w:en:Creative Commons
attribution share alike
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/TimeThumbnailDimensionsUserComment
current09:58, 23 December 201014 s, 720 × 540 (2.78 MB)Kprateek88 (talk | contribs){{Information |Description={{en|1=A rotating raytraced ball and stick model of an octahedron, made with POV-Ray.}} |Source=Own work |Author=Prateek Karandikar |Date=2010-12-21 |Permission= |other_versions=A 4000x3000 still image : [[:File:Raytraced ball a

There are no pages that use this file.

Transcode status

Update transcode status
Format Bitrate Download Status Encode time
VP9 480P 338 kbps Completed 00:54, 18 October 2018 12 s
Streaming 480p (VP9) Not ready Unknown status
VP9 360P 217 kbps Completed 00:54, 18 October 2018 10 s
Streaming 360p (VP9) Not ready Unknown status
VP9 240P 144 kbps Completed 00:54, 18 October 2018 8.0 s
Streaming 240p (VP9) 144 kbps Completed 13:43, 17 December 2023 1.0 s
WebM 360P 511 kbps Completed 18:34, 17 November 2012 12 s
Streaming 144p (MJPEG) 873 kbps Completed 18:19, 19 November 2023 2.0 s

Metadata