- User Since
- Sep 30 2016, 4:40 AM (102 w, 5 d)
Mar 28 2018
Last update for awhile. It's some cleanup plus the latest syntax for motion blurred vertices, plus adding the curves xml object. I won't be able to continue on this before summer.
Mar 22 2018
Updated xml motion blur syntax:
Mar 19 2018
Quite a few changes. I've added motion blur support for the xml files and for alembic. I'm not happy with the syntax and would like to discuss alternatives. Currently it's like this:
Mar 12 2018
Still WIP; updated to latest repository. Added state option for curve primitive type.
Mar 7 2018
This is a WIP diff. Let me know if you have problems applying/building it. I've included a new example scene for testing curve primitives, examples/scene_curves.xml. Brecht, if you're able to build it you'll see the resulting curves have issues when rendered: the joints at control points have cracks and the curves are also not smooth. They seem like simple linear tubes.
I've made most of these changes, and am testing. I started adding support for alembic Curves, adding them as Mesh curves, then noticed the curve.h/curve.cpp files in the render/ directory. This seems to be a more complete hair/fur system but it doesn't seem like the api is fully exposed in the standalone version of cycles yet. Is this correct? What's the best way to go about importing curves? Generally speaking, the curve control points should be treated as catmull-rom spline, interpolating the first and last control points and being either quadratic or cubic smooth in between.
Mar 3 2018
Update to Brecht's suggested organization. I still liked this syntax though:
Mar 2 2018
Thanks for all the comments. I'll split out the alembic code into it's own file and make the style notes you suggested. Is there a style guide online for Cycles developers?
Mar 1 2018
Sep 30 2016
Is there any activity on this? I know alternatives, C apis, other file formats, etc., have been discussed. I've made some small additions to the xml handling to support motion blur as well as a simple dso loader to experiment with rendering alembic caches. How can I make these available for others to play with?