Plugin Cafe Homepage
Forum Home Forum Home > Plugin Cafe > SDK Help
  New Posts New Posts
  FAQ FAQ  Forum Search

Viewport sky image

  Topic Search Topic Search
peterakos View Drop Down

Joined: 2015 Jul 13
Online Status: Offline
Posts: 349
Direct Link To This Post Topic: Viewport sky image
    Posted: 2017 Aug 15 at 2:39pm

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.

Back to Top
Andreas Block View Drop Down
Forum Moderator
Forum Moderator

Joined: 2014 Oct 01
Location: Hannover
Online Status: Offline
Posts: 1878
Direct Link To This Post Posted: 2017 Aug 17 at 1:55am

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.

SDK Support Engineer
Back to Top

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.61 [Free Express Edition]
Copyright ©2001-2009 Web Wiz

This page was generated in 0.094 seconds.