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

Viewport sky image

 Post Reply Post Reply
Author
Message
peterakos View Drop Down
Member
Member


Joined: 2015 Jul 13
Online Status: Offline
Posts: 340
Post Options Post Options   Quote peterakos Quote  Post ReplyReply 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++  ;   

---------

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.

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

Joined: 2014 Oct 01
Location: Hannover
Online Status: Offline
Posts: 1812
Post Options Post Options   Quote Andreas Block Quote  Post ReplyReply Direct Link To This Post Posted: 2017 Aug 17 at 1:55am
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.

Cheers,
Andreas
SDK Support Engineer
Back to Top
 Post Reply Post Reply

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.078 seconds.