This shows you the differences between two versions of the page.
en:traffic:transparency [2018/09/22 11:16] 127.0.0.1 external edit |
en:traffic:transparency [2018/09/23 12:37] (current) bahnfrank65 |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Transparenz ===== | + | ===== Transparency ===== |
- | Ist ein Pixel transparent, bedeutet das, dass der [[de:traffic:background|Hintergrund]] an die Stelle des Pixels tritt. Dies können natürlich nicht nur isolierte Pixel sondern auch ganze Flächen eines Bildes sein. | + | If a pixel is transparent, it means that the [[en:traffic:background|background]] takes the place of the pixel. Of course, this can not only be isolated pixels but also entire areas of an image. |
- | Man kann in der [[de:traffic:vehiclelist|Stock List]] wählen, ob die Pixel mit dem [[RGB-Wert]] (0,0,0), (243, 0, 243) oder zum Beispiel alle Pixel mit der Farbe, die das linkeste Pixel in der obersten Zeile hat, transparent sein sollen. | + | You can choose in the [[en:traffic:vehiclelist|Stock List]], whether the pixels with the [[RGB value]] (0,0,0), (243, 0, 243) or, for example, all pixels with the color that has the leftmost pixel in the top row should be transparent. |
- | Außerdem erlaubt Traffic [[GIF]]-Bilder mit Transparenz. Das sind Bilder, bei denen schon während der Bildbearbeitung die Transparenten Flächen vorgewählt wurden. Meist geschieht dies, indem man in den Optionen beim Abspeichern festlegt, welche Farbe transparent werden soll. Das ändert sich aber von Programm zu Programm. In [[Gimp]] ist dies zB nicht möglich; da muss man vorher einen Alpha-Kanal festlegen, der dann als Transparenz gewählt wird. | + | In addition, Traffic [[GIF]] allows images with transparency. These are images in which the transparent surfaces were already selected during the image processing. This is usually done by specifying in the options when saving, which color should be transparent. But that changes from program to program. For example, in [[Gimp]] this is not possible; you have to set an alpha channel, which will then be chosen as transparency. |
- | Verwendet man im Traffic solche Modifikatoren, damit man Bilder vor anderen Bildern plazieren kann (zum Beispiel einen Wagen beladen - das Bild der Ladung über das Bild des Wagens legen -, oder Varianten einer Zeichnung herzustellen - nur Teile der originalen Zeichnung mit vorgelegten Bildern verändern) dann gibt es zwei unterschiedliche Arten von Transparenz. Eine heißt: das Ergebnis wird durchsichtig, die andere heißt: keine Änderung an der Stelle. Das kann man nur mit solchen Overlay-Bilder erreichen, die in TVL-Dateien gespeichert sind, und die die spezielle Eigeinschaft "Difference-Mode" besitzen. An Stelle von alten Pixel durchsichtige Pixel zu setzen geht mit den oben definierten Methoden. Für "Keine Änderung" werden Pixel mit dem [[RGB-Wert]] (123, 0, 123) verwendet. | + | If you use such modifiers in traffic so that you can place images in front of other images (for example load a car - put the image of the cargo over the image of the car - or make variants of a drawing - only change parts of the original drawing with submitted images) then there are two different types of transparency. One means: the result becomes transparent, the other is: no change in the position. This can only be achieved with such overlay images, which are stored in TVL files, and which have the special "Difference-Mode" community. To put transparent pixels in place of old pixels is done with the methods defined above. No change uses pixels with the [[RGB value]] (123, 0, 123). |