The Persistence of Vision Raytracer (POV-Ray).
This is the legacy Bug Tracking System for the POV-Ray project. Bugs listed here are being migrated to our github issue tracker. Please refer to that for new reports or updates to existing ones on this system.
Attached to Project: POV-Ray
Opened by Christoph Lipka - 2009-09-10
Last edited by William F Pokorny - 2017-03-20
Opened by Christoph Lipka - 2009-09-10
Last edited by William F Pokorny - 2017-03-20
FS#58 - allow SDL code to detect optional features
Some features are optional in custom builds of POV-Ray (I’m thinking about OpenEXR in particular); it would be nice to have a syntax for an SDL script to check for support of such features, so it may take some fallback action if the feature is not supported.
There should be no optional features. All features should be required! If that is not possible, it should be a fatal error and POV-Ray should just stop and let the user handle the problem explicitly.
Obviously there is at least one feature that isn't always compiled into POV-Ray: The OpenEXR feature. It would be really helpful in some situations to enable a scene author to anticipate this issue and work around it by, e.g., substituting a HDRI light probe sky with some programmatically generated sky. Or abort parsin early, before e.g. loading a bunch of highly detailed tree meshes and placing a gazillion of them programmatically, only to later stumble on the inability to load that one OpenEXR texture on the Nth mesh model.
Of course if the scene author does not anticipate this situation, the fatal error should be the right thing. But that doesn't mean it has to be the only way to handle it.
While this issue is becoming less important for POV-Ray proper (with OpenEXR becoming part of the source distribution), I guess it would still be helpful to have a common framework for detection of additional features provided by patches.
Now tracked on github as issue #253.