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

    Viewport sky image

    SDK Help
    0
    2
    326
    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 15/08/2017 at 14:39, xxxxxxxx wrote:

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

      ---------
      Hello.

      If I create a sky object and I place a material with an image as its color shader, I will see that image in the viewport. Can I set manually the "viewport image"?

      I have a TagData with a shaderlink parameter that once set with any shader, I want to "see" that shader in the viewport as spherical projection.

      Can I do that somehow ?

      Thank you very much for your time.

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

        On 17/08/2017 at 01:55, xxxxxxxx wrote:

        Hi,

        you can use the Draw() function of your tag to draw whatever you want.
        Please check out the manuals on BaseDraw and Draw in general, especially note DrawObject().
        You may run into certain issues though (mainly when using 2D draw functions), when drawing directly from the tag, instead you may want to use a SceneHook, see this blog article[URL-REMOVED].


        [URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.

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