[Bf-committers] Proposed change for (not) rendering with missing links

Jed jedfrechette at gmail.com
Sun Mar 2 20:13:54 CET 2014


Campbell Barton wrote
> So as for the original request - I think a way to consider certain
> errors fatal could be useful.
> 
> Example of options to abort on...
> 
> - missing library blend.
> - missing file (image/sculpt/movie... etc)
> - missing pointcache (if it can't be generated)
> - script error (error in driver or any script passed via --python
> argument)
> - invalid fcurve rna paths.
> 
> Failing silently on errors like this can be really annoying especially
> if you do hrs of rendering only to find the result is useless

I'm imagining something like Scribus's Preflight Verifier. It ships with a
few default profiles that will do various sanity checks depending on the
intended output format. The user can define their own profiles. It can be
run manually but by default it will run at export time before rendering. If
it detects an issue it will describe the issue and give you the option of
canceling the render or ignoring the issue and continuing (maybe I moved my
.blend file to intentionally break all of my texture paths because I wanted
a quick clay render and couldn't be bothered to turn them off). If you
really don't want automatic checking before export/render it can be
disabled, although given how much better computers are than humans at
keeping track of large numbers of assets and doing this sort of validation
I'm not sure when that would be desirable.

Like you indicated for the open movies, I'm guessing a lot of people are
already using their own homebrew scripts to do similar sorts of things.
Although that's easy enough to do, it would be nice if Blender shipped with
a more well defined framework for running preflight checks as well as a few
default profiles. That way casual users would get the benefit of checks
without having to write them and TDs who need more complex checks would only
need to write a profile (presumably a Python script) and wouldn't need to
worry about all the back-end logistics, how to present the results to the
user, etc.

Note that there is no reason preflight checks should be limited to rendering
checks. For example, all of the geometry checks that can be done in the 3D
printing toolbox could be converted to a "3D printing" preflight profile.




--
View this message in context: http://blender.45788.x6.nabble.com/Proposed-change-for-not-rendering-with-missing-links-tp118513p118554.html
Sent from the Bf-committers mailing list archive at Nabble.com.


More information about the Bf-committers mailing list