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

    pickobject radius

    Scheduled Pinned Locked Moved SDK Help
    13 Posts 0 Posters 1.1k 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 05/10/2009 at 07:24, xxxxxxxx wrote:

      HEllo Matthias,
      i use it in GetCursorInfo... but won't work, i hade tried to do a recursive serch in my radius manualy but the result is very slow.
      any sugestion ?
      Franz

      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 05/10/2009 at 07:31, xxxxxxxx wrote:

        It works fine in GetCursorInfo as well.

        > \> Bool LiquidToolData::GetCursorInfo(BaseDocument \*doc, BaseContainer &data;, BaseDraw \*bd, Real x, Real y, BaseContainer &bc;) \> { \>      AutoAlloc<C4DObjectList> list; \>      if (!list) return FALSE; \> \>      if (ViewportSelect::PickObject(bd, doc, x, y, 50, TRUE, NULL, list)) \>      { \>           GePrint(LongToString(list->GetCount())); \>      } \> \>      return TRUE; \> } \>

        cheers,
        Matthias

        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 05/10/2009 at 16:51, xxxxxxxx wrote:

          Ok Matthias, 
          a very strange things was appens:
          normaly i develop on a pc with Ati Video Card... and any time i have some cinema crash if i change ogl settings.
          on this pc pickobject radius won't work.
          on my laptop... same OS and cinema version with Nvidia card radus work.
          i don't know if is a rilevant issue... but is to strange
          FRanz

          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/10/2009 at 04:16, xxxxxxxx wrote:

            Ok, problem solved.
            with last Api version now picobject ca use radius withi no problem : )
            thanks
            Franz

            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 19/11/2009 at 09:50, xxxxxxxx wrote:

              Ok, i am testing my snapping performance and ViewportSelect::PickObject(bd, doc, x, y, rad , TRUE, NULL, list) works wiht no problem in smal scenes.
              in scene with 1000 object list creation is very slow.
              i have some issue on Parameter allowOpenGL, if i set it true my plug works very slow in big scene, if i set it FALSE i have very fast result but radius wan't work.
              Any sugestion and wath exactly mean allowOpenGL;
              Best
              Franz

              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 20/11/2009 at 09:01, xxxxxxxx wrote:

                No Help ? 😞
                Franz

                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 24/11/2009 at 07:36, xxxxxxxx wrote:

                  I can confirm this and have reported to the developers. I'll report back as soon as I know more.

                  cheers,
                  Matthias

                  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 24/11/2009 at 08:20, xxxxxxxx wrote:

                    Thanks Matthias,
                    i'll wait for your reply 🙂
                    Franz

                    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 25/11/2009 at 01:07, xxxxxxxx wrote:

                      Ok, got an answer from the developers. Unfortunatly the ViewportSelect::PickObject() function has currently a very bad performance. It is something they have to look at for future CINEMA 4D releases.

                      If allowOpenGL is set to TRUE SelectionListCreate() is called instead internally, which has no radius parameter.

                      cheers,
                      Matthias

                      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 25/11/2009 at 01:18, xxxxxxxx wrote:

                        Hello Matthias,
                        thanks for reply, i'll have to find another solution.
                        all the best
                        Franz

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