Questions tagged [povray]

POV-Ray is a free open-source ray-tracing program which accepts a scene description in a textual programming-like language and renders an image with lighting, shadows, reflections, refraction and other visual effects calculated automatically.

POV-Ray (Persistence of Vision Raytracer) renders scenes described by a scene description language. Conventional computer graphics techniques (scan-line techniques) loop through each object to be rendered and calculate where and how to draw them on the image. In contrast, ray tracing loops through each pixel in the image, and fires a ray from the viewpoint (the eye) back through the pixel into the world to find out what object the ray will eventually hit. The color of that object is assigned to the pixel. If the object has a reflective surface, another ray is fired off in the appropriate direction and a component of its color is added to the pixel. Similarly, surfaces that refract light generate another ray through the transparent material and a component of the color it calculates is also added to the pixel.

POV-Ray is available from www.povray.org and is free to use. The program itself cannot be embedded into commercial software without permission but the images created are owned by the creator of the scene file. See www.povray.org for details on the licensing.

96 questions
1
vote
0 answers

How can I render a photorealistic 3D scene in memory on JVM?

Here's my problem space: Render a 3D scene on the JVM (we're using Clojure) into a JPG/PNG image. renders need to be high quality and preferably photorealistic renderer needs to be an in-memory lib or a shell-based invocation that is very fast to…
Cody Canning
  • 176
  • 3
  • 14
1
vote
1 answer

Drawing half filled glass cylinder in POV-Ray

I want to draw following using POV-Ray. #include "colors.inc" #include "glass.inc" #include "textures.inc" global_settings { ambient_light color White} camera { location <0, 0, -10> right x*image_width/image_height look_at<0, 0,…
Pradip Kharbuja
  • 3,442
  • 6
  • 29
  • 50
1
vote
0 answers

Why is the intensity of a solid object passing through the camera not <0,0,0>?

I have a Pov-Ray scene looking at a sphere with a solid cylinder on axis passing through the camera and the sphere center. The rendered image has rgb values of <89,89,89> in the area occupied by the solid cylinder. Shouldn't these pixels be opaque…
DrBubbles
  • 203
  • 1
  • 7
1
vote
1 answer

Light travels through glass in POVRay?

In this image I have placed light sources directly above and to the left of glass tubes with an index of 1.3. But I do not see any of the expected artifacts (evidence) that light is traveling through the tubes and reflecting off the checkerboard…
st2000
  • 286
  • 1
  • 16
1
vote
2 answers

Render multiple POV-Ray scenes on Windows

I have a whole bunch of POV-RAY files from a molecular dynamics simulation with the general name "frameXX.pov" where "XX" is the number of the frame. I want to render them all but I have like 500 so I really don't wanna do it by hand. I'm sure…
Nope
  • 34,682
  • 42
  • 94
  • 119
1
vote
1 answer

How to output calculated info in POV-Ray animation?

I'm creating a POV-Ray 3.6.2 (Windows) animation using an ini file as usual. In the pov file, I calculate several values such as camera position based on the clock value. How can I output these values in some way that is easily retrievable for…
Gnubie
  • 2,587
  • 4
  • 25
  • 38
1
vote
1 answer

How to read multiple text files using file extension as loop variable in POVRAY

I am newbie to Povray. I have coordinates for all beads with time in .XYZ file. Now I want to generate .png snapshot for each time, so that I can make movie using ffmpeg. My problem is this: I wanted to know, what is the format for file extension as…
ankita
  • 11
  • 2
1
vote
1 answer

How to plot 3-dimensional points as an object in POV-Ray?

I have a set of three dimensional points, and I want to create the surface that fits these points in POV-Ray. Is it possible? I could not find a way to do it.
emono
  • 11
  • 1
1
vote
1 answer

POV-Ray Resting object

I have a cone created in POV-Ray with torus { 8, 4 texture { pigment { Purple } } translate <0, .... , 0> cone { <0, 0, 0> 5 <0, 5, 0> 0 texture { pigment { Brown } } } I'm trying to make the torus "rest" on top of the cone. How would I…
bob gunton
  • 11
  • 2
1
vote
1 answer

Passing arguments into POV-ray objects

I'm trying to make a scene with POV-ray, where I would like to make several objects of the same type but with different position, rotation and color. The object I want to make looks like #declare Width = 30; #declare Length = 120; #declare Thickness…
pathoren
  • 1,634
  • 2
  • 14
  • 22
1
vote
2 answers

Draw only specified pixels and not whole scene?

Is it possible to ask povray to draw only a portion of a scene rather than a whole scene? So specify a set of pixels to be drawn?
1
vote
1 answer

Why there are wrinkles on my isosurface rendered by pov-ray?

I'm beginner of pov-ray, and I'm trying to use it to render some wavefunction from my simulation. I tried the following code, but why there are wrinkles on the surface? #include "colors.inc" camera{location <10,10,-10> look_at 0} light_source{…
xslittlegrass
  • 4,826
  • 4
  • 26
  • 32
1
vote
1 answer

Koch Curve Povray Code

Here is a povray code that I am trying to digest: #include "colors.inc" camera { location <4, 0, -10> look_at <4, 0, 0> } background{White} light_source { <10, 10, 5> color White} light_source { <0, 20, 0> color White}…
Mack
  • 665
  • 2
  • 11
  • 20
1
vote
0 answers

How to do phong shading in POV-ray

I am using POV-ray raytracer for rendering. I have a mesh of triangles, when I render that using : mesh { triangle { < corner_1>, , } } I am not getting smooth shading, there is also a provision for…
user2481909
  • 376
  • 2
  • 5
  • 13
1
vote
0 answers

Converting Processing code to POVray

I am trying to convert a bit of code from Processing to POVray format. Here's the original: http://www.openprocessing.org/sketch/17344 Here's the POVray version I created: #declare TWO_PI = 2 * pi; #declare iNx = 32; // the number of…
posfan12
  • 2,541
  • 8
  • 35
  • 57