Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need a raytracer, but I have some trouble with povray. is there a free, cross platform alternative which accepts a simple subset of povray syntax ? need to run it from command line. no graphics.

share|improve this question
up vote 5 down vote accepted

Would Yafaray meets your needs? I use it with Blender and I find it brilliant!

share|improve this answer

MegaPOV is a version of POV-Ray with unofficial patches and improvements. It is free and runs under Snow Leopard (just tested under OS X 10.6.7).

share|improve this answer

Good luck finding anything substantial that reads POV-Ray Scene Description Language. There's nothing but POV-Ray and maybe some handy little utilities and maybe some translators out there that can do that, as far as I've seen. (But I'm often missing out on something...)

But, loosening up on that requirement, there's Art of Illusion, LuxRender, Pixie, Kerkythea, Radiance (primarily a global illumination tool, but does ray tracing too), and more... try browsing the Wikipedia article on ray-tracing.

I didn't check if all these can be run from a command line or from within a program, but I think so.

While POV-Ray's SDL hasn't caught on outside its original turf, Renderman is much more widely accepted. Since that may be outside your interest, I'll say no more.

Another thing - pure raytracing seems to have faded away, mostly. Many renderers combine different algorithms for their total effect. POV-Ray, even, has photon mapping where light is thrown forward from source to surface, as in physical reality. Just how to handle interacting lighting between surfaces (global illumination), and rays passing through transparent/translucent materials that don't originate from the camera, is an active area of research, with the current state of the art being multiple choices depending on the type of scene to render. Thanks to super-duper hardware, compilers and operating systems today, creators of 3D scenes have choices among algorithms, including some previously thought hopelessly inefficient. We live in marvelous times!

So, instead of asking for just an alternative to POV-Ray, explain what kinds of scenes you want to make, with what final visual effects. Would you like HDRI output? Programming in Python for precise complex geometry? There's almost certainly a tool for the job.

share|improve this answer

povray will run from the command line with no graphics, and obviously will accept a subset of pvoray syntax. What problems are you having with it? It would seem to be more sensible to fix those problems than trying to avoid them.

share|improve this answer
it does not compile on snow leopard, and the binary is for ppc. rosetta crashes when I run it. – Stefano Borini Jan 25 '10 at 17:19

Luxrender is very nice. Syntax is different from Povray but similar. GUI & command line versions.

share|improve this answer

There are a few java ray tracers out there which are open source. this is one of them.

You can probably run them with inputs from the command line. I wrote a very simple one in java, and I have a friend who has a better one which can be easily modified to do what you need.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .