Viewport sky image

On 15/08/2017 at 14:39, xxxxxxxx wrote:

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


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.

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


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.