Decal problem

Post topics regarding Level Building/Design and Entity Usage with Reality Factory
Post Reply
User avatar
jamieo01
Posts: 81
Joined: Fri Jan 16, 2009 2:14 pm
Location: England
Contact:

Decal problem

Post by jamieo01 »

I know this is a noobish question but i am having problems with a decal i've made I can place it on the wall but the problem is it has a white boarder around it is there any way i can get rid of it
Image
another problem is that when I shoot the decal it goes behind the decal
any help is appreciated.
User avatar
jonas
Posts: 779
Joined: Tue Jul 05, 2005 5:43 pm
Location: Texas, USA
Contact:

Re: Decal problem

Post by jonas »

Could you possibly post the image you are trying to use? I have a feeling it has something to do with not having the correct transparency.
Jonas

Focused, hard work is the real key to success. Keep your eyes on the goal, and just keep taking the next step towards completing it. If you aren't sure which way to do something, do it both ways and see which works better. - John Carmack
User avatar
jamieo01
Posts: 81
Joined: Fri Jan 16, 2009 2:14 pm
Location: England
Contact:

Re: Decal problem

Post by jamieo01 »

ok heres the file
Attachments
blood.jpg
blood.jpg (4.17 KiB) Viewed 2291 times
User avatar
Zidane
Posts: 153
Joined: Mon Feb 11, 2008 1:21 am
Location: Spain

Re: Decal problem

Post by Zidane »

The alpha bitmap ...
User avatar
jamieo01
Posts: 81
Joined: Fri Jan 16, 2009 2:14 pm
Location: England
Contact:

Re: Decal problem

Post by jamieo01 »

heres the alpha
Attachments
a_blood.jpg
a_blood.jpg (1.61 KiB) Viewed 2279 times
User avatar
Zidane
Posts: 153
Joined: Mon Feb 11, 2008 1:21 am
Location: Spain

Re: Decal problem

Post by Zidane »

Is a bad alpha bitmap
User avatar
jamieo01
Posts: 81
Joined: Fri Jan 16, 2009 2:14 pm
Location: England
Contact:

Re: Decal problem

Post by jamieo01 »

how do i make a better alpha map
User avatar
jonas
Posts: 779
Joined: Tue Jul 05, 2005 5:43 pm
Location: Texas, USA
Contact:

Re: Decal problem

Post by jonas »

If you haven't already I would recommend looking at the ebook. It kind of explains some of the alpha image stuff. I think around page 170(pdf page not the page number in the corner) it talks about decals.

Basiclly you need to take a copy of your current image and convert it to black and white. Take a look at some of the images that already have transparency working. As you'll see its in black and white. I can't remember which is which, But I think the area that is colored white on the image will show up. But the area colored black will be transparent. So you'll want to make sure the blood spot is white, then the rest of the image is black.
Zidane wrote:Is a bad alpha bitmap
Try a little more detail next time :P
Jonas

Focused, hard work is the real key to success. Keep your eyes on the goal, and just keep taking the next step towards completing it. If you aren't sure which way to do something, do it both ways and see which works better. - John Carmack
User avatar
jamieo01
Posts: 81
Joined: Fri Jan 16, 2009 2:14 pm
Location: England
Contact:

Re: Decal problem

Post by jamieo01 »

Thanks for your help jonas it now works
User avatar
paradoxnj
RF2 Dev Team
Posts: 1328
Joined: Wed Mar 01, 2006 7:37 pm
Location: Brick, NJ
Contact:

Re: Decal problem

Post by paradoxnj »

You could just convert the image you have to greyscale. That is usually how alpha is created.
Many Bothans died to bring you this signature....
User avatar
jonas
Posts: 779
Joined: Tue Jul 05, 2005 5:43 pm
Location: Texas, USA
Contact:

Re: Decal problem

Post by jonas »

That would especially work since its 2 solid colors. I didn't think of that. Been too long since i've done most of this stuff. :lol:
Jonas

Focused, hard work is the real key to success. Keep your eyes on the goal, and just keep taking the next step towards completing it. If you aren't sure which way to do something, do it both ways and see which works better. - John Carmack
Post Reply