Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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

    Emitter Position Change Not Rendering

    Scheduled Pinned Locked Moved SDK Help
    5 Posts 0 Posters 415 Views
    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 Offline
      Helper
      last edited by

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

      On 16/10/2007 at 02:09, xxxxxxxx wrote:

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

      ---------
      I have tried to change the position of the first particle in the Emitter with

      tag = Emitter Object->GetFirstTag();
      movePosition = tag->GetData();
      movePosition[0] = vector(0,250,0);
      tag->SetData(movePositon);
      tag->Message(MSG_UPDATE);

      it works in the ViewPort Render but not the Picture Viewer

      Please Help

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

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

        On 16/10/2007 at 16:48, xxxxxxxx wrote:

        I think you can be helped by this Thread

        Basicaly you need to search a specific tag, not only the first.
        When rendering Cinema render a copy of the document and there are hidden tags that can be infront of you tag.

        Cheers
        Lennart

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

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

          On 16/10/2007 at 17:10, xxxxxxxx wrote:

          As Lennart mentions, the Polygon and Point tags are hidden tags that always exist on Polygon/Point objects. Other tags may be hidden as well (Claude Bonet weight tags, plugin tags, etc.) Never assume that your tag is first! ...deceptive isn't it...

          Best to do a loop:

          for (tag = obj- >GetFirstTag(); tag; tag = tag->GetNext())
          {
               if (tag->GetType() == type) continue;
               // This tag is of type, do something
               ...
               break;
          }

          This can be used, of course, to consider ALL tags of a particular type by removing the break line.

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

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

            On 16/10/2007 at 21:25, xxxxxxxx wrote:

            And that should be if (tag->GetType != type) continue; - duh

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

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

              On 17/10/2007 at 07:55, xxxxxxxx wrote:

              Thanks tcastudios & kuroyume0161 that worked

              It would have taken me forever to find out that that was the problem

              Thanks again for you Knowledge of Cinema4D's Coffee

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