THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/08/2010 at 12:58, xxxxxxxx wrote:
Cinema 4D Version:
Language(s) : C++ ;
The flag to detect preview rendering I found.
How can I detect the editor view is active and not the rendering engine?
On 24/08/2010 at 13:46, xxxxxxxx wrote:
See CheckIsRunning() in the C++ SDK documentation.
On 02/09/2010 at 03:25, xxxxxxxx wrote:
A shader can check the VolumeData's RayParameter.
For example this is a shader's output routine. It outputs a different color depending if it's rendered within the editor or the picture viewer.
Vector MandelbrotData::Output(PluginShader *chn, ChannelData *cd)
RayParameter *rp = cd->vd->GetRayParameter();