I think people testing the PCB+GL branch might find it interesting to re-fetch.
git fetch git checkout master git branch -D before_pours git checkout -b before_pours origin/before_pours [rebuild] I've pushed out some new code which uses the stencil buffer to sub-composite within layers (actually, it does polygons separately to other primitives - so you can still see the lines / arcs joined with polygons). Silkscreen is now translucent (although I'm not sure I like it with the same opacity as the copper layers). I bumped my thindraw translucency hacks to the before_pours branch, so thin-draw poly ought to be interesting. Its not so much slower than filled draw any more, since I fixed a some stupid detail that the code was trying to draw lots of little triangles to make a circular cap on each 1px wide line when in thindraw mode. http://www2.eng.cam.ac.uk/~pcjc2/geda/trans_poly.png On my hardware I have an 8 bitplane stencil buffer. The new code takes advantage of each bitplane for masking operations before it finally clears as many stencil bitplanes as are not being used for masking. This avoids an expensive glClear about 7 out of 8 times. glClear throughput seems to be quite a bottle-neck on my Intel card. With 10 layers visible I was previously getting about 14fps with no rendered geometry - with the code assuming it needed to glClear after two compositing operations per layer. I could probably save another couple of glClear ops per frame if I test for empty layers. (Many simple designs will have those). Oh.. the code probably looks best when combined with the dark colour maps I prefer in my layout tool. (Only because I fiddled the opacity numbers whilst using those). My colour map is attached. Best wishes, -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!)
black-color = #000000 white-color = #ffffff background-color = #000000 crosshair-color = #ff0000 cross-color = #cdcd00 via-color = #8c8c8c via-selected-color = #00ffff pin-color = #999999 pin-selected-color = #00ffff pin-name-color = #ff0000 element-color = #e6e6e6 rat-color = #b8860b invisible-objects-color = #4c4c4c invisible-mark-color = #666666 element-selected-color = #00ffff rat-selected-color = #00ffff connected-color = #00ff00 off-limit-color = #666666 grid-color = #ffffff layer-color-1 = #cd3700 layer-color-2 = #395ecc layer-color-3 = #cfcf00 layer-color-4 = #8b2323 layer-color-5 = #548b54 layer-color-6 = #8b7355 layer-color-7 = #00868b layer-color-8 = #228b22 layer-color-9 = #8b2323 layer-color-10 = #3a5fcd layer-color-11 = #104e8b layer-color-12 = #cd3700 layer-color-13 = #548b54 layer-color-14 = #8b7355 layer-color-15 = #00868b layer-color-16 = #228b22 layer-selected-color-1 = #00ffff layer-selected-color-2 = #00ffff layer-selected-color-3 = #00ffff layer-selected-color-4 = #00ffff layer-selected-color-5 = #00ffff layer-selected-color-6 = #00ffff layer-selected-color-7 = #00ffff layer-selected-color-8 = #00ffff layer-selected-color-9 = #00ffff layer-selected-color-10 = #00ffff layer-selected-color-11 = #00ffff layer-selected-color-12 = #00ffff layer-selected-color-13 = #00ffff layer-selected-color-14 = #00ffff layer-selected-color-15 = #00ffff layer-selected-color-16 = #00ffff warn-color = #ff8000 mask-color = #009900
_______________________________________________ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user