File:Raytraced red sphere with photon mapping.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Original file(5,000 × 3,750 pixels, file size: 1.52 MB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description
English: A raytraced scene consisting of a red sphere and a black torus, above a white plane. The thick red sphere has inner and outer radii in the ratio 5:7, and has refractive index 1.2. Caustics can be seen, as photon mapping was used in rendering. This took 16 hours to render at 5000x3750 on an Intel Pentium 1.8GHz machine with 1GB RAM.
Date
Source Own work, created with POVRay
Author Prateek Karandikar
Other versions Currently Commons doesn't seem to display thumbnails of PNG images with more than 12.5 million pixels. A 4000x3000 version, which has a thumbnail displayed on the image description page, is here.

POVRay source code[edit]

#include "colors.inc"
#include "textures.inc"

camera{
	location -5*z
	look_at -0.5*y
}

light_source{ 
	<-3,4,-2.5> White
	photons{
		reflection on
		refraction on
	}
	fade_distance 6
	fade_power 2
}

light_source{ 
	<4,1,2> 0.7*White
	photons{
		reflection on
		refraction on
	}
	fade_distance 5
	fade_power 3
}



intersection
{
	plane{y, -1}
	plane{z,5}
	texture{
		pigment{color White}
		finish{reflection 1 specular 0.3}
	}
}

#declare sph=
difference{

sphere{0,0.7}
sphere{0,0.5}
	texture{
		pigment{color <1,0,0,0.9>}
		finish {specular 0.4 ambient 0 reflection 0.2}
	}
	interior{
		ior 1.2
	}
	photons{
		target
		refraction on
		reflection on
		collect on
	}
}

object{ sph }

torus{
	0.8, 0.1
	texture{
		pigment{color <0.7,0.7,0.7>}
		finish{specular 0.3 ambient 0 reflection 1 diffuse 0.2}
	}
	photons{
		target
		reflection on
		collect on
	}
	translate 1.2*y
}

global_settings{
	photons{
		count 10000
		radius ,2
	}
	radiosity{}
	max_trace_level 10
}

Render statistics[edit]

 16:00:19 Done Tracing
Render Statistics
Image Resolution 5000 x 3750
----------------------------------------------------------------------------
Pixels:         18750605   Samples:        18750605   Smpls/Pxl: 1.00
Rays:          139461583   Saved:          25160547   Max Level: 10/10
----------------------------------------------------------------------------
Ray->Shape Intersection          Tests       Succeeded  Percentage
----------------------------------------------------------------------------
CSG Intersection             477198636       171011730     35.84
Plane                        539083120       204462397     37.93
Sphere                       415314152       250391013     60.29
Torus                        104261706        11679484     11.20
Torus Bound                  104261706        17131017     16.43
Bounding Box                 331537184       237956273     71.77
Light Buffer                 627038208       473084147     75.45
Vista Buffer                  46317929        39962467     86.28
----------------------------------------------------------------------------
Roots tested:              17131017   eliminated:              2909500
Calls to Noise:                   0   Calls to DNoise:              10
----------------------------------------------------------------------------
Shadow Ray Tests:         255101081   Succeeded:              87797489
Reflected Rays:            70989418   Total Internal:          1789622
Refracted Rays:            49655579
----------------------------------------------------------------------------
Radiosity samples calculated:             1931 (0.00 %)
Radiosity samples reused:             70980645
----------------------------------------------------------------------------
Number of photons shot:            2146
Surface photons stored:            5906
Priority queue insert:       6931184875
Priority queue remove:       7728109116
Gather function called:        70982593
----------------------------------------------------------------------------
Smallest Alloc:                   9 bytes
Largest  Alloc:            75000008 bytes
Peak memory used:          76539195 bytes
Total Scene Processing Times
  Parse Time:    0 hours  0 minutes  0 seconds (0 seconds)
  Photon Time:   0 hours  0 minutes  0 seconds (0 seconds)
  Render Time:  16 hours  0 minutes 19 seconds (57619 seconds)
  Total Time:   16 hours  0 minutes 19 seconds (57619 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
current06:32, 30 November 2010Thumbnail for version as of 06:32, 30 November 20105,000 × 3,750 (1.52 MB)Kprateek88 (talk | contribs){{Information |Description={{en|1=A raytraced scene consisting of a red sphere and a black torus, above a white plane. The thick red sphere has inner and outer radii in the ratio 5:7, and has refractive index 1.2. Caustics can be seen, as photon mapping w

There are no pages that use this file.