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 » Tue Oct 13, 2009 2:41 pm

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 » Tue Oct 13, 2009 4:18 pm

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 » Tue Oct 13, 2009 6:42 pm

ok heres the file
Attachments
blood.jpg
blood.jpg (4.17 KiB) Viewed 1669 times

User avatar
Zidane
Posts: 153
Joined: Mon Feb 11, 2008 1:21 am
Location: Spain

Re: Decal problem

Post by Zidane » Tue Oct 13, 2009 9:10 pm

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 » Tue Oct 13, 2009 9:46 pm

heres the alpha
Attachments
a_blood.jpg
a_blood.jpg (1.61 KiB) Viewed 1657 times

User avatar
Zidane
Posts: 153
Joined: Mon Feb 11, 2008 1:21 am
Location: Spain

Re: Decal problem

Post by Zidane » Tue Oct 13, 2009 9:50 pm

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 » Tue Oct 13, 2009 10:00 pm

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 » Tue Oct 13, 2009 10:03 pm

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 » Tue Oct 13, 2009 11:00 pm

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 » Wed Oct 14, 2009 9:00 pm

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 » Wed Oct 14, 2009 10:54 pm

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