Support |
Feature |
Comments |
Yes |
Mesh data |
Exports all Positions, TriangleIndices, TextureCoordinates and Normals |
Yes |
Cameras |
All the cameras are read and the user can decide which one to show / export. |
Yes |
Perspective Camera |
Reads Camera's Position, LookDirection, FieldOfView, FarPlaneDistance and UpDirection
(from CameraAngle) |
Yes |
Free Camera |
In Viewer3ds it is possible to use the free camera that can be rotated around the
object freely (right mouse button). This camera can also be exported. |
Yes |
Lights |
All the lights are read and the user can decide which one to enable / disable -
the enabled lights are exported into XAML. It is also possible to add new DirectionalLight
with custom direction (useful if there is no light defined in the scene). 3ds can
define Multiplier for light - if less than 1 than color is darkened to achieve the
same effect; values greater than 1 are not supported. |
Yes |
Spot Light |
Reads Light's Position, Direction, Color, InnerConeAngle, OuterConeAngle.
|
Yes |
Point Light |
Reads Light's Position, Range (if UseAttenuation is false than Range is Infinity) |
No |
Shadows |
Not supported |
Yes |
Materials |
All materials are read and assigned to the correct meshes. Because in 3ds it is
possible to set multi-sub materials - each face (TriangleIncide) can have different
material. This is not supported in WPF. To achieve this the meshes are divided into
smaller ones for each material. |
Yes |
DiffuseMaterial |
Reads material Color and Opacity. TwoSided materials are also supported (BackMaterial
is the same as Material) |
Yes |
Specular Material |
Reads material Color, Opacity and Power. Glossiness is not supported in WPF. |
Yes |
Textures |
Textured are supported in jpg, png, gif and bmp file formats. Because there are
some 3ds models that uses tga or some other file format for textures (WPF does not
support tga) I added check if there exist the same file in gif format and if it
exist this file is used. For example if you have a 3ds file with textures in tga
file format, just convert all the tga files into gif files and palce then into the
same folder. The new gif files will be used. For each texture image UScale, VScale,
UOffset and VOffset are read. |
Yes |
TextureCoordinates |
That means UV mapped textures will be shown correctly in WPF. |
No |
Animation |
KeyFrames data is currently not imported. |
Yes |
Special Settings |
In Viewer3ds it is possible to apply some special setting to read 3ds file and to
apply some effects to the read mesh. |
Yes |
Disable specular materials |
Because WPF does not support Glossiness the imported objects that use SpecularMaterials
sometimes does not look as expected (too big specular effect). In this case it
is handy to disable SpecularMaterials in the scene. |
Yes |
Force two sided materials |
Sometimes the read 3ds model does not have correctly set normals so some holes are
shown in the rendered model. In this case it is useful to force that all material
are two sided - in WPF's terminology that means that all the GeometryModel3D also
have BackMaterial the same as Material. |
Yes |
Disable transparencies
|
Sometimes transparencies in WPF are not rendered correctly. It is possible to disable them. |