Hello Jakob, thank you for your help. Thanks to you I could finally manage to achieve the desired result. For others who might be looking for a similar thing, I post the solution here, as the part with the alpha channel was a bit tricky for me to find:
<vType id="invisible" accel="0.8" decel="4.5" sigma="0.5" length="5" minGap="1.5" maxSpeed="70" imgFile="S5.png" color="1,0,0,0" /> The fourth color-channel is the alpha. Best regards, Marcus 2017-06-11 21:34 GMT+02:00 Jakob Erdmann <[email protected]>: > Hello, > Set the vehicle type to one with attribute imgFile and color transparent, > use vehicle gui settings 'show as raster images' (this will use simple > shapes if no images are defined). Any image will do when setting full > transparency. > regards, > Jakob > > > > 2017-06-11 15:51 GMT+02:00 Marcus Müller via sumo-user < > [email protected]>: > >> Dear sumo-users & developers, >> >> I am looking for a way to remove single vehicles from a scene before >> taking a screenshot. I don't wan't to remove the cars from the simulation - >> but I am searching for something like switching the visibility of a vehicle >> on and off. I was looking into the gui_scheme functionality as well as the >> vehicle shape, but didn't find a proper solition yet. >> >> Another approach could be to move the vehicle out of the current camera >> view, take a screenshot and move it back afterwards. But I hope you know >> something better, such as setting the vehicle color to transparent or >> something similar. >> >> Best regards, >> Marcus >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/sumo-user >> > > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
