THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/07/2004 at 00:53, xxxxxxxx wrote:
Cinema 4D Version: 8.207
Platform: Windows ;
Language(s) : C++ ;
we wrote some material plug-ins and now i found out a mystic thing:
If I render a scene where the material is used on an object.
How can I render the scene in PicView that it looks like in Editor View?
On 10/07/2004 at 20:58, xxxxxxxx wrote:
Do you use GetActiveDocument() in your shader? In that case, you need to use the supplied "doc" pointer instead. Otherwise, please compare how your plugins are called (using the debugger) to see if there's any detectable difference in how your code is executed, for example if you return white in the picture viewer instead of the correct color. That should enable you to track the error backwards.
On 12/07/2004 at 03:17, xxxxxxxx wrote:
I solved the problem by using a command plug-in which executes RenderDocument with the renderflag RENDERFLAG_NODOCUMENTCLONE.
Seems that the automatic clone isn't an exact clone