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
    • Register
    • Login

    point visible in view?

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 263 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 09/11/2005 at 09:01, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   9.1 
      Platform:   Windows  ; Mac  ;  
      Language(s) :     C++  ;

      ---------
      Hi,

      does anybody know how to fastly detect if a point (any coordinate, not only point object vertices) is visible in the current view?

      Thanks
      Katachi

      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 11/11/2005 at 12:20, xxxxxxxx wrote:

        Have a look at the editortools lib. SelectionListCreate() seems quite usefull. The ViewportSelect class is also good for occlusion testing. Just get your point in screencoordinates, test what is below and compare the z depth values. I've tried this and it works and is quite fast. It takes some time to initialize though.. but i think it's the fastest possible way. Don't know about SelectionListCreate(). This also gives a z depth, but this is perhaps not as acurate.

        best regards
        Michael

        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 12/11/2005 at 08:50, xxxxxxxx wrote:

          Ah thank you Michael. Haven´t seen this at all!

          Best
          Samir

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