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

    CalcVolumetric calls for MaterialData

    SDK Help
    0
    3
    271
    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

      On 28/01/2013 at 06:17, xxxxxxxx wrote:

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

      ---------
      Hi,

      i am messing around with a volumetric material plugin and came across an issue.

      It must evaluate the incomming light at some points in the medium. For this i use vd->IlluminateAnyPoint. The material is assigned to a box. The problem is that the transmission coefficient of the medium is only evaluated (by another call to CalcVolumetric) for lightsource outside the medium. See figure.

      Is there a way to trick Cinema into calling CalcVolumetric for the ray towards the light source in the top figure? If not, is there a way to determine if CalcVolumetric was called? How about arealights which could be partially in the volume?

      cheers,
      Michael

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

        On 28/01/2013 at 07:33, xxxxxxxx wrote:

        Hi Michael,

        I forwarded your question directly to the developers.

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

          On 29/01/2013 at 01:01, xxxxxxxx wrote:

          Thank you

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