Jump to content
Developer Wiki and Function Reference Links ×

Constants for render modes in SDK?


Stefan Bender

Recommended Posts

Dear developers,

We have these constants in MIniCadCallBacks.h

st short renderWireFrame             = 0;
const short renderQuick                 = 1;
const short renderSolid                 = 2;
const short renderShadedSolid            = 3;
const short renderShadedNoLines            = 4;
const short renderFinalShaded             = 5;
const short renderFinalHiddenLine        = 6;
const short renderDashedHiddenLine        = 7;
const short render2DSection                = 8;
const short render3DSection                = 9;
const short renderOpenGL                = 11;
const short renderFastRenderWorks        = 12;
const short renderFastShadowRenderWorks = 13;
const short renderFinalRenderWorks        = 14;
const short renderCustomRenderWorks        = 15;
const short renderOutputVRML            = 16;
const short renderArtisticRenderWorks     = 17;
const short renderSketch                = 18;

and according to UI we have these actual render modes:

"1" = "Wireframe";
"2" = "Sketch";
"3" = "Shaded";
"4" = "Fast Renderworks";
"5" = "Final Quality Renderworks";
"6" = "Custom Renderworks";
"7" = "Artistic Renderworks";
"8" = "Hidden Line";
"9" = "Dashed Hidden line";
"10" = "Unshaded Polygon";
"11" = "Shaded Polygon";
"12" = "Shaded Polygon No Lines";
"13" = "Final Shaded Polygon";


So I wonder

- What is "shaded"? renderShadedSolid or renderShadedSolidNoLines?
- Which render mode constants represent "Unshaded Polygon", "Shaded Polygon" or "Shaded Polygon No Lines"?
- Does render mode renderOpenGL still exist and is it working?
- It seems that renderShadedNoLines does not work in symbol display controls anymore. Our previews become empty if we select this mode. Is this a known bug?

 

Thanks for any help,

 

Stefan Bender

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...