A new version of Cineversity has been launched. This legacy site and its tutorials will remain accessible for a limited transition period

Visit the New Cineversity
   
 
Cubic-Bezier Influence Points (x1, Y1, x2, y2)
Posted: 21 April 2016 02:00 PM   [ Ignore ]  
Total Posts:  2
Joined  2015-08-19

Hello! Thanks in advance for any help.

I have predefined Cubic-Bezier curves I’d like to replicate in C4D R17. I have the X1, Y1, x2, Y2 data for the influence points. Is there a panel where I can put those into action? Is there a plugin? I can’t imagine being the first to want to do this. Or do I need to dev something? Python?

Thanks again,
Gino

Profile
 
 
Posted: 21 April 2016 02:21 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi Gino,

I’m not certain if the math will be the same, e.g., getting the same results.
If you create a Spline you have access to several interpolation options.

A “Cubic-Bezier” is not available, only a Bezier or a Cubic, besides Akima and B-Spline (and of course the obvious: Linear).

You can create an empty Spline: Main Menu>>Create>Spline>Empty Spline.

This will be the Container for your data.

While the Empty Spline is selected in the Object Manager, you can select in the Attribute Manager the Interpolation.

With the Object selected, go to the Structure Manager, and there request a new entry, which you can do here: Structure Manager>> File>New Line. Repeat this for each new point.

Perhaps start with a few points to see which interpolation method will work, if it is at all congruent.

=====

If you are savvy with Python, you might have an option to access the document with your data and use the content to convert it to a curve, if a different math is needed.

I saw a dissertation about a method / plug-in from 2013, from Bonn, Germany, but I’, not aware of a public availability. Perhaps search in Google as well, you might know better what works.

All the best

 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
Posted: 21 April 2016 02:51 PM   [ Ignore ]   [ # 2 ]  
Total Posts:  2
Joined  2015-08-19

Thank you, Dr.

I totally searched the interwebs up and down, with different terms and orders to see what I could find. And I think what I’ve found is an opportunity to write a plugin! wink

Thank you for your suggestion. I’ll follow those steps and see what I learn.

Cheers,
G

Profile
 
 
Posted: 21 April 2016 02:57 PM   [ Ignore ]   [ # 3 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

You’re welcome, Gino.

Sounds like a nice project.

Before you invest time, check out the Structure Manager>> File>Import Ascii Data.

My best wishes for your project


===

Here is the Ascii data example for a Circle. (Bezier, Spline closed.)

Point   X   Y   Z   <- X   <- Y   <- Z   X ->  Y ->  Z ->
0   200 cm   0 cm   0 cm   0 cm   -83 cm   0 cm   0 cm   83 cm   0 cm
1   0 cm   200 cm   0 cm   83 cm   0 cm   0 cm   -83 cm   0 cm   0 cm
2   -200 cm   0 cm   0 cm   0 cm   83 cm   0 cm   0 cm   -83 cm   0 cm
3   0 cm   -200 cm   0 cm   -83 cm   0 cm   0 cm   83 cm   0 cm   0 cm

File Attachments
Circle.txt.zip  (File Size: 1KB - Downloads: 125)
 Signature 

Dr. Sassi V. Sassmannshausen Ph.D.
Cinema 4D Mentor since 2004
Maxon Master Trainer, VES, DCS

Photography For C4D Artists: 200 Free Tutorials.
https://www.youtube.com/user/DrSassiLA/playlists

NEW:

NEW: Cineversity [CV4]

Profile
 
 
   
 
 
‹‹ Q&A_miscellaneous      VR Object movies ››