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

    InitGLImage of a volumetric plugin?

    Scheduled Pinned Locked Moved SDK Help
    5 Posts 0 Posters 477 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 24/05/2008 at 06:47, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   9.6-10.5 
      Platform:   Windows  ; Mac  ;  Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      When I overload the InitGLImage function of a volumetric environment shader, what does the size of the passed bitmap correspond to? View Frustum?

      thx in advance for an info on this.

      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 27/05/2008 at 01:28, xxxxxxxx wrote:

        From what I can see it always is 256x256 and uses the texture tag's projection type.

        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 28/05/2008 at 12:17, xxxxxxxx wrote:

          Thanks Matthias.

          That´s surely the case for surface shaders or volume shaders that work inside a given surface, but how is the texture projected onto an environment object? There is no geometry or uv data available to project on or get data from. So my problem is how to interpret the texture for an environment shader.

          thx

          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 29/05/2008 at 00:43, xxxxxxxx wrote:

            It seems that the bitmap is not avaible for enviroment objects. Actually I don't know any volumetric shader that shows something for the enviroment object in the viewport.

            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 29/05/2008 at 01:20, xxxxxxxx wrote:

              ah ok. Well, the environement object itself is showing a volumetric effect and believe it or not, I asked myself how this is shown from within InitGLImage (almost got a headache), but now in this very second I think this is simply done in Draw() with OGL Fog. DOH!

              ok, thanks Matthias for your help.

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