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

    BaseObject form VolumeData

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 272 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

      On 13/10/2013 at 08:00, xxxxxxxx wrote:

      Python, R 14/15, Windows

      Hi,

      I have got a little ShaderData plugin. I would like to get hold of the BaseObject the current
      ShaderData.Output() pass is being called for. Actually I do not need the BaseObject itself, only 
      its global matrix. I suppose I have somehow to use the ray hitid pointer of the BaseVolumeData, 
      but i cannot find anything specific in the python or cpp sdk. Is that even possible in python, 
      considering that there are missing several rendering related classes ?

      Thanks for your help,
      Ferdinand

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

        On 13/10/2013 at 08:52, xxxxxxxx wrote:

        Unfortunately you can not retrieve the object from a VolumeData in Python.

        Cheers,
        -Niklas

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

          On 13/10/2013 at 09:33, xxxxxxxx wrote:

          That is unfortunate, but thanks for the quick reply.

          Happy rendering,
          Ferdinand

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