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
    • Recent
    • Tags
    • Users
    • Login

    Using C4DNoise in a VideoPostPlugin??

    Scheduled Pinned Locked Moved SDK Help
    5 Posts 0 Posters 353 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 17/03/2010 at 00:39, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   r11 
      Platform:      
      Language(s) :     C++  ;

      ---------
      Hi, i am trying to access C4DNoise in a VideoPostPlugin.
      This is how:

        
      C4DNoise* c4dnoise = C4DNoise::Alloc(1);  
      ...  
      Real noise1 = c4dnoise->Noise(NOISE_BUYA,FALSE,nrm,0.0,4.0,FALSE,0.25,0.25,0); //nrm is the samples normal  
      ...  
      

      as soon as the Noise function is called cinema crashes. i didnt find anything concerning C4DNoise using the search function, so maybe someone can tell me what i am doing wrong..

      thanks and cheers,
      ello

      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 18/03/2010 at 04:49, xxxxxxxx wrote:

        hmm, can anyone tell me something about this?
        would be really cool, since i just dont see why it crashes

        cheers,
        ello

        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 18/03/2010 at 05:06, xxxxxxxx wrote:

          Sounds like a pointer problem. Is the pointer c4dnoise a valid pointer (i.e not NULL)?

          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 18/03/2010 at 05:21, xxxxxxxx wrote:

            yes, actually i was using

              
            if (c4dnoise) Real noise1 =  c4dnoise->Noise(NOISE_BUYA,FALSE,nrm,0.0 ,4.0,FALSE,0.25,0.25,0);  
            
            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 22/03/2010 at 04:10, xxxxxxxx wrote:

              From which videopost method are you calling the noise routines? Please post more detailed code.

              cheers,
              Matthias

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