I did use that -c option as a workaround, but -W was soooooooo convenient 
especially when generating one image and not scripting.  When I get back to the 
office with someone that has permissions, I will attempt the rtedge.exe swap 
and let you know if that worked.  The reason I will use 7.24 is that 7.26 had 
an issue when ray-tracing BoT solids.  I had some hydraulic line models that 
were missing segments on the ray-trace even though they were actually there. 
7.24 ray-traced them correctly and 7.30 does as well.

Thanks.

Bob

From: Christopher Sean Morrison via brlcad-devel 
<[email protected]>
Sent: Thursday, June 4, 2020 4:43 PM
To: BRL-CAD Developer Mailing List <[email protected]>
Cc: Christopher Sean Morrison <[email protected]>
Subject: Re: [brlcad-devel] rtedge -W error


Hi Bob,


On Jun 4, 2020, at 10:22 AM, Bob Anderson 
<[email protected]<mailto:[email protected]>> wrote:

I just installed BRLCAD 7.30.2 on my windows machine and noticed an issue with 
rtedge, particularly with the -W option.  The background is properly set to 
white, but the foreground line color also remains white so you end up with a 
blank image.  I know the -c workaround, but that is a bit inconvenient as I use 
scripts to generate images meaning I would need to change those.

Thank you for the bug report…


Would a simple fix be to extract the rtedge.exe file from 7.24 and place it in 
the 7.30.2 bin directory?

Unfortunately, there’s no telling whether simply copying the rtwedge.exe into 
the directory will work without trying it.  I would guess that it probably will 
as the library interface it relies on has not changed, but that would still be 
a guess nonetheless.

For what it’s worth, you can probably just replace -W with -c"set fg=1,1,1 
bg=255,255,255” or similar RGB values and it will work without risk to changing 
scripting logic.  If you rely on the exact RGB values, it was using 255,255,254 
and 0,0,1 for fg and bg respectively.

Cheers!
Sean

_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to