CEG's got me beat - Page 2

CEG's got me beat

Share and discuss visual creations and creation practices like texturing, modelling and musing on the meaning of life.

Moderators: MR.D, Moderators

User avatar
SanadaUjiosan
Conflict Terra Developer
Posts: 907
Joined: 21 Jan 2010, 06:21

Re: CEG's got me beat

Post by SanadaUjiosan »

Knorke's right.

Our CEGs will probably just have to be stylistic in smooth edges and the shapes we use. Until the engine makes it possible (i bet it will never happen) we'll just have to make do.

Thanks a ton Forb for helping clear this up. Now I can move on.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: CEG's got me beat

Post by Forboding Angel »

Well I honestly thought it could be done. I was pretty surprised when I saw that black on pngs was seen as transparent. That's just weird :-/ Sorry
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: CEG's got me beat

Post by knorke »

make feature request on mantis.
(i would myself but havent tried it myself and cba to mess around with images)
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: CEG's got me beat

Post by rattle »

colormap = [[1 0.9 0 0.01 1 0.7 0 0.01 1 0.5 0 0.01]],
change the alpha value to 1, should fix the alpha blending issue that you have
frontoffset = 0,
change to a positive or negative value so the front muzzle matches with the side muzzle..
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: CEG's got me beat

Post by Forboding Angel »

But if alpha is 1, then there will be no transparency at all amirite? Resulting in a square picture with a lot of black in it?
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: CEG's got me beat

Post by jK »

no, the final alpha value is:

Code: Select all

 alpha = color.a * sprite.a
e.g. with 1 in the colormap:

Code: Select all

 alpha = 1 * sprite.a = sprite.a
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: CEG's got me beat

Post by rattle »

which means you will have the texture alpha but no additive blending as in colors being added together which is why there is no black

Image
User avatar
SanadaUjiosan
Conflict Terra Developer
Posts: 907
Joined: 21 Jan 2010, 06:21

Re: CEG's got me beat

Post by SanadaUjiosan »

Alright, the combination of Rattle's advice with Forb's impromptu image-fixing resulted in what I want. Awesome guys!

Now, Forb, how did you make that image work? You can PM me, or try me in the lobby, although I predict I won't be available much today. I use PS CS4 if that helps.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: CEG's got me beat

Post by Forboding Angel »

hehe silly :-)

Copied image from forums
Put into photoshop
Color range select white (100 feather)
copy result into a new smaller image (for some reason the original had a ton of whitespace)
Save image as png
Upload to ftp
Post on forums
Attempt to look like a hero
Profit.

Basically, I just converted it to a transparent png and removed the white + whitespace. Using anything other than png with the engine is pretty silly. Png is by far the most versatile (looks the best too) format we have access to.
User avatar
SanadaUjiosan
Conflict Terra Developer
Posts: 907
Joined: 21 Jan 2010, 06:21

Re: CEG's got me beat

Post by SanadaUjiosan »

Sounds pretty easy. Maybe that Alpha value in the .lua is what screwed over my previous attempts. I am the King of Doing it Wrong.

I would love all of our image files to be .png, but the tutorial we used for texturing used .tga and its what we learned. Converting to .png is a goal, but probably a far-off one due to the work involved and the fact of learning that process.
User avatar
MidKnight
Posts: 2652
Joined: 10 Sep 2008, 03:11

Re: CEG's got me beat

Post by MidKnight »

SanadaUjiosan wrote:I am the King of Doing it Wrong.
No. I am.

Is this a coup d'etat?
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: CEG's got me beat

Post by FLOZi »

dds.
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10454
Joined: 24 Jan 2006, 21:12

Re: CEG's got me beat

Post by PicassoCT »

dds
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: CEG's got me beat

Post by Hoi »

ds
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: CEG's got me beat

Post by smoth »

Double dees
User avatar
MidKnight
Posts: 2652
Joined: 10 Sep 2008, 03:11

Re: CEG's got me beat

Post by MidKnight »

dds|zbb
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: CEG's got me beat

Post by Forboding Angel »

Dds is fail for so many reasons.
Hey I want to edit my... Aww fuck. :-(
Use png.
User avatar
SanadaUjiosan
Conflict Terra Developer
Posts: 907
Joined: 21 Jan 2010, 06:21

Re: CEG's got me beat

Post by SanadaUjiosan »

smoth wrote:Double dees
Image

Our goal is still png, I tampered with .dds once, but I don't feel like sitting and sniping the level of compression we'd need for our textures to look good.
User avatar
MidKnight
Posts: 2652
Joined: 10 Sep 2008, 03:11

Re: CEG's got me beat

Post by MidKnight »

SanadaUjiosan wrote:
smoth wrote:Double dees
Image

Our goal is still png, I tampered with .dds once, but I don't feel like sitting and sniping the level of compression we'd need for our textures to look good.
Image
Use a real image host, Sockhead, so we don't get hotlinking errors!
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: CEG's got me beat

Post by Forboding Angel »

Tripod still exists? When I was 16 tripod and geoshitties was cool. 12 years later, not so much.

Edit: ahha oh wow, I guess make that 13 years later. I forgot that my bday is this sunday :-)
Post Reply

Return to “Art & Modelling”