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
   
 
Strange render behavior with Spline Point IK / Pose Morph animation
Posted: 21 March 2017 06:41 PM   [ Ignore ]  
Total Posts:  4
Joined  2014-04-21

After setting up point IK animation using sweep splines (the arms & legs of the character) and the the Pose Morph tag to animate, I notice that at times the arms render in the Picture Viewer reversed from how they should be. I can’t figure out why this is happening. In the attached image, the left side is rendered in the Editor window (correct), the middle is the working Editor view (correct), the right side is the result of the exact same frame rendered in the Pictured Viewer (not correct). The left arm is the problem here, but at times it happens with the right arm. Not a problem with the legs (yet), however.

I’ve attached the file if it’s of any help in figuring out what’s going on.

Thanks!

File Attachments
joly_PointIK_render_problem.c4d.zip  (File Size: 235KB - Downloads: 125)
Profile
 
 
Posted: 22 March 2017 12:06 AM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi Dave,

Sorry for the delay, the yearly tax consultant visit story …

Please try this first: Select each IK Tag separately for that, then go to the Attribute Manager.
Click on the Tab: Tag, then go down to Pole Vector and set the Axis
• for the right IK Tag to -X
• for the left IK Tag to X

This should do the trick.

To see what happens with the spline point 0 and the Pole as well Goal, I baked a triangle on each arm to see what happens during render time. Please render a preview to see it. I did not included it, as I want to know if it works on your side.

Scene file:
https://www.amazon.com/clouddrive/share/NqyOjcleK8SmiqXZZbFHBCQbJs0FSeV3OEI8320XojJ?ref_=cd_ph_share_link_copy

If that works, perhaps just ignore the stuff below.

=====

I have edit my message above and in short, I’m not certain if placing all under the PoseMorph will not create priority or informations traps wink
If anything above failed, here is my quick and dirty suggestions: (Values might vary on other projects!)

Typically I would go with the IK-Tag> Attribute Manager > Tag> Twist setting. Which looks wrong in Editor View (left to 180º), and the right arm would have perhaps needed temporarily attention, not nice. So, let’s move on, but keep this Twist in mind for the occasional fix.

If you need another quick fix, try the IK Tag> Attribute Manager> Tag> Goal Offset 90%. When I render a preview it looks right. The arms change a tiny bit. But it is fast. File”…CAgo_01”, I guess that the slightly shorter arms doesn’t trigger the “Auto” options.

Another fast fix would be to set the IK Tag> Attribute Manager> Tag> Start parameter to 1. Please render a for both a preview and perhaps it works.  File “…CAst_01"THis certain made it stable, but I think it is not the desirable final solution.

I have also set up a file where the Splines are baked via Cappucino, but that needs to be done after every single change, or just shortly before the final… I haven’t included that file, let me know if that would be a way.

I will explore the file and let you know any other finding.

All the best

Scene files:
https://www.amazon.com/clouddrive/share/b5YM6eYFRaO9fpkqGlTyFmgHxinfoaZUQSQVcHuBFah?ref_=cd_ph_share_link_copy

 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: 22 March 2017 02:07 AM   [ Ignore ]   [ # 2 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

P.S.: here the video preview of my wing-man. Please note that I edited the first paragraph. Since you are on East Cost time, I guess you haven’t read the post so far.

Video clip
https://www.amazon.com/clouddrive/share/vZkM4WpZUCCs7UdsxJzskfbarOnEjZoBOnY82bbK0p2?ref_=cd_ph_share_link_copy

 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: 22 March 2017 07:36 AM   [ Ignore ]   [ # 3 ]  
Total Posts:  4
Joined  2014-04-21

Hi Sassi!

Thanks so much for the input. Very helpful.

I have a class today (9am-12pm), so last night was a school night = early to bed!

I only have a few minutes this morning to implement your fix, but tried your first suggestion of changing pole vector from Auto to X, -X on arms. Also rendered a preview of your wingman. Thanks for that. grin

I noticed that while the preview looked ok when playing at speed, when I rendered an individual frame (171 in my attached example image) there was still that problem. HOWEVER - I did notice that the arm pole at that frame is right in line with the arm, and I assume that is causing the problem. As a quick test, I went back to my original base pose in pose morph tag and moved the pole farther away from the arm. That seems to have resolved the problem as best I can tell in just a couple minutes. Given that the legs don’t have this problem at all, and the leg poles are pretty much constantly out in front, it makes me think I need to pay close attention to the pole position as I morph between poses, making sure the poles don’t animate into ambiguous locations.

I am curious though why the problem only shows up in the render and not in Editor view or Editor render!

More checking when I get home this afternoon. I’ll let you know what else I find.

Thanks again for your always amazingly thorough help.

Dave

Profile
 
 
Posted: 22 March 2017 12:54 PM   [ Ignore ]   [ # 4 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi Dave,

Sounds good and I guess we are on the track with this.

Yes I certainly didn’t checked each of the 300 frames wink

As a side note, since the splines for the arms and legs have only three points, wouldn’t be a point animation with the PoseMorph a much simpler animation? No IK at all. Since one point stays pretty much close to the body, the point number 1 and 2 cause as much work as setting the Pole and Goal.
Scene file
https://www.amazon.com/clouddrive/share/jCNMNwHEcYMsCnj4jxR4kGqipgWAAYfMXRmKzYGr8or?ref_=cd_ph_share_link_copy

Please note that I’m not available on Thursday.

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: 22 March 2017 04:56 PM   [ Ignore ]   [ # 5 ]  
Total Posts:  4
Joined  2014-04-21

Hi Sassi,

Am I not paying you enough to check all 300 frames? Perhaps we should discuss a raise. wink

Thanks for showing me, via your example file, that I’ve made life more complicated that it needs to be. It’s another case of not *quite* understanding the underlying logic of some things, and that leads to assumptions that aren’t true. And truth seems to be in such short supply these days.

Thanks again for taking the time to help me out with this - much appreciated, as always, and I always learn so much from you. smile

Dave

Profile
 
 
Posted: 22 March 2017 05:17 PM   [ Ignore ]   [ # 6 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

Hi Dave,

You know my currency, cheesecake and espressi, and I haven’t seen a real native NY-Cheescake in a while. Tehehe. Time for a visit.

I know that I have looked from a technical point of view, and you more from and artistic one I guess. The IK option enables other things, like increasing points without endangering the PoseMoprh (except when Points are stored, which wasn’t required for your set up).

The example, could be also done with some Nulls under the PoseMorp and then with a MoGraph Tracer. As usual, you know how deep C4D can be.

You’re welcome and please let me know if there is something else, I’m always happy to look into it.

My best wishes for your project

 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: 22 March 2017 05:59 PM   [ Ignore ]   [ # 7 ]  
Total Posts:  4
Joined  2014-04-21

Wow - using a Tracer and some nulls! Another rabbit hole waiting to be explored. There’s no end.

Thanks for giving me MORE to chew on. At least it’s a few less calories than cheesecake. When you visit, it’s on me. And the espressi.

Profile
 
 
Posted: 22 March 2017 06:09 PM   [ Ignore ]   [ # 8 ]  
Administrator
Avatar
Total Posts:  12043
Joined  2011-03-04

You’re welcome, Dave. I never worry about who pays,  thanks for the idea though, but to spend time is the biggest gift.

Since you like to explore, here is a little example.

Scene file
https://www.amazon.com/clouddrive/share/gAeaYEZfNMIl69nd4QmTxWw96EtNCPe6WoiDy7Zq4rF?ref_=cd_ph_share_link_copy

Enjoy

 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