On Sun, Aug 18, 2013 at 2:52 PM, Tom Browder <[email protected]> wrote:

> I'm showing a user how to use scripts for mged to change region and
> combination attributes and I ran across a situation I can't explain:
>
...

> Now run the comb_color again:
>
> mged> comb_color stool2 80 80 80
> mged> attr show stool2
>  color          80/80/80
> rgb            80/80/80
>
> Now both color and rgb are showing!
>

Actually, the same thing happens if I run another attr change command on a
region:

mged> attr show car.r
los            100
 material_id    1
region         R
 region_id      1000
rgb            80/80/80
mged> attr set car.r material_id 2
mged> attr show car.r
color          80/80/80
 los            100
material_id    2
 region         R
region_id      1000
 rgb            80/80/80

Notice we now have a new color attribute!

Best regards,

-Tom



> So, what is the user to do to truly affect the color: use both rgb and
> color attributes?  Or does it matter since BRL-CAD may be treating 'color'
> and 'rgb' as aliases for each other?
>
> Best regards,
>
> -Tom
>
>
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to