View topic - Models



All times are UTC + 1 hour


Post new topic Reply to topic  [ 191 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9, 10  Next
Author Message
 Post subject:
PostPosted: 30 Nov 2005, 07:13 

Joined: 08 Jun 2005, 10:10
Location: Unified-State Republic Indonesia
really ? :shock:
(waiting zaphod for explanation)....
Any sample object and screenshot ? (in upspring and ingame)... that helps


Top
 Offline Profile  
 
 Post subject:
PostPosted: 30 Nov 2005, 09:10 
User avatar

Joined: 20 Aug 2004, 04:27
Location: Canada
I've got armpw.bmp and armpw_s.bmp in basically all the locations I could think of: ./Objects3d, ./UnitTextures, ./UnitTextures/tatex

Images:

http://www.unituniverse.com/wolfy/blue_syndrome.gif
http://www.unituniverse.com/wolfy/pw_upspring.gif


Top
 Offline Profile  
 
 Post subject:
PostPosted: 30 Nov 2005, 10:01 
User avatar

Joined: 28 Apr 2005, 18:29
Location: Netherlands
i got a s3o feature with texture in the game... i put texture1 and texture2 into /unittextures

image


Top
 Offline Profile  
 
 Post subject:
PostPosted: 30 Nov 2005, 11:54 
User avatar

Joined: 05 Jun 2005, 18:13
Location: NL
Currently, more=alpha (or opacity in most image editors) = more teamcolor. This is not a very convenient situation, but it works and is supported in 0.67b1... so let's use it (as opposed to changing it and doing another release).

This means that to have no teamcolor you need to make your texture invisible in the image editor.

Like noize says, s3o textures go in unittextures directory.

If you want to be sure about having an alpha layer, use the DDS format. There are quite a few DDS converters around on the web I think...

[plug] Upspring 1.0 is avaiable for anyone who didn't know already...


Top
 Offline Profile  
 
 Post subject:
PostPosted: 30 Nov 2005, 13:05 

Joined: 08 Jun 2005, 10:10
Location: Unified-State Republic Indonesia
so if I use jpg, bmp, tga etc it all be bluish ?
zaphod, any other format that work with it other than dds ?
also any link to any .dds converter (freeware) ?

gotta add it to the spring manual


Top
 Offline Profile  
 
 Post subject:
PostPosted: 30 Nov 2005, 13:07 
Classic Community Lead
User avatar

Joined: 12 Aug 2005, 08:29
Location: CANAYDEEEAH!
Zaphod wrote:
Currently, more=alpha (or opacity in most image editors) = more teamcolor. This is not a very convenient situation, but it works and is supported in 0.67b1... so let's use it (as opposed to changing it and doing another release).

This means that to have no teamcolor you need to make your texture invisible in the image editor.

Like noize says, s3o textures go in unittextures directory.

If you want to be sure about having an alpha layer, use the DDS format. There are quite a few DDS converters around on the web I think...

[plug] Upspring 1.0 is avaiable for anyone who didn't know already...

Ugg... That's really a poor solution. It would be much more logical to change it quick before any really good models are out. It's not a huge hassle to change over from broken s3o to fixed s3o, but I can guarentee that the backwards system will be alot of headaches to texturers.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 30 Nov 2005, 14:28 
User avatar

Joined: 30 Apr 2005, 00:10
Location: Fort Sill, OK, USA
Noooo!, FU is offline, I can't download...whhhyyy???


Top
 Offline Profile  
 
 Post subject:
PostPosted: 30 Nov 2005, 16:40 
User avatar

Joined: 17 Aug 2005, 10:42
Location: Alshain
so... from Zaphod's post I'm getting the understanding that because these other people do not have an alpha layer, the Spring engine is defaulting to 100% team color? Maybe having it the other way around would be better.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 30 Nov 2005, 17:11 
Moderator
User avatar

Joined: 07 Jul 2005, 20:15
Location: Lost... in one of his own maps
I think it is important to use a format that supports transparency, so bmp and jpg are out, png and dds are ok.

To get a UV map texture working using PSP if you dont want team colour to show.

Create your texture. Save a reference copy with all your layers if you use them so you can go back and edit things later.

Merge all your layers if you used layers.

Flip you texture vertically.

Set the layer transparency/opacity to 1.

For me 0 (completely transparent gives a black texture). 255 is the same as no transparency and gives a blue texture.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 30 Nov 2005, 17:25 
User avatar

Joined: 05 Jun 2005, 18:13
Location: NL
Quote:
so... from Zaphod's post I'm getting the understanding that because these other people do not have an alpha layer, the Spring engine is defaulting to 100% team color? Maybe having it the other way around would be better.

Yes, but the current way works too AND doesn't require a new release. It's also not a very big deal if you know what's happening (And everyone knows that now I hope). Edit your texture normally and invert the alpha channel once you're done with it.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 30 Nov 2005, 18:00 
User avatar

Joined: 17 Aug 2005, 10:42
Location: Alshain
okay, that's all well and good now, but can someone still please upload a .s3o to FU or something? it's not like I'm going to steal it or anything, I'd just like to see what a finished product looks like.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 30 Nov 2005, 18:53 
User avatar

Joined: 20 Aug 2004, 04:27
Location: Canada
I've still got blue, been trying all sorts of alpha things, no change.

So I decided to just upload it, see if anyone else can fix it :P

http://www.unituniverse.com/wolfy/armpw.rar

That's the original dds texture, so it's not vertical flipped and has the alpha chan as it should be if it were working as expected... I think. Also don't mind the armpw_s.dds thats just for testing (originally thought it had the team color info).


Top
 Offline Profile  
 
 Post subject:
PostPosted: 30 Nov 2005, 19:28 
Site Admin

Joined: 13 Aug 2004, 16:13
Do you have an valid alpha channel in the first texture ? Otherwise it will probably be fully team colored (test it with a non blue team and see what happens).


Top
 Offline Profile  
 
 Post subject:
PostPosted: 30 Nov 2005, 19:29 
User avatar

Joined: 05 Jun 2005, 18:13
Location: NL
I was pretty clueless either, so I tried to find out what the difference was between working test textures from Yeha and yours, and it's mipmaps!

You have to make sure mipmaps are saved in the DDS file. I tested it and your model will show up perfect.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 30 Nov 2005, 20:07 
User avatar

Joined: 20 Aug 2004, 04:27
Location: Canada
Oh sweet there we go :D

I didn't know there was a working dds I could compare with, that would have saved me some time heh.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 01 Dec 2005, 03:04 

Joined: 08 Jun 2005, 10:10
Location: Unified-State Republic Indonesia
hi zaphod, what software do u use to save as .dds (direct draw surface ?)
can photoshop or paintshop pro doing it properly ?
any other format that support alpha and supported by taspring ?


Top
 Offline Profile  
 
 Post subject:
PostPosted: 01 Dec 2005, 04:26 
Classic Community Lead
User avatar

Joined: 12 Aug 2005, 08:29
Location: CANAYDEEEAH!
I'm still going to complain about the team color thing because it's really counter intuitive to textureing. I can't really invision how I would even go about properly painting a team color texture right now, I don't think gimp even has an "oy, flip alpha!" function. Set up the other way I could just add a background color for team (say blue) and then paint the texture ontop of it and the texture would look exactly what it would look like in game. It would make painting partially teamcolored textures with grunge and stuff on the front really easy. It's going to be a huge frigging hassle trying to paint partial alpha sections on textures with the current set up. Image manip programs are set up to erase to alpha, not fill to alpha and leave all the erased parts fully visable.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 01 Dec 2005, 15:06 
Map Creator
User avatar

Joined: 12 Jan 2005, 10:25
Location: Still signing off after all these years
You sure not not confussing your alpha and your transparency?? In photoshop if you add an Alpha channel, you jsut paint on it (it comes out red, but it means this is alpha that aint). And Im preety sure you can invert the channel if you want to, its just like any other channel.
Actully errasing stuff with teh errasor is littraly removing it from teh image, not giving it an alpha value.

aGorm


Top
 Offline Profile  
 
 Post subject:
PostPosted: 01 Dec 2005, 18:58 
User avatar

Joined: 05 Jun 2005, 18:13
Location: NL
I have uploaded the DirectX texture tool from the sdk to FU. I hope none of the FU admins have a problem with this... It's included in the free DX9 sdk, so people can always download that but it's a lot bigger.

http://www.fileuniverse.com/?p=showitem&ID=1908

It takes an awful lot of messing around to get alpha stuff working. In PSP7 for example, it has an alpha channel but doesn't list it as a channel :S
Eventually I got a simple texture working though.

It's quite easy to flip the alpha layer though, most of the editors can make a "Mask" layer and flip it using the normal invert function (like agorm said), then save it to the alpha channel.

Btw, if anyone is going to use the DX texture tool, be sure to use "Load Onto Alpha Channel Of This Texture" and not "Load Onto Alpha Channel Of This Surface". The last one doesn't work.


And make sure you generate mipmaps.


Top
 Offline Profile  
 
 Post subject:
PostPosted: 01 Dec 2005, 19:00 
User avatar

Joined: 23 Oct 2004, 00:43
aGorm wrote:
You sure not not confussing your alpha and your transparency?? In photoshop if you add an Alpha channel, you jsut paint on it (it comes out red, but it means this is alpha that aint). And Im preety sure you can invert the channel if you want to, its just like any other channel.
Actully errasing stuff with teh errasor is littraly removing it from teh image, not giving it an alpha value.

aGorm


Umm, traditionally alpha is transparency. Just because Photoshop lives in some imaginary world where it isn't doesn't make it so. The fact that Photoshop makes the transparency channel harder to nail down than a stick of butter on a hot frying pan is one of hte most frustrating things I've ever seen.


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 191 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9, 10  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: Google Feedfetcher and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.