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

Overriding An Objects BaseDraw

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


Joined: 2012 Jun 19
Online Status: Offline
Posts: 127
Post Options Post Options   Quote DSchmidt Quote  Post ReplyReply Direct Link To This Post Topic: Overriding An Objects BaseDraw
    Posted: 2017 Jul 28 at 3:22pm

User Information:

Cinema 4D Version:   14 
Platform:    Mac  ;  
Language(s):     C++  ;   

---------

Hi,

Is there a way to prevent an object's BaseDraw output from showing up in the viewport? Similar to a Display Tag.    I want to put a tag plugin on a Spot Light and stop it from drawing in the viewport and instead use the Tag's BaseDraw to output something different.  

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

Joined: 2014 Oct 01
Location: Hannover
Online Status: Offline
Posts: 1540
Post Options Post Options   Quote Andreas Block Quote  Post ReplyReply Direct Link To This Post Posted: 2017 Jul 31 at 2:59am
Hi Dan,

unfortunately there's no direct or official way to achieve this.

We discussed a possible solution, which is probably not ideal and also shouldn't be considered as an official approach, but you may want to consider it anyway.

You could use MSG_MENUPREPARE to create an additional Display tag. Setting the "Style" parameter in the Display tag to "Skeleton" would reduce the light to be drawn just as a point.
Also you may run into issues using Draw() in your TagData directly. Instead doing the drawing in a SceneHook as described in this blog article could help then.

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