3rd Party Models/Media Chat / transparacy and plants help needed

Author
Message
HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 12th Feb 2014 20:28
I am trying to make some plants, but i can get the transparacy correct.

See attached picture.



I make the background black. rgb 0,0,0 but in the game engine you still see some black, but not in photoshop.

What am i doing wrong???



Please help



Gr

Harry

Harry
PM
HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 12th Feb 2014 20:53
And this is what i get as i save in dds format.dxt1 4bpp no alpha.

Harry
PM
Spotaru
Game Guru Backer
12
Years of Service
User Offline
Joined: 6th Nov 2012
Location:
Posted: 12th Feb 2014 21:18 Edited at: 12th Feb 2014 21:22
I save my alpha textures as dxt5. For some reason dxt1 with alpha doesn't seem to work. Or save it as png and reloaded will automaticly make the dxt1 with alpha dds for you. Funny I can't get my own dxt1 to work tho. Quality isn't quite as good either. But still good.



Spot





Edit: Look like antialiasing problem in photoshop on the 1st picture. Is usually white for me tho. Anyway try contracting the alpha chanel by a pixel or two.
TattieBoJangle
10
Years of Service
User Offline
Joined: 7th Jan 2014
Location: United Kingdom
Posted: 12th Feb 2014 22:01
Have the same problem looks ok in 3d max import it to the game and its solid exported to another engine and its ok so im stumped with this one funny thing is glass works ok :/

HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 12th Feb 2014 22:17
If i export as dxt5 the plant turns white!!!





Gr

Harry
PM
TattieBoJangle
10
Years of Service
User Offline
Joined: 7th Jan 2014
Location: United Kingdom
Posted: 12th Feb 2014 22:20
HarryWever can you upload it and ill see if i can fix it

Spotaru
Game Guru Backer
12
Years of Service
User Offline
Joined: 6th Nov 2012
Location:
Posted: 12th Feb 2014 22:24
the plant is white? As in no texture? Or is it just the background around it is white? on dxt5
HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 12th Feb 2014 22:37 Edited at: 12th Feb 2014 22:56
No the plant turns white in the engine.

The background is transparant and oke

Harry
PM
HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 12th Feb 2014 23:00
here is the plant in jpg

Harry
PM
Spotaru
Game Guru Backer
12
Years of Service
User Offline
Joined: 6th Nov 2012
Location:
Posted: 12th Feb 2014 23:01 Edited at: 12th Feb 2014 23:16
No clue what's wrong there



I don't use photoshop so can't really help you there.

One thing, I always start with a fully transparent background. Some softwares have issues with layers so merging or flattening can help sometimes. You can try inverting the alpha channel. I can't say without actually seeing it and testing.



Here is a simple plant you can check out to see if it may help you get it figured out.





Edit: missed the pic of the plant. If you are trying to make that image into a plant, select the black part and paste it into an alpha channel. Then expand or contract, don't remember, to make the area you "DO" want to see pixel or two smaller. Then invert the selection so you have the area you "Do" want to see selected. Then dump white into that selection. save it out as your dds. Then open it right back up to make sure that alpha channel is "Still" there. gimp sometimes forgets all about that channel on export. I hope you get it figured out. OR someone with way better explanation skills helps out
TattieBoJangle
10
Years of Service
User Offline
Joined: 7th Jan 2014
Location: United Kingdom
Posted: 12th Feb 2014 23:10
The problem is with the image it is very low quality i removed the black and you can see why you have got that in the test game also the size is a problem textures are better when they are multiple of four your image is 507x506 try and have textures 512x512 or above

HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 12th Feb 2014 23:17
Oke i will look into it.

Many thanks for the info TattieBojangle.



Gr

Harry

Harry
PM
Uman
GameGuru TGC Backer
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location:
Posted: 13th Feb 2014 16:34
Harry,



Try the attached image.



.dds DTX1 with transparent background. 512x512 pixels.



Best I can do to help. No idea if it will be OK or will work for you.



Uman
GameGuru TGC Backer
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location:
Posted: 13th Feb 2014 16:39
Heres a jpeg showing it in PAINT.Net - don't use this in Reloaded of course its just a jepg showing what it should look like.



HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 13th Feb 2014 16:52
Thanks Uman,

This one works great.



See photo

Many thanks.



Gr

Harry
PM
HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 13th Feb 2014 17:00
Youre bush looks great spotaru.



Nice work





Gr

Harry
PM
Uman
GameGuru TGC Backer
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location:
Posted: 13th Feb 2014 17:29
Hi Harry,



Yes that looks better
TattieBoJangle
10
Years of Service
User Offline
Joined: 7th Jan 2014
Location: United Kingdom
Posted: 13th Feb 2014 18:08
Nice job Uman i didn't have the time to do it

Spotaru
Game Guru Backer
12
Years of Service
User Offline
Joined: 6th Nov 2012
Location:
Posted: 14th Feb 2014 03:17
Thanks Uman. I didn't have time to demonstrate it either.



@TattieBojangle

Yes that pic is far too low in quality and resolution to get good results.



@Harry



Thanks. Not sure that one is really mine. I think it was just a pic I downloaded. If so, I don't remember where to even go to check on license so don't use it, just learn from it. And sorry I couldn't be of more help.
HarryWever
3D Media Maker
14
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 14th Feb 2014 10:22
HI,



This one is with a higher resolution.

It looks nice now.

I started with a transparant background, and after removing the background i save it as a png file.



Thanks for all the help.



Gr

Harry
PM
Emrys
11
Years of Service
User Offline
Joined: 4th Nov 2013
Location: UK
Posted: 14th Feb 2014 10:28
Very cool Harry ! good work

PM
TattieBoJangle
10
Years of Service
User Offline
Joined: 7th Jan 2014
Location: United Kingdom
Posted: 14th Feb 2014 11:39
Much better

Login to post a reply

Server time is: 2024-11-21 16:56:51
Your offset time is: 2024-11-21 16:56:51