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

Re: gEDA-user: gerbv-2.3.0 released



DJ Delorie wrote:
>> 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()).

It seems then that we're just missing the shading and texturing.  gerbv 
already will take a list of colors either in RGB or RGBA for each of the 
layers that you give on the command line and produce a single png (or 
pdf or postscript).



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