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

Overriding An Objects BaseDraw

  Topic Search Topic Search
DSchmidt View Drop Down

Joined: 2012 Jun 19
Online Status: Offline
Posts: 135
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++  ;   



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.  

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

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