Yes, alpha-channel is ignored when drawing simple shapes. regards, Jakob
2014-06-21 2:35 GMT+02:00 Stefan Joerer <[email protected]>: > Hi Michael, > > Indeed I forgot to set the alpha channel! :) I am using Veins and SUMO > 0.21.0. But just to clarify things for me, when using simple shapes it > worked, because the alpha channel is ignored in this case? > > Thank you very much! > > Cheers, > Stefan > > On 06/21/2014 01:01 AM, Michael Behrisch wrote: > > Hi Stefan, > > sumo recolors also raster images, so maybe you forgot to set the alpha > > channel when using TraCI (which client do you use?). The fourth byte has > > to be 255 for non transparent vehicles. > > > > Best regards, > > Michael > > > > > > Am 20.06.2014 01:36, schrieb Stefan Joerer: > >> Hi all, > >> > >> I wanted to polish my simulations for demonstration purposes and hence > >> started using raster images for vehicles. I provide the attached gray > >> scale car1.bmp to SUMO and it nicely renders vehicles as long as I don't > >> change the color of a vehicle via TraCI. When I change the color of a > >> vehicle it becomes a phantom vehicle as shown on the attached screenshot > >> which is only visible by break lights > >> > >> Do you have any idea how to fix this issue? > >> > >> Cheers, > >> Stefan > >> > >> > >> > >> > ------------------------------------------------------------------------------ > >> HPCC Systems Open Source Big Data Platform from LexisNexis Risk > Solutions > >> Find What Matters Most in Your Big Data with HPCC Systems > >> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > >> Leverages Graph Analysis for Fast Processing & Easy Data Exploration > >> http://p.sf.net/sfu/hpccsystems > >> > >> > >> > >> _______________________________________________ > >> sumo-user mailing list > >> [email protected] > >> https://lists.sourceforge.net/lists/listinfo/sumo-user > >> > > > > > > > ------------------------------------------------------------------------------ > > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions > > Find What Matters Most in Your Big Data with HPCC Systems > > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > > Leverages Graph Analysis for Fast Processing & Easy Data Exploration > > http://p.sf.net/sfu/hpccsystems > > _______________________________________________ > > sumo-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/sumo-user > > > > > -- > Stefan Joerer, MSc > Institute of Computer Science > University of Innsbruck, Austria > Phone: +43 512 507 53254 > http://ccs-labs.org/~joerer/ > > > ------------------------------------------------------------------------------ > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions > Find What Matters Most in Your Big Data with HPCC Systems > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. > Leverages Graph Analysis for Fast Processing & Easy Data Exploration > http://p.sf.net/sfu/hpccsystems > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
