News:

Interested in some really terrific mobile apps? Visit www.turboapps.com for details.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Simplest Way to set the color of a solid

Started by bigjimslade, August 01, 2009, 03:35:26 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

bigjimslade

What would be the method to set the color of a solid such that it had the lowest rendering overhead?

In other words, I would like to just change the color of the solid, have it different from the color of the wireframe but I don't need reflections or anything like that. Just a plane flat color.

John R

The simplest is to use Pen Color, this will give you a somewhat shiny plastic surface.

Next choice would be to create a new Category in the Materials palette. The "default" material is a flat white, but you could create new ones from it. The "Ambient factor" for Matte is quite low (doesn't reflect much), so you will want to it kick up some; 0.75â€"1.00 is a good start.

my 2¢
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Henry Hubich

I'm with John R. I've created a "Flat Paint" Category, in which the various Materials are named simply by their color (e.g., "Green," "Pale Blue"). Reflectance is always Matte, with A.F. and D.F. usually both 1.0; Transparency, Texture, and Wrapping are "None." This is probably my most-frequently-used Category. And my standard illumination is simply one Headlight and one Ambient light, both 1 watt with Color (RGB) = 128, 128, 128. Using only the Pen color for an object -- i.e., no Material -- generally results in a rather dim rendering with this illumination. See attached screenshots.

Henry H

[attachment deleted by admin]

lemel_man

Hi Henry,
What have I done wrong, or omitted to do?
I've tried to create some "Flat paints" as per your instructions, but no matter what colour I choose, the result is always black in the preview, and in the final render.
The attachments should define blue.

[attachment deleted by admin]
Gary Wooding
Win10 64-bit,
TC21.2 x64 Plat, Bld59
TC16.2 Plat, Bld54.0
TCC 3.5

John R

#4
In versions prior to V16 it's a little different. What is "1" in V16, is "100" in V15; 0.625-vs-63.
Version 16 can enter real numbers, whereas earlier versions give you slider and you're entering a percentage.

Your setting of "1" is giving the least Ambient reflection; bring it up to 75â€"100.
Set the Diffuse factor to 100.

In this Matte dialog, the default for Ambient is 0.1 or 10 in your situation. That's usually pretty dark, that why we say to move it up close to 100 (in your case).

EDIT: I added a picture of the dialog differences.

hope this helps,



[attachment deleted by admin]
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

lemel_man

Thanks John,
That fixed it. I didn't realize that Henry's "A.F. and D.F. usually both 1.0" was version specific.
Gary Wooding
Win10 64-bit,
TC21.2 x64 Plat, Bld59
TC16.2 Plat, Bld54.0
TCC 3.5

lemel_man

I thought I'd got it working, but I've obviously done something else wrong. But what?
I'm trying to illustrate something and have defined two materials: both Flat Paint, one White and the other Brown.
In Model Space it works fine, but in Paper Space the same view comes out grey.
Both are rendered in Draft Mode.
Same view, same render mode, different results. Any ideas?

[attachment deleted by admin]
Gary Wooding
Win10 64-bit,
TC21.2 x64 Plat, Bld59
TC16.2 Plat, Bld54.0
TCC 3.5

Henry Hubich

Quote from: lemel_man on August 03, 2009, 12:31:28 AM
Both are rendered in Draft Mode.

Are you sure they are both the same "Draft" mode? Although the various Lightworks "Draft" modes will display material colors (with some exceptions), OpenGL "Draft" will display only Pen colors.

Henry H

lemel_man

Thanks, they were different.
I've set them both to Lightworks, Smooth OpenGL and get the required result with both.
Gary Wooding
Win10 64-bit,
TC21.2 x64 Plat, Bld59
TC16.2 Plat, Bld54.0
TCC 3.5