On Sep 13, 2016, at 12:47 PM, Oleksandr Dubenko <odybe...@gmail.com> wrote:


If it preserves the original colors, then absolutely!  That'd be an 
improvement.  Did you handle the override flag?  How do you identify the color?

I get the RGB color from .asc files from this types of lines.

attr set {zz.r} {color} {0/0/255} {region} {R} {sh...

And I'm not sure what override flag is.



You stopped too soon.  :)  Further down that attr set line is an inherit flag 
(which will be 0/unset or 1).  If inherit is set, then it overrides anything 
lower.



Example hierarchy:



top1 (color=red, inherit not set)

  u obj1 (color=green)

  u obj2 (color is unset)

top2 (color=blue, inherit=1)

  u obj1 (color=green)

  u obj3 (color is yellow)



Here's what colors should be seen if I draw each object:



draw obj1 => obj1: green

draw obj2 => obj2: gray

draw obj3 => obj3: yellow

draw top1 => obj1: green, obj2: red

draw top2 => obj1: blue, obj3: blue



Basically, what color they should be shown as depends on what exactly is drawn, what the context 
is.  If I draw "/obj3", I get yellow, but drawing "/top2/obj3" gives blue.  
Make sense?


 
I want to share the progress I made in past few days on OGV. First I configured 
ESLint to match meteor's code style and fixed all the errors it would detect. 
Next I restructured the app using meteor's recommendations on file structure 
and configured Travis CI ( for now it's just linting the code but in the future 
it will run tests). I also made a build script to deploy OGV the right way and 
not just running development version in production. Right now I'm working on UI 
improvements. 

I'm working in a eslint branch in my repo here. More detailed info about things 
I did you can read in my blog.



Awesome, thanks for sharing the progress update!  Is it ready to be deployed on 
the production server?  Will your build script work?



Cheers!

Sean






------------------------------------------------------------------------------
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to