Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

in short:

Do you know something for generative scripting of 3D scene and rendering it like POVray, but with more modern rendering technology ( Metropolis-light transport, GPGPU, ambient occlusion ), and idealy with scene description language based on general purpose language like Java or python. Simply - more modern replacement for POVray


long storry:

I'm using sometimes POVray for generative design/graphics, because scene-description language of POVray is very good, and it is the only 3D rendering software I know where the primary mean of input is "to write the code of scene" rather than "to model the scene using GUI"

On the other hand, the core of POVray is quite old-fasioned. The visual quality is far behind for example Luxrender, and speed is also not so great ( there are missing such common tricks as ambient occlussion ). On the other hand input files for luxrender are not supposed to be writen by hand ( for example there is nothing like POVray's great solid modeling with bolean operations on geometric primitives, or surfaces described by analytic function prescription or "blobs" which I use for scripting a lot ).

Also, I think It would be nice, to integratde the scene description language within some general purpose programming language ( like python or java ) or at least have some fully-capable interface to these languages.

I wonder if there is something like this?

I my knowledge, the closes to this was SunFlow which can be imported as a library to any Java program, and the primitive classes and interfaces could be extended in standard java - so you can in principle define your own geometric primitives this way. However, SunFlow project seems dead now, and there are no good tutorials how to use this direct java interface.

share|improve this question

1 Answer 1

No, there is none.

Among open source raytracers you have Luxrender, Yafaray, Sunflow and Aqsis, but none of them supports creating scenes with a scene description language as with POVRay. As I gather, only simple POVRay scenes has the potential to be converted to other formats, mainly due to it also being a scripting language.

One possible solution, which is somewhat desperate, could be to write the code in YAML or then convert it to XML for Yafaray. YAML is friendlier to write than XML.

share|improve this answer
    
script parsing to XML should not be a problem. However, the question is if Yafaray support similar geometrical primitives and operations like POVray ( boolean operations on geometry primitives, analytical functional decription of surfaces, blobs ... ) because most of the modern renderers is supposed to render just polygons meshes (= triangles) ... this is the case of Luxrender which would be otherwise my favourite –  Prokop Hapala Jun 14 '13 at 9:21
    
I don't think Yafaray supports all that, so in that case the answer is just "no". See also: yafaray.org/development/documentation/XMLspecs I'm a big fan of Luxrender too, btw. –  Alexander Jun 14 '13 at 11:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.