John Foust wrote:
>
> DXF files do not contain RGB values for colors. At best, they might
> have "AutoCAD color indexes", also known as "pen numbers" which index
> into a table of RGB values used for on-screen display of lines. These
> might be applied per entity or by block or by layer. Do you know
> which method (if any) was used in the DXF files you're using?
I didn't write this myself, so I didn't know the answer off the top of my head.
I just looked it up. Apparently, everything is in place, except the actual
color table look up. (!) A request is made to look up the color, but it
always defaults to grey. Doh.
If I can get a list of the color indices, I'll add that to the DXF Loader, and
we set this up for the next NCSA Portfolio beta release.
Thanks for the help on this.
srp
>
>
> - John
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
--
Steve Pietrowicz - [EMAIL PROTECTED] Project Manager - NCSA Java 3D Group
NCSA Portfolio 1.3 beta 2: http://havefun.ncsa.uiuc.edu/Java3D/portfolio/
New Loaders, turn your Canvas3D into a JPEG, new InputDevices and more!
Freely available for non-commercial use!
You Build It VR: http://havefun.ncsa.uiuc.edu/Java3D/YouBuildItVR/
Build your own multi-user virtual worlds with no programming experience!
The Java3D FAQ: http://tintoy.ncsa.uiuc.edu/~srp/java3d/faq.html
Java News Network: http://tintoy.ncsa.uiuc.edu/~srp/java/javanews.html
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".