RenderKit / ospray

An Open, Scalable, Portable, Ray Tracing Based Rendering Engine for High-Fidelity Visualization
http://ospray.org
Apache License 2.0
982 stars 178 forks source link

Support for POVRay-like scripts to render a whole scene? #505

Closed heriberto-delgado closed 6 months ago

heriberto-delgado commented 2 years ago

This is an actual, real need I have in a process performed by the company I work for. We use POVRay to generate some renderings, but noticed that the tool performs way too slow for our needs - understandably so, since it is a CPU-only tool. When asked whether the tool will ever get GPU or any kind of acceleration support, they outright rejected the request.

I just discovered this today, and my first impression is it looks like a promising POVRay replacement for our internal processing - the only thing I would like to confirm is, will we ever be able to generate a script (any script - there is no need for it to be in POVRay language or anything) with the required scene and tell this lib / tool, in one single step, to render it? Or is this something we need to tackle in a program using the lib?

johguenther commented 2 years ago

I'd say yes, but rather by using OSPRay Studio (on GitHub), an application using OSPRay for rendering. With Studio you can use its batch mode to render scenes / scripts, either via existing importers (e.g. glTF) or by writing your own importer-plugin. Studio also has a Python interface to script the scene.

BruceCherniak commented 2 years ago

If you contact me with an OSPRay Studio issue, I will be happy to help plan out a solution to your needs. Studio does have an SDL, which is a json representation of our internal scene graph format. And, this can be scripted. Additionally, scenes can be scripted in python.

BruceCherniak commented 2 years ago

Hello,

Are you still interested in this request? If so, I recommend that we transfer this issue over to OSPRay Studio and create what you need there. I’m happy to help.