THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 25/04/2010 at 18:02, xxxxxxxx wrote:
Cinema 4D Version: 11.5
Platform: Windows ;
Language(s) : C++ ;
I'm using some OpenGL functions in my plugin in the DRAW() member.. however, the OpenGL geometry I create will not work if the user has selected Software shading. What does software shading use to display polygons and objects etc.. does it use direct X? or is it something built in to C4D? I assume I will have to revert to the C4D API to draw things if the user chooses software shading. How can I determine if the user has chosen Software shading?
On 26/04/2010 at 02:49, xxxxxxxx wrote:
Check for the status of WPREF_OPENGL worldcontainer entry.
BaseContainer bc = GetWorldContainer();
if (bc.GetBool(WPREF_OPENGL, TRUE))
On 26/04/2010 at 03:09, xxxxxxxx wrote:
Thanks Matthias.. I appreciate it!
On 26/04/2010 at 03:55, xxxxxxxx wrote:
While we are at it: Is there any significant benefit to draw directly with OpenGL except for the cases where you need features that Cinema doesn't offer?