PNG Transperancy problems

General discussion about Celestia that doesn't fit into other forums.
Topic author
exadvent
Posts: 17
Joined: 26.06.2006
With us: 18 years 4 months

PNG Transperancy problems

Post #1by exadvent » 17.07.2006, 04:36

I am attempting to make a new overlay for Celestia-ED. I have a PNG image that will appear on the screen when overlay is enabled, but there are no transparent areas.

How is the transparent area defined?

Is there a specific RGB value needed for a transparent area?[/img]
System:
Windows: Windows XP5.1
Memory (RAM): 512 MB
CPU Info: AMD Athlon(tm) 64 Processor 3200+
CPU Speed: 783.3 MHz
Display Adapters: NVIDIA GeForce FX 5200

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #2by selden » 17.07.2006, 21:00

There's no need to post the same message more than once. If a response seems to be slow in coming, you just need to be patient. (I'll delete the other one.)

Transparency is controlled by the Alpha channel in the image file: RGBA = Red, Green Blue, Alpha. Think of it as an Opacity channel. You can use either a paint program or an image manipulation utility package like ImageMagick to create and insert the Alpha channel.
Selden

Topic author
exadvent
Posts: 17
Joined: 26.06.2006
With us: 18 years 4 months

Post #3by exadvent » 18.07.2006, 06:28

:oops: :oops: Sorry, new to the forum. Thought that I had posted to the wrong group and did not know how to move the post.
System:

Windows: Windows XP5.1

Memory (RAM): 512 MB

CPU Info: AMD Athlon(tm) 64 Processor 3200+

CPU Speed: 783.3 MHz

Display Adapters: NVIDIA GeForce FX 5200


Return to “Celestia Users”