Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Coffee problem

    SDK Help
    0
    3
    311
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 05/04/2005 at 01:33, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   9.1 
      Platform:   Windows  ;   
      Language(s) :   C.O.F.F.E.E  ;

      ---------
      lease see http://www.cgtalk.com/attachment.php?attachmentid=68107, very simple coffee expresion (only 6 lines), but big problem 😞
      1. Why object move not by Spline trajectory, when play in viewport?
      2. Why when start render, coffee tag give error in line
      var position=obj_master->GetFirstTag()->GetContainer()->GetData(ALIGNTOSPLINETAG_POSITION);

      This is part of more complex task, please don't propose use Xpresso. I want to understand why coffee does not work properly.

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 10/04/2005 at 14:36, xxxxxxxx wrote:

        It seems like I don't have permission to access the attachment without a CG-Talk account. For such a small project it's easier if you simply post the code directly here. (I've applied for an account, but haven't got my confirmation mail yet.)

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 10/04/2005 at 15:30, xxxxxxxx wrote:

          1. This is because the axis of the spline isn't at the world origin. You will need to put in a matrix transformation. (See the matrix tutorial for more information, or search the forum for global position.)
          2. During the rendering something seems to add a hidden tag to the WMaster object, so the align tag isn't the first tag anymore. Instead of GetFirstTag() you will have to search for the first tag where tag->GetType()==Taligntospline.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post