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
    • Register
    • Login
    1. Home
    2. Tags
    3. r19
    Log in to post
    • All categories
    • ymoonY

      hud depth buffer?

      Cinema 4D SDK
      • r19 2023 python • • ymoon
      6
      0
      Votes
      6
      Posts
      825
      Views

      ymoonY

      Added one more for... zip to remove the invisible points.

    • yesbirdY

      Drop-down list in tag for C++ plugin

      Cinema 4D SDK
      • c++ r19 • • yesbird
      7
      0
      Votes
      7
      Posts
      974
      Views

      yesbirdY

      Hello, @ferdinand

      Thanks, I will take it into account.

      All the best,
      ...
      YB

    • V

      How to change bitmap in layered shader?

      Cinema 4D SDK
      • python r19 • • visualride
      3
      0
      Votes
      3
      Posts
      744
      Views

      V

      Perfect! Thank you so much!

    • J

      Commandline.exe not loading lib4d preset materials

      General Talk
      • r19 • • johntravolski
      2
      0
      Votes
      2
      Posts
      433
      Views

      ManuelM

      Hi,

      This forum is dedicated to the support of our API. Your issue does not seem to be related to any coding question. If this is not the case, please contact our user support for any question.

      Cheers,
      Manuel

    • J

      The oldest SDK for Cinema 4D 19-25

      Cinema 4D SDK
      • sdk r19 r20 r21 r25 r23 s22 s24 • • jeremyliu1989
      7
      0
      Votes
      7
      Posts
      1.1k
      Views

      ferdinandF

      Hello @jeremyliu1989,

      without any further questions or postings, we will consider this thread as solved by Friday the 4th, February 2022.

      Thank you for your understanding,
      Ferdinand

    • mikeudinM

      Can GeGetStartupWritePath return icorrect path?

      Cineware SDK
      • r19 • • mikeudin
      3
      0
      Votes
      3
      Posts
      763
      Views

      ferdinandF

      Hello @mikeudin,

      without any further questions we will consider this topic as solved by Friday, December the 17th.

      Thank you for your understanding,
      Ferdinand

    • А

      How to break render thread and get the result without state bar ?

      Cinema 4D SDK
      • python r19 • • Артём
      3
      0
      Votes
      3
      Posts
      549
      Views

      ferdinandF

      Hello @Артём,

      we will set this topic to 'Solved' when there are no further questions or replies until Monday, November the 22th.

      Thank you for your understanding,
      Ferdinand

    • C4DSC

      NodeData Undo

      Cinema 4D SDK
      • r20 r19 r21 c++ • • C4DS
      13
      0
      Votes
      13
      Posts
      1.4k
      Views

      ferdinandF

      Hello @C4DS,

      without any further questions, we will consider this topic as solved by Monday, the 25th and flag it accordingly.

      Thank you for your understanding,
      Ferdinand

    • C4DSC

      ActiveObjectManager_SetObject gets overruled by Xpresso tag

      Cinema 4D SDK
      • c++ r19 r20 r21 • • C4DS
      4
      0
      Votes
      4
      Posts
      644
      Views

      C4DSC

      Seems the only solution here is to register an own mode.

    • a_blockA

      GeDialog lacking InitValues, when docked and folded

      Cinema 4D SDK
      • windows python r19 r21 r23 s24 • • a_block
      8
      2
      Votes
      8
      Posts
      1.2k
      Views

      ferdinandF

      Dear community,

      this bug has been fixed and will be integrated with an upcoming release of Cinema 4D S24 (hopefully the next one).

      Cheers,
      Ferdinand

    • ?

      SSL TLSV1_ALERT_PROTOCOL_VERSION Error on Mac

      Cinema 4D SDK
      • r19 python macos • • A Former User
      3
      0
      Votes
      3
      Posts
      864
      Views

      ?

      @m_adam Thank you, Maxime! Have a good weekend.

    • ?

      Handles in R18

      Cinema 4D SDK
      • python r19 windows • • A Former User
      3
      0
      Votes
      3
      Posts
      513
      Views

      ?

      Thank you for letting me know, @ferdinand !

    • V

      How to know baking is end with BakeTextureTag?

      Cinema 4D SDK
      • python r19 • • velbie
      7
      0
      Votes
      7
      Posts
      963
      Views

      M

      Hi @velbie with the latest update of Cinema 4D (R24 SP1), the BAKE_TEX_AO_VERTEXMAPS issue is fixed.

      Cheers,
      Maxime.

    • gheyretG

      ToolPlugin Problems

      Cinema 4D SDK
      • python s22 r21 r20 r19 • • gheyret
      7
      0
      Votes
      7
      Posts
      1.0k
      Views

      kbarK

      @gheyret great to hear! Looking forward to seeing what it is you are creating.

    • H

      Using "config" plugins to modify the loading queue in R19

      Cinema 4D SDK
      • r19 c++ • • hazzzel
      4
      0
      Votes
      4
      Posts
      765
      Views

      r_giganteR

      Hi @hazzzel, thanks for reaching out us.

      The QueryStartupOrder() has been introduced in R20 and there's no way to call it on previous releases.
      As suggested by @kbar , you're instead supposed to make use of the SetPluginPriority() as shown in the Plugin Functions Manual / Priority section to properly specify the plugin priority and control the loading time.

      Cheers, R

    • A

      Add and Remove Edge Loops Poly Object

      Cinema 4D SDK
      • python r19 • • AndreAnjos
      12
      0
      Votes
      12
      Posts
      1.9k
      Views

      A

      Hi @r_gigante,

      Not to worry! I understand! 😃

      Thanks for your help!

      Andre

    • intenditoreI

      pyDeformer mode: ID_MG_BASEEFFECTOR_POSITION works, but ID_MG_BASEEFFECTOR_SCALE doesn't

      Cinema 4D SDK
      • python r19 r20 • • intenditore
      6
      0
      Votes
      6
      Posts
      995
      Views

      ferdinandF

      Hi,

      I am sorry, I hate it myself when people talk in acronyms, assuming everyone knows what they are referring to. PNG stands for Pseudo-random Number Generator. Here is an example for a simple trigonometric pseudo random hash function.

      Cheers,
      zipit

      """A simple example for a very simple "one-at-a-time" Pseudo-random Number Generator (PNG). It is basically just one line of code, which you can find on line 32. """ import c4d import math def hash_11(x, seed=1234, magic=(1234.4567, 98765.4321)): """Returns a pseudo random floating point hash for a floating point number. The hash will lie int the interval [-1, 1] and the function is a very simple generator that exploits the periodicity of the trigonometric functions. A more sophisticated approach would be to exploit avalanche behavior in bit-shift operations on binary data, like the Jenkins Rotation does for example. The postfix in the name (_11) is a common way to denote the inputs and outputs for PNGs. 11 means that it will take one (real) number and return one (real) number. 13 means that it takes one and returns three, i.e. returns an (euclidean) vector. Args: x (float): The value to hash into a pseudo random number. seed (int, optional): The seed value. This could also be a float. magic (tuple, optional): The magic numbers. The second one should be bigger then the first and both should be real numbers. Returns: float: The pseudo random hash for x in the interval [-1, 1]. """ return math.modf(math.sin(x + seed + magic[0]) * magic[1])[0] def hash_13(x, seed=1234, magic=(1234.4567, 98765.4321)): """Returns a pseudo random vector hash for a floating point number. Wraps around hash_11. Returns: c4d.Vector: The pseudo random hash for x in the interval [-1, 1]. """ vx = hash_11(x, seed, magic) vy = hash_11(x + vx, seed, magic) vz = hash_11(x + vy, seed, magic) return c4d.Vector(vx, vy, vz) def main(): """Entry point. """ # Some very crude statistics for the hashes. samples = int(1E6) # Generate 1E6 of each numbers = {i: hash_11(i) for i in range(samples)} vectors = {i: hash_13(i) for i in range(samples)} # Compute their arithmetic mean. amean_numbers = sum(numbers.values()) * (1./samples) amean_vectors = sum(vectors.values()) * (1./samples) # Report the results. print "First three random numbers: ", numbers.values()[:3] print "First three random vectors: ", vectors.values()[:3] msg = "Arithmetic mean of all random numbers (should converge to zero): " print msg, amean_numbers msg = "Arithmetic mean of all random vectors (should converge to zero): " print msg, amean_vectors if __name__ == "__main__": main() First three random numbers: [-0.8036933662078809, 0.20401213006516628, 0.6249060598929645] First three random vectors: [Vector(-0.804, -0.022, -0.872), Vector(0.204, 0.541, 0.115), Vector(0.625, 0.782, 0.896)] Arithmetic mean of all random numbers (should converge to zero): -0.000127638074863 Arithmetic mean of all random vectors (should converge to zero): Vector(0, 0, 0)
    • C4DSC

      GeDialog shadows

      Cinema 4D SDK
      • c++ windows macos r20 r19 • • C4DS
      6
      0
      Votes
      6
      Posts
      809
      Views

      ManuelM

      hi,

      this is the current state:
      "I think this is related to the ASYNC_POPUPEDIT being a non-resizable, modal dialog - and as such it is displayed kind of "Win legacy style" by the OS.
      Nothing we actively do set (and something which could change once they do further design overhauls in Win10)"

      Cheers,
      Manuel

    • D

      Display data in the attribute manager that is not stored in the object base container

      Cinema 4D SDK
      • • • daniell
      4
      0
      Votes
      4
      Posts
      686
      Views

      M

      Hi @daniell welcome on the plugincafe forum,

      Don't worry since it's your first post, I've set up it correctly but please for the next one, make sure to read and apply the next rules:

      Q&A New Functionality. How to Post Questions especially tagging.

      Finally, regarding your issue, you may find relevant the NodeData::GetDParameter() Manual and NodeData::SetDParameter() Manual.

      Cheers,
      Maxime.

    • rsodreR

      Custom data+gui access with GetParameter()

      Cinema 4D SDK
      • c++ r21 r20 r19 • • rsodre
      6
      0
      Votes
      6
      Posts
      938
      Views

      rsodreR

      @m_magalhaes No hurry, for now there's just one place where I need this, I get it using the BaseContainer. But I will probably use it more often, so if the DOTS example is updated I can replicate the solution to my own type and remove this workaround.

      Thanks!