DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Export colors

Started by Dr PR, September 12, 2007, 04:06:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dr PR

Here is an oddity I ran across. I use DesignCAD (DC) to produce 3D objects, and TurboCAD Deluxe (TC) to render them - TC produces realistic shadows. I export DWG or DXF files from DC and import them into TC.

I had a problem with white and aluminum materials. They always imported black in TC. I have also seen this when DC export files are viewed with the Autodesk Volovue program. I had to edit the files in TC to make white objects white, or to reassign aluminum properties.

One day I was experimenting with colored backgrounds in DC. I happened to export a DWG file while the background was light blue. In TC the imported objects were the correct colors - white and aluminum (more or less). DesignCAD exports the colors displayed on the screen, not the material colors assigned to objects (this seems like a bug to me). If the background is white, DC draws white and very light colored lines as black in wireframe mode. If you export, what you see is what you get. Make the background just about anything but white and white objects are drawn white in wireframe mode, and they export as white in the DWG file.

You can get some strange results if you export files while in shaded mode (at least Gouraud shading with hardware acceleration turned on). I was unable to get shading and shadows to work correctly in TC with a file exported from DC while the image was rendered. I didn't investigate thoroughly, but it looked as if each polygon was exported from DC with the color it had in the rendered image. For example, every facet of a cylinder was a different shade in the export file.

So - export from wireframe mode with a non-white background if you want white objects to export as white objects.
DesignCAD user since 1987