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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    VolumeData with VideoPost plugin

    Scheduled Pinned Locked Moved SDK Help
    8 Posts 0 Posters 652 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 14/01/2007 at 14:25, xxxxxxxx wrote:

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

      ---------
      I am trying to access the VolumeData from within a VideoPost plugin. The SDK says that the VolumeData should be available with the VP_RENDER message.
      Well, the VolumeData seems to be there (I can read out the camera position for instance), but using raytracing commands such as TraceGeometry doesn't work. I have to use VP_INNER to make thes commands work with the VolumeData.
      Is this correct?
      This would be quite odd as I try to calculate some data within the videopost plugin and hand it over to a shader plugin. Unfortunately during the VP_INNER routine the shaders are already initialized.

      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 14/01/2007 at 14:40, xxxxxxxx wrote:

        hmm, according to the docs there shouldn´t be any problem with these commands. As long as the volumedata is available and the document is there, they should work (at least I cannot see anything in the docs that tell otherwise).

        At least TraceGeometry should be available (TraceColor probably not, because it cannot sample the shaders etc. correctly without them being initialised).

        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 14/01/2007 at 14:51, xxxxxxxx wrote:

          Hi Samir,
          that's what I thought, too, but TraceGeometry just doesn't report any hits while in VP_RENDER mode. VP_INNER works fine.

          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 14/01/2007 at 15:07, xxxxxxxx wrote:

            Sounds weird. 😕 Sorry, cannot help then. Hopefully the support can.

            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 17/01/2007 at 01:56, xxxxxxxx wrote:

              It seems that the VolumeData is not completly filled at VP_RENDER. I noticed this some time ago when I tried to use ProjectPoint and GetPointUVW from within VP_RENDER. It worked fine from within VP_INNER. I have to check if this is an error in the documentation.

              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 17/01/2007 at 03:38, xxxxxxxx wrote:

                Thanks for checking Matthias.
                That would be a little be odd if only a part of the VolumeDate would be filled 😞
                Please let me know if the developers have any ideas about a work around.
                Btw. how does a Radiosity Prepass work then. Also within the VP_INNER part?

                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/01/2007 at 03:53, xxxxxxxx wrote:

                  Got some answers fromthe developers. The VolumeData is indeed not yet fully initialized during VP_RENDER. Between VP_RENDER and VP_INNER displacement, mesh setup and normal initializing will be done. Radiosity prepass is done after VP_INNER.

                  sorry I don't know a workaround yet.

                  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/01/2007 at 04:00, xxxxxxxx wrote:

                    Thanks a lot for clearing this up.
                    So I have to find another solution.

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