I started looking into supporting curves in Alembic. Hopefully I’m mistaken, but so far I’m somewhat alarmed by the inconsistent curve interpretation I’ve seen. Going back over the Alembic Discussion threads doesn’t appear to clarify the issue.
Is anyone currently looking at the curve basis at all? My sample size may be small, but AFAICT, Maya treats all imported curves as NURBS (without checking the basis), and Cinema4D treats all curves a Cubic. From the discussion it would appear that only the RenderMan importer looks at basis.
Am I missing something, or is it really not possible to pass curves consistently from one application to another? Since I’ll need to write out both cubic splines & Bezier’s, I’d like to know that they’ll be imported properly. Similarly, I’ll need to know what to expect when bringing curves in from other applications.
Thanks,
Pete
--
You received this message because you are subscribed to the Google Groups "alembic-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alembic-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Thanks Lucas, Ben,
I’ve attached a very simple Alembic file with two curves. The curve on the left is a 5 vertex B-spline, and the one on the right is a 19 vertex Bezier. If anyone could confirm that I am indeed exporting these correctly, I would appreciate it greatly, as these don’t look right in anything I’ve tried so far.
Also, if you have any other curve files that you could share for testing (with reference images), that would be great too!
Thanks,
Pete

View looking from +X
Lucas,
This is what we get in Maya with the 1.0.4 Alembic plugin - it appears to be treating the left curve as if the start/ends are control points & perhaps the right curve as a B-spline treating the tangents as a cage):

This is what we get in the latest Cinema4D – the left curve is correct, but the one on the right is not:

I would have liked to try the SimpleAbcViewer, but so far I’ve had no luck getting a Windows version to build. Similarly, I wasn’t able to build the latest Maya plugin, but as it wasn’t critical at the time, I didn’t pursue it.
On a related note, for the curve on the left, we’re exporting Catmull-Rom cubic splines, and we have the ability to make the end points tangents or actual points on the curve. In the case of a closed curve with points 0 1 2 3 0, we would use the adjacent points as the control points, i.e. [3] 0 1 2 3 0 [1], where the start and end vertices [3] & [1] would not be drawn, but 3-0 would define the input tangent to 0, and 0-1 defines the output tangent from 0.
Is there a way in Alembic to specify that either the start and/or end points are control points and not points on the curve?
Thanks,
Pete

--
You received this message because you are subscribed to the Google Groups "alembic-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alembic-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
BAFTA Independent Production Company of the Year - 2012 Children's BAFTAstwitter.com/blue_zoo | facebook.com/bluezooanimation | vimeo.com/bluezoo blue-zoo, Chesterfield House, 385 Euston Road, London NW1 3AU t. 020 7434 4111
Sorry Lucas, that email got long, so you might have missed the bottom. That was with the 1.0.4 version delivered with Maya. I had problems building the 1.1.3 version and wasn’t hard-pressed to rebuild it.
My other related question was: Is there a way in Alembic to specify that either the start and/or end points are control points and not points on the curve? Since we’re exporting Catmull-Rom cubic splines, we have the option to make the end points tangents or actual points on the curve. Is there a way to convey this in Alembic?
Thanks,
Pete
From: alembic-d...@googlegroups.com [mailto:alembic-d...@googlegroups.com] On Behalf Of Lucas Miller
Sent: Friday, May 03, 2013 12:31 PM
To: alembic-d...@googlegroups.com
Subject: Re: [alembic-discussion] Inconsistent Curve Interpretation
You should be getting something like this in Maya, while not perfect is a much better approximation than what was in your screenshot.
--
For whatever reason, I haven’t been able to get SimpleAbcViewer to build on my Windows box, and since it’s not that much of a priority for me, I haven’t really had time to investigate it. Does anyone have an i64 executable they’d be willing to send me?
Thanks,
Pete
--
You received this message because you are subscribed to the Google Groups "alembic-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alembic-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Perfect, thank you!
If you ever update it and could let me know, that would also be great.
Thank you!
Pete
--
To unsubscribe from this group and stop receiving emails from it, send an email to alembic-discussion+unsub...@googlegroups.com.