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

    SetDrawParameter & LineZOffset

    SDK Help
    0
    37
    23.6k
    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
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 04/10/2006 at 11:43, xxxxxxxx wrote:

      It's surely a hack to call the object's Draw() function from the tag's, but I can't see how it could be dangerous. More like code reuse... 🙂
      The Scenehook solution might be the simplest, though, provided that its Draw() function is always called after objects'.

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 05/10/2006 at 20:24, xxxxxxxx wrote:

        Howdy,

        Thanks Mikael, I'll consider giving that a try when I do another update. ;o)

        Adios,
        Cactus Dan

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 06/02/2007 at 13:48, xxxxxxxx wrote:

          Dan,

          Did you ever find a solution here and what was it? 🙂

          I am looking into something similar for my bones while some other related features are added.

          If you went with a SceneHook, how do you do the drawing? Do you recurse the document's objects for you own and draw them then?

          Thanks!

          Robert

          1 Reply Last reply Reply Quote 0
          • H
            Helper
            last edited by

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 06/02/2007 at 13:58, xxxxxxxx wrote:

            Howdy,

            Nope, not yet. :o(

            Actually, I haven't tried it anymore, and just went on to other things.

            Adios,
            Cactus Dan

            1 Reply Last reply Reply Quote 0
            • H
              Helper
              last edited by

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 06/02/2007 at 14:18, xxxxxxxx wrote:

              Hello Dan,

              Nothing huh?

              Well, if I find a way, it will be posted here. 🙂

              Thanks!

              1 Reply Last reply Reply Quote 0
              • H
                Helper
                last edited by

                THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                On 06/02/2007 at 14:25, xxxxxxxx wrote:

                Howdy,

                Cool, good luck with it.

                It just seemed like too much to do, and there were more important things for me to solve.

                Adios,
                Cactus Dan

                1 Reply Last reply Reply Quote 0
                • H
                  Helper
                  last edited by

                  THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                  On 03/06/2007 at 11:10, xxxxxxxx wrote:

                  Howdy,

                  OK, I think I'm going to give this a shot again, but I have no idea how to use a scene hook or how to even set one up. There is no example of a SceneHookData plugin in the SDK project. I've found some bits and pieces of code here on the cafe, but not a complete example.

                  I'm going to see if I can figure this out from the bits and pieces, but I'll welcome any complete example anyone is willing to share. 😉

                  Adios,
                  Cactus Dan

                  1 Reply Last reply Reply Quote 0
                  • H
                    Helper
                    last edited by

                    THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                    On 04/06/2007 at 22:56, xxxxxxxx wrote:

                    Howdy,

                    Well, I figured out how to set up the SceneHookData and it works!

                    Seems that if I draw in screen coordinates using the 2D drawing functions, it draws on top of the polygon mesh using the SCENEHOOKDRAW_ACTIVE_PASS flag. Since I'm only drawing lines anyway, that works out great.

                    Adios,
                    Cactus Dan

                    1 Reply Last reply Reply Quote 0
                    • H
                      Helper
                      last edited by

                      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                      On 05/06/2007 at 12:44, xxxxxxxx wrote:

                      Great news, Dan!

                      Please post a screenshot so we can see the cool results (this could be over at CGTalk if you like).

                      1 Reply Last reply Reply Quote 0
                      • H
                        Helper
                        last edited by

                        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                        On 05/06/2007 at 13:46, xxxxxxxx wrote:

                        Howdy,

                        Here is the result:

                        I had to write my own dotted line drawing routine, though, using BaseDraw's Point2D() function.

                        Adios,
                        Cactus Dan

                        1 Reply Last reply Reply Quote 0
                        • H
                          Helper
                          last edited by

                          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                          On 05/06/2007 at 21:36, xxxxxxxx wrote:

                          Very nice, Dan. I may have to speak with you on how you accomplished this with a SceneHook in the future. 🙂

                          Take care,

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