[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: gerbv-2.3.0 released



> I guess I'd have to do some reading of the code to see exactly what
> photo-mode is doing though.

It's pretty straight forward.  It renders each layer into a separate
pbm, then composites them into a single ppm.  The compositing loop is
around line 688 in hid/png/png.c.  There's a little extra code for
figuring top/bottom shadows, computed by ts_bs() and ts_bs_sm(), and
for texturing the copper (the call to random()).


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user