Navigation

    • Register
    • Login
    • Search
    • Categories
    1. Home
    2. Tags
    3. sdk

    • O

      Get Active Light Parameters
      Cinema 4D Development • r20 c++ api sdk • • Ogers

      1
      0
      Votes
      1
      Posts
      10
      Views

      No one has replied

    • P

      SOLVED R20 equivalent of GeSignal
      Cinema 4D Development • r20 c++ sdk • • peterakos

      7
      0
      Votes
      7
      Posts
      109
      Views

      P

      Hello. The problem was that I didn't add the definitions. iferr_scope; signal = maxon::ConditionVariableRef::Create() iferr_return; Thank you for time and sorry for that :(
    • O

      SOLVED Enable/Disable drop down (LONG) elements
      Cinema 4D Development • r20 c++ sdk maxon api • • Ogers

      3
      0
      Votes
      3
      Posts
      62
      Views

      O

      Hi @a_block Thank you for your answer.
    • D

      Texture Tag Output
      Cinema 4D Development • r20 c++ sdk • • d_schmidt

      2
      0
      Votes
      2
      Posts
      53
      Views

      Hi d_schmidt and thanks for reaching us. With regard to your request, what you actually need to do is to "sample" a BaseShader used somewhere in the material referred by the TextureTag. The topic is indeed not too complex but requires some reading in order to get comfortable and proficient with the means provided in the API before dipping toes in sampling shaders. I recommend: TextureTag Manual and Materials and Shaders Overview. I also point you to this thread where sampling the color at meshes vertexes is shown using a Python script. Maybe it will simply help you to glue together the information got by reading the reference above. Best, Riccardo.
    • J

      Optimize Collision Detection
      Cinema 4D Development • r20 c++ sdk • • JohnThomas

      4
      0
      Votes
      4
      Posts
      79
      Views

      J

      Hello, Thanks for the responses. I thought that this might be the case and just wanted to clarify it before moving forward. John Thomas
    • C

      SOLVED iCustomGui with multiple input fields and TriState
      Cinema 4D Development • c++ api sdk • • cmpxchg8b

      5
      0
      Votes
      5
      Posts
      113
      Views

      C

      Right, that's kinda what I thought. I guess showing "<< MULTIPLE VALUES >>" for all four values will have to do (it's not that big of a deal, it just kinda looks ugly on the UI). Anyways, thanks for your help! -CMPX
    • O

      SOLVED Adding Bitmap Button to ListView
      Cinema 4D Development • r20 c++ sdk maxon api • • Ogers

      5
      0
      Votes
      5
      Posts
      102
      Views

      O

      Thank you @m_adam It works fine
    • Frame all
      Cinema 4D Development • c++ microsoft windows api sdk • • WickedP

      5
      0
      Votes
      5
      Posts
      171
      Views

      Hi WickedP, sorry for no bringing good news, but the architecture of the CommandData doesn't allow to "piggyback" off the "Frame All" command nor I've evidences of messages being sent around to have the "Frame All" to take place. The only, but maybe non-trivial, way to go is to write your own function based on the currently active rendering-camera in your "in-memory" document. Cheers, Riccardo
    • R

      SOLVED Use of undeclared identifier 'g_resource'
      Cinema 4D Development • r20 c++ sdk solved plugin migration apple macos • • rui_mac

      8
      0
      Votes
      8
      Posts
      158
      Views

      R

      Good news. And... more good news. The best news are that, after creating a Debug version and running Cinema 4D R20 from XCode, all of a sudden, the plugin started working!!! I then created a simple build (not a Debug one) and it is still working fine :-) The other good news is that I now know how to create a Debug version :-)
    • C

      SOLVED SetBool RDATA_RENDERENGINE
      Cinema 4D Development • r20 c++ r19 sdk plugin migration bug report documentation • • C4DS

      2
      0
      Votes
      2
      Posts
      75
      Views

      M

      Hi Daniel, Thanks a lot, you are indeed right, SimpleMaterial.cpp has been fixed. Cheers, Maxime.
    • P

      SOLVED PreferenceData plugin, Text disappears when directory is set
      Cinema 4D Development • python r19 issue api sdk limitation • • potashalum

      7
      0
      Votes
      7
      Posts
      232
      Views

      P

      Hi @m_adam, No problem, I hope you had great holidays and thank you for confirming the problem. Regards, Alamgir
    • F

      GlProgramFactory not documented
      Cinema 4D Development • r20 c++ api sdk • • fwilleke80

      3
      0
      Votes
      3
      Posts
      144
      Views

      Hi Frank, actually I think, all the examples on GLProgramFactory have been there for quite I while. I just checked and they were already available in Cinema 4D R13, maybe even earlier (there are actually quite a few, see GitHub). Unfortunately that is all we have on this topic, chances are pretty bad, we can shed any additional light on this topic. I turned this thread into a question. Cheers, Andreas
    • K

      SOLVED Pipeline integration
      Cinema 4D Development • python sdk foundation • • knekke

      4
      0
      Votes
      4
      Posts
      235
      Views

      M

      Hi Thomas, There is MSG_DOCUMENTINFO. And this message is available in python. def Message(id, data): if id == c4d.MSG_DOCUMENTINFO: if not data: return True if data["type"] = c4d.MSG_DOCUMENTINFO_TYPE_LOAD: print "newDoc" Unfortunately, there is no way to get this message called in C4D, since Python object which supports and receive a Message function are all scene dependants (like Tag, ObjectData). In C++ we do have the SceneHook NodeData plugin which allows this kind of stuff since it's a global NodeData, not attached to a special document. So your idea is probably the best way to go if you stick to python. Cheers, Maxime.
    • O

      SOLVED SetPixel() for 32 bit float images
      Cinema 4D Development • python r20 sdk • • owen

      3
      0
      Votes
      3
      Posts
      161
      Views

      O

      Thanks so much this is exactly what I was looking for.
    • C

      SOLVED Sample a shader in 3D space in GVO
      Cinema 4D Development • c++ r19 microsoft windows api sdk classic api apple macos • • codysorgenfrey

      3
      0
      Votes
      3
      Posts
      183
      Views

      C

      Thanks @r_gigante that's what I thought.
    • SOLVED Miscellaneous questions about "BaseContainer","DescID" etc
      Cinema 4D Development • python api sdk foundation • • eZioPan

      3
      0
      Votes
      3
      Posts
      240
      Views

      @s_bach, thank you, I'll start to do some hard reading!
    • O

      SOLVED Checking Keyframe curve type
      Cinema 4D Development • python r19 microsoft windows sdk • • owen

      2
      0
      Votes
      2
      Posts
      155
      Views

      S

      Hello and welcome, what exactly do you mean with "export keyframe data"? Do you want to write data into a file? The best way to develop such code would be in a Python script that you can edit and execute in the Script Manager. A XPresso Python node is meant to contain code that is executed as part of XPresso to define the behavior of the XPresso network. A XPresso Python node should not be used to modify the scene or to perform I/O operations. A CTrack object stores the DescID of the associated parameter. You can access that DescID with GetDescriptionID(). Alternatively you can use BaseList2D.FindCTrack() to search for the CTrack associated with a certain parameter DescID. You find an example on GitHub. You find general information on how to use CTrack and DescID also in the C++ documentation: CTrack Manual DescID Manual best wishes, Sebastian
    • C

      BaseArray::Insert( position, value ) documentation
      Cinema 4D Development • r20 c++ r19 sdk bug report • • C4DS

      3
      0
      Votes
      3
      Posts
      184
      Views

      S

      Hello, Indeed this example is wrong. We will fix that as soon as possible. Thanks for noticing us. best wishes, Sebastian
    • G

      SOLVED Want to show text in dialog box similar to "Help" menu of Cinema 4D(only text)
      Cinema 4D Development • r19 microsoft windows sdk application development request • • gogeta

      3
      0
      Votes
      3
      Posts
      226
      Views

      G

      @s_bach Wow! I didn't see that coming. Thanks for the clear-cut explanation. Now I know in which direction I have to move. Thanks again !
    • SOLVED Sampling effect channel shaders
      Cinema 4D Development • r20 c++ sdk classic api • • rsodre

      11
      0
      Votes
      11
      Posts
      472
      Views

      Thanks Riccardo, I think we reached the bottom of this issue. I just finished implementing a workaround, getting the tag associated with the shader, it's polygon, points and uvw tag, then paint each face with the average vertex value in a bitmap using GeClipMat. Working really good! Best, Roger