DiscussionsIssue archiveVisualization and 3D Viewer

Archived discussion

Disable Shading

Visualization and 3D ViewerTue, 05/11/2021 - 11:321 reply

Browse this forum
QuestionAuthor

Hello I was wondering what is the path for displaying with no shading just original color ?

Like in the shape in atachment.

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

This is called an "unlit" shading model Graphic3d_TOSM_UNLIT, which can be set via Graphic3d_Aspects::SetShadingModel() property. Here is a sample Draw Harness script:

pload MODELING VISUALIZATION
psphere s 1
vinit View1
vdisplay -dispMode 1 s
vfit
vaspects s -shadingModel UNLIT -color RED