Navigation

    • Register
    • Login
    • Search
    • Categories
    1. Home
    2. Tags
    3. r21
    Log in to post

    • B

      UNSOLVED AddUndo(c4d.UNDOTYPE_CHANGE) not working with doc.ExecutePasses()?
      Cinema 4D Development • python r21 • • bentraje  

      1
      0
      Votes
      1
      Posts
      8
      Views

      No one has replied

    • S

      UNSOLVED Multiple animation import
      Cinema 4D Development • python r20 r21 issue limitation • • sketchfab  

      5
      0
      Votes
      5
      Posts
      45
      Views

      S

      @m_adam Hi, and thanks for your feedback and suggestions. The Take System sounds like requiring too much user interaction after the import, and I think we won't therefore consider it/ The motion system and "global" Python Tag seem like coherent alternatives to loading every animation one after the other. Now, the last step is to choose one of those systems... I think we'll first implement the back to back loading of animations as suggested by @kbar, as this seems like the most lightweight and straightforward solution for a quick iteration. Cheers, Loïc.
    • D

      SOLVED I want to get the coordinates of the points I have selected "en"
      Cinema 4D Development • c++ r21 microsoft windows • • dada  

      4
      0
      Votes
      4
      Posts
      32
      Views

      D

      @m_magalhaes I'll write it in your way Thank you very much. Cheers!
    • R

      UNSOLVED Undefined symbols
      Cinema 4D Development • r21 sdk • • rui_mac  

      12
      0
      Votes
      12
      Posts
      87
      Views

      R

      Great, I will do that. :-)
    • R

      UNSOLVED Wrong indentation of if ?!?! What is wrong?
      Cinema 4D Development • r21 sdk • • rui_mac  

      5
      0
      Votes
      5
      Posts
      41
      Views

      Hi Rui, thanks for reaching out us. With regard to your issue, I confirm that whilst VS is more "tolerant" with regard to code-style check, Xcode is less. The code style check, which is embedded in our source processor, expects tabs rather than spaces for code indentation and it could happen that either Tabs has not be set in Xcode preferences, as preferred indentation method, or that you've copied and pasted some portion of code that was indented with spaces. Please check your indentations for using tabs rather than switching off completely the style check. Best, R
    • R

      UNSOLVED String to ASCII value and vice-versa.
      Cinema 4D Development • r21 sdk maxon api • • rui_mac  

      4
      0
      Votes
      4
      Posts
      48
      Views

      S

      Hello, just FYI: you find information on how to access individual characters from a string in the manual: String Manual Also, one of our examples includes checking the ASCII value of a given character: streamconversion_impl.cpp If your question has been answered, please mark your thread as a question and set it to "solved". best wishes, Sebastian
    • SOLVED Access parameter failed
      Cinema 4D Development • c++ r21 • • chuanzhen  

      3
      0
      Votes
      3
      Posts
      36
      Views

      @s_bach Thanks, I ignored the parameter check and it works now!
    • C

      UNSOLVED Reverse iterators, how to use them?
      Cinema 4D Development • r20 c++ r21 documentation • • C4DS  

      6
      0
      Votes
      6
      Posts
      61
      Views

      M

      The HashMap/HashSet iterator does not provide a it-- (as used in the Iterable::Reverse) but only it++ as you can see in https://developers.maxon.net/docs/Cinema4DCPPSDK/html/classmaxon_1_1_hash_map_1_1_iterator_template.html#ab6054287e6f409207af3fa16e49046ad Cheers, Maxime.
    • R

      UNSOLVED Use of undeclared identifier 'tmperr_ies'
      Cinema 4D Development • r21 sdk licensing • • rui_mac  

      3
      0
      Votes
      3
      Posts
      27
      Views

      R

      Thank you very much, RIccardo. I will look into it tonight when I get home.
    • B

      UNSOLVED Can I now script creation of Node Materials (R21.1) ?
      Cinema 4D Development • python r21 • • bentraje  

      3
      0
      Votes
      3
      Posts
      43
      Views

      B

      Hi @r_gigante Thanks for the confirmation. Hopefully, it will be possible in the near future. Have a great day ahead!
    • R

      UNSOLVED Error when trying to compile the R21 SDK
      Cinema 4D Development • r21 sdk • • rui_mac  

      2
      0
      Votes
      2
      Posts
      28
      Views

      Hi Rui, thanks for reaching out us. With regard to your question there are a few things to note: /Applications is a folder which requires elevated permission to write in: I recommend to move the SDK in a different location where standard user permission are required; with R21, whether you're using Xcode 10.1 or further revision, it's supposed that you enable the Legacy Build System in the Project Settings: be sure to set it via File -> Project Settings in Xcode. Finally it's recommended, when such building issues are faced, to provide a description of your development environment. Cheers, R
    • A

      UNSOLVED Attach XPresso Graph to GUI via Python
      Cinema 4D Development • python r20 r19 r21 sdk microsoft windows application development • • Ashton_FCS_PluginDev  

      7
      0
      Votes
      7
      Posts
      79
      Views

      A

      @s_bach Okay I will give it a try , and I will do a open source example project for anyone, who would love to do this with python only for Cinema 4D. lol I been making different types c4d python plugins for 3 years now, from 2015 for my studio I work for and I love making c4d plugins. But this will be my first time using GeUserArea Class to the fullest lol.
    • C

      UNSOLVED R21 BaseDraw::DrawPointArray draws squares versus circles in R20
      Cinema 4D Development • r20 c++ r21 issue limitation open bug • • C4DS  

      3
      0
      Votes
      3
      Posts
      36
      Views

      M

      hello, To keep you inform, I'm asking the devs and this is taking more time than expected. Sorry for the delay. Cheers, Manuel
    • SOLVED Strange crashes in R20 & R21
      Cinema 4D Development • r20 c++ r21 maxon api apple macos • • fwilleke80  

      5
      0
      Votes
      5
      Posts
      70
      Views

      Thanks for the update Frank. Looking at your "resolutions" I think that the actions you took were responsible, in the first case, to clean the existing derived data for the R20 project, whilst in the second, to refresh the DerivedData subfolder where the newly re-created R21 project was supposed to store intermediate files. Please keep us updated and for the mean time I'm going to set this thread as solved. Cheers
    • S

      SOLVED Unable to insert a key frame for the color attribute of the plugin.
      Cinema 4D Development • python r20 c++ r19 r21 • • sean  

      9
      0
      Votes
      9
      Posts
      114
      Views

      S

      @m_magalhaes Hello, thank you very much for your inspiration. You've been very helpful. There is no need to overwrite TranslateDescID(), only two macros HandleDescGetVector and HandleDescSetVector can realize my idea. Thanks again! Cheers, Sean
    • C

      UNSOLVED R21 GeUserArea in docked GeDialog behaves differently
      Cinema 4D Development • c++ r21 classic api issue open bug • • C4DS  

      2
      0
      Votes
      2
      Posts
      38
      Views

      M

      Hi @C4DS thanks for reaching us. I can indeed confirm the issue. I've reached the development team about, I will let you know about any workaround. Cheers, Maxime.
    • F

      UNSOLVED Viewport render and camera FOV
      Cinema 4D Development • c++ r21 classic api • • Filip  

      2
      0
      Votes
      2
      Posts
      45
      Views

      M

      hello, From the execute command you can retrieve the RayCamera using the VolumeData stored inside the VideoPostStruct const RayCamera* cam = vps->vd->GetRayCamera(); You can get the off parameter of the RayCamera that is the offset of the camera (so double it to have the resolution) Using the zoom factor should help you to retrieve the aperture and determine the ray direction. This RayCamera will change depending on where the render is done, (viewport or picture viewer) in the Execute Function : const RayCamera* cam = vps->vd->GetRayCamera(); if (cam == nullptr) return RENDERRESULT::OUTOFMEMORY; ppx_ = cam->off.x; ppy_ = cam->off.y; zoomRatio_ = 1.0 / cam->zoom; in the CalculateRay function maxon::Float newx = x - ppx_; maxon::Float newy = y - ppy_; maxon::Vector focalPoint; // Sets the value of the focal point in local space, the plan is put at the image size * ration in Z axis focalPoint = Vector(newx, -newy, xres_ / zoomRatio_); // go to goal space focalPoint = camMg_ * focalPoint; // remove the camera position so we have a direction focalPoint -= camMg_.off; // set the ray position dst.p = camMg_.off; // set the ray direction dst.v = focalPoint; dst.v.Normalize(); Hope this help a bit. Cheers, Manuel
    • R

      SOLVED Project Tool Permission Denied
      Cinema 4D Development • c++ r21 sdk plugin migration application development project tool • • rui_mac  

      6
      0
      Votes
      6
      Posts
      72
      Views

      R

      Ok, made it work now. Thank you so much.
    • UNSOLVED Project Tool: Some projectdefinition.txt options don't seem to work
      Cinema 4D Development • c++ r21 microsoft windows apple macos project setup project tool • • fwilleke80  

      9
      0
      Votes
      9
      Posts
      61
      Views

      S

      I think we are talking past each other. You can of course build any project any way you like. An then make sure that your plugins link to the build result using the link options defined in projectdefinition.txt. But I think you want to include an already existing (non-plugin) project in the solution created by the Project Tool, right? And I think that is not possible. I guess you could add the project manually to the solution created by the Project Tool.
    • B

      UNSOLVED Output all renderpaths
      Cinema 4D Development • python r20 r21 microsoft windows • • Boony2000  

      3
      1
      Votes
      3
      Posts
      42
      Views

      B

      Thanks Maxime! In the mean time I will cycle through takes, AOVs and Frames manually to get the paths.