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
2
votes
0 answers

Python .append seems to run forever and the 'uniform' value seems not too random (making Poisson sphere distribution in Python)

I am now trying to calculate the poisson sphere distribution(a 3D version of the poisson disk) using python and then plug in the result to POV-RAY so that I can generate some random distributed packing rocks. I am following these two…
Ari
  • 21
  • 4
2
votes
0 answers

How can I place texture images to each side of a box in POV Ray?

I want to create a simple cube in pov ray and I want to place different texture images on each side of the cube. I can find examples how to place a single image to a cube or sphere, but I haven't found anything about my issue. Do I have to use…
burli
  • 345
  • 2
  • 12
2
votes
1 answer

Simulating the "continue" directive, and other alternatives

Some programming languages support a "continue" directive in loops to skip to the next loop. How do you achieve the same thing in languages that don't have this directive? I am facing a situation now in povray where I need this behavior. Thanks.
posfan12
  • 2,541
  • 8
  • 35
  • 57
2
votes
1 answer

PovRay conversion

According to my recollection, once an object or a scene was described in PovRay, there was no other output than the rendering generated. In other words, once exported into *.pov, you were no longer able to convert it into an other 3D file…
Buttonwood
  • 194
  • 1
  • 10
2
votes
0 answers

POVRAY - Is there a way to collect environment data?

I am currently dispersing photons in a pov ray environment, however what I would like to do is collect properties of each photon and their interactions with the scene, in other words collect information on each photon trajectory. How do you think i…
2
votes
1 answer

16bits per color using +fN16 still gives 255 intensity levels per color rather than 65535

I render a scene with the option: +fN16 in my .ini file. The .png file created is 48bit as expected (in windows I look at file->Properties->Details->Bit depth = 48). However, when I sort all the pixel values in ascending order and take the…
DrBubbles
  • 203
  • 1
  • 7
2
votes
0 answers

In povray, is there a way to sum the light hitting a surface area into a value?

I am simulating different light pipes and would like to quantify the amount of light hitting the area under the light pipe. Is there a way in povray to quantify the amount of light (down to a single value) hitting a specific area of a surface?
st2000
  • 286
  • 1
  • 16
2
votes
1 answer

area_light in POV-ray only getting 1 spot?

I'm ray-tracing an areal light source in POV-ray and wanted to check what the source looked like. So I put a diffuser plate right next to it (and parallel to it). I only see a single point source of light a the center though, rather than the 5x5…
DrBubbles
  • 203
  • 1
  • 7
2
votes
2 answers

How to draw Isosurface over my xyz data point in POVRAY 3.7

I read the tutorial of POVRAY but i did not understand how to draw isosurface over my xyz data points. In the tutorial they only talk about isosurface of function. Can anyone tell me is it possible to draw isosurface over data points such that…
ankit agrawal
  • 301
  • 1
  • 14
2
votes
1 answer

POVRay referencing object rotation values

How can I reference an object in POVRay? I mean I want to rotate another object on axis X by another object's rotation value of its Z axis. I am thinking about someting like this (this of course does not work, just to show you what I mean): // lets…
errerr
  • 63
  • 8
2
votes
1 answer

Does POV-Ray support regular units of measurements like inch, mm?

I want to translate the camera by 2 inches, but found that POV does not have unit declarations. Are there any default settings to declare 1=? If there is none, then how can I translate by 2 inches?
2
votes
0 answers

POV-Ray Soda can model

I am trying to model a Soda can, with the ends becoming conical, instead of a simple cyliner, using the following code : #include "colors.inc" #include "stones.inc" camera { location <8, 8, -23> look_at <8, 8, 3> } light_source…
Sean
  • 789
  • 6
  • 26
2
votes
1 answer

Installing POV-Ray: configuration error

I am trying to install POV-Ray 3.7 stable version. I downloaded the source code from github repo. I followed the instruction for unix system which is described in the README file. Unfortunately I get error message when I run configure…
Jiho Noh
  • 581
  • 4
  • 7
2
votes
2 answers

POVray: How to reliably create nice merges of objects merely touching on the surface?

What I'm doing I have a scene which algorithmically draws a prism with a hexagonal cross-section and n layers of such prisms surrounding the center one, such that all the prisms together make a larger hexagon shape. Now, each row of prisms is…
Zet
  • 21
  • 2
2
votes
2 answers

Using povray to export data

Is there any mechanism in POVRay to export data? I've used some SDL code to create a long list of points needed to render my scene and it strikes me that if I could export those once created it would speed up my rendering. I figure I could use…
bittramp
  • 121
  • 2
  • 15