Defines the smoothing types that is applied to objects. Default value is SmoothingGroups.
Namespace:
Ab3dAssembly: Ab3d.Reader3ds (in Ab3d.Reader3ds)
Version: 4.2.0.0 (4.2.0.0)
Syntax
| C# |
|---|
public enum ShadingType |
| Visual Basic (Declaration) |
|---|
Public Enumeration ShadingType |
| Visual C++ |
|---|
public enum class ShadingType |
Members
| Member name | Description | |
|---|---|---|
| None |
No special shading is applied to the objects. This is the fastest option. Objects usually look smooth but because it is not neccessary that all positions are unique, the rendered objects can have some "anomalies". Choose this option only if performance is much more important than renderin quality or if you wish to create the same output as previous versions of Reader3ds (verson 4.1 and below).
| |
| Flat |
All read objects appear flat shaded - all the edges are sharp and not smooth - as a qube. Usually this is not neccessary because SmoothingGroups already contains information about which edges are sharp and which are smooth. In general SmoothingGroups should provide the best results. This option can be choosen to force the flat look.
| |
| Smoooth |
All read objects appear smooth - there are no sharp edges - as a sphere. Usually this is not neccessary because SmoothingGroups already contains information about which edges are sharp and which are smooth. In general SmoothingGroups should provide the best results. This option can be choosen to force the smooth look.
| |
| SmoothingGroups |
Default value. This options uses the SmoothingGroups values stored in 3ds file to define which edges are smooth and which are flat. This options produces the results as in the 3d model designer. However if you wish to force the flat or smooth looking objects choose either Flat or Smooth. Also if performace is much more important than rendering quality choose None.
|