Author Topic: Question about planets, alpha and all that  (Read 1796 times)

0 Members and 1 Guest are viewing this topic.

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Question about planets, alpha and all that


As you can see, the black around the planets isn't being alpha filtered (so to speak), it becomes more obvious the more you scale them up, I tried several thingies and for a moment figured I actually had it fixed (when I saved them as DTX3 instead of DTX1) but apparantly I am still doing something wrong.
I saved them as DTX3 (DTX5 screws em up) .dds
.TGA doesn't show up at all
.JPG seems like a really bad idea.
Could someone explain to me what I am doing wrong?
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 
Re: Question about planets, alpha and all that
You'll want to cut the black edges off the image, then save as DXT5. Be sure to save as the proper DXT5, not the normal map variant.
What tool are you using for DDS conversions?

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: Question about planets, alpha and all that
You'll want to cut the black edges off the image, then save as DXT5. Be sure to save as the proper DXT5, not the normal map variant.
What tool are you using for DDS conversions?
Manually editing the black edges off is not desirable and surely there is a better way for that.
DTX5 gives me this:


using the nvidia plugin for photoshop
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 
Re: Question about planets, alpha and all that
If you don't have the planets on a transparent background, you'll have to cut the black off manually.

And, that's pretty weird. Try saving your image as TGA instead, then test it in FRED or in-game; if it won't work as TGA, there's very little chance it will work as DDS.
If it works as TGA, try converting it to DDS with nvDXT. That's probably the most reliable tool available.
If it doesn't work as TGA, there's something seriously wrong.

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: Question about planets, alpha and all that
While the DTX5 thing still confuses me,  I managed to find a way around the whole issue
I was just being stupid again.

topic solved, nothing to see here anymore, move along.
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
Re: Question about planets, alpha and all that
Don't save on DTX5, use DTX3 and for .DDS formats you should replace the back surroundings with an alpha channel (transparency).
el hombre vicio...

 
Re: Question about planets, alpha and all that
DXT3 compression has only a four-bit alpha channel, as opposed to DXT5 with 8-bit. If you have the planet atmosphere transparent on a black background, or if you have no atmosphere at all: fine. If you have a fading-to-alpha quality atmosphere, use DXT5.

And, Spoon, what was the mistake? Others may benefit from the solution.

 

Offline Getter Robo G

  • 211
  • Elite Super Robot Pilot
Re: Question about planets, alpha and all that
In this community information is ammunition, "can you spare a clip brother?"

By posting the solution you found to your problem you increase the knowledge base of the community members who might run into the same problem on their own.


We really need to stick this little caveat into the READ ME STICKIES for the forum!
"Don't think of it as being out-numbered, think of it as having a WIDE target selection!"

"I am the one and ONLY Star Dragon..."
Proof for the noobs:  Member Search

[I'm Just an idea guy, NOT: a modeler, texturer, or coder... Word of advice, "Watch out for the ducks!"]

Robotech II - Continuing...
FS2 Trek - Snails move faster than me...
Star Blazers: Journey to Iscandar...
FS GUNDAM - The Myth lives on... :)

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: Question about planets, alpha and all that
Bah, didn't I told you people to move along?
instead you must insist that I tell my mistake which will only make me look (more) stupid in the progress, you heartless bastards you!  :p

I am using the Lunarcell plugin for photoshop (after doing a forum search here on planets, found a thread made in 2005 or so talking about it) which is great. It fills the background with black however. I figured this wasn't a problem and that freespace would make the black transparant if only I picked the right compression method. Then I started messing around from there, being completely on the wrong trail while the answer I was looking for was so close by. I merely had to put the 'map mode' in lunarcell to composite instead of normal.

Why DXT5 compression is giving me such a messed up result remains a mystery.
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

  

Offline chief1983

  • Still lacks a custom title
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Question about planets, alpha and all that
Can you post the .png or .tga of the original image and I can try to make a good DXT5 version?
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays