Welcome Guest [Log In] [Register]
We hope you enjoy your visit.


You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.

Join our community!

If you are already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Alpha Maps on textures
Topic Started: Oct 11 2008, 01:41 PM (229 Views)
Gompen
Advanced Member
[ *  *  * ]
can u3d use alpha maps for the textures (in this case the ones that are drawn on the hud)?
Isis Developer
Offline Profile Quote Post Goto Top
 
luenardi
Member Avatar
Cofee Machines Rock
[ *  *  *  *  *  * ]
Yes.
Png files
Edited by luenardi, Oct 11 2008, 01:44 PM.
Posted Image

For your perception no.
But my universe has no such limits.


www.recall.co.nr
Offline Profile Quote Post Goto Top
 
Gompen
Advanced Member
[ *  *  * ]
hmm i might i formulated it wrong.
I want to create a compas, but wil only text that scrolls across the screen, i have a texture that the text, Nw, N, Ne, you get it.. anyway i want it to scroll over the screen already gotten this to work, but i want to make the edges of the texture, slowly fade out.. instead of just being cut of.
that's why i wanted to know if i can add a alpha map to a texture i'm drawing on the hud

Attached to this post:
Attachments: 10370984.jpg (32.44 KB)
Isis Developer
Offline Profile Quote Post Goto Top
 
luenardi
Member Avatar
Cofee Machines Rock
[ *  *  *  *  *  * ]
You can still change the alpha setting
Posted Image

For your perception no.
But my universe has no such limits.


www.recall.co.nr
Offline Profile Quote Post Goto Top
 
Eansis
Member Avatar
ghost
[ *  *  *  *  *  * ]
Gompen
Oct 11 2008, 02:59 PM
hmm i might i formulated it wrong.
I want to create a compas, but wil only text that scrolls across the screen, i have a texture that the text, Nw, N, Ne, you get it.. anyway i want it to scroll over the screen already gotten this to work, but i want to make the edges of the texture, slowly fade out.. instead of just being cut of.
that's why i wanted to know if i can add a alpha map to a texture i'm drawing on the hud

Hmm, this is a bit tricky. I recommend trying it using text instead of textures.
Edited by Eansis, Oct 11 2008, 04:43 PM.
VOTE FOR BUDDY ROEMER HE'S A STRAIGHTFORWARD, DOWN TO EARTH AMERICAN GUY WHO ISN'T PART OF THE BIGBROTHER CONSPIRACY

Til'c
 
Things will not calm down Daniel Jackson. They will infact calm up.
Offline Profile Quote Post Goto Top
 
skarik
Member Avatar
kitten eating scum
[ *  *  *  *  *  * ]
I think we all know my solution.

What you can do is get your compass file and create a gradient that goes in and out, like the following:
Posted Image

Then, you use a shader that puts your text onto a render target with the text alpha multiplied by the rgb of the above image. Finally, you draw the RT onto the screen.

A way that's less work but less cool is draw each character separate with DrawText. That way, you can blend them in and out.
Blog|EHS
Offline Profile Quote Post Goto Top
 
ashrat3000
Member Avatar
u3d raytracer
[ *  *  *  *  *  * ]
Yeah, a shader would be easiest here.

그대를 사랑해


Offline Profile Quote Post Goto Top
 
Gompen
Advanced Member
[ *  *  * ]
I have actually no experience with shaders, does anyone know where i can find a tutorial or something to make me a little more ut to date on that part?
Isis Developer
Offline Profile Quote Post Goto Top
 
Glasser
Advanced Member
[ *  *  * ]
I think there is no need to use shaders, png files will be enough.
Offline Profile Quote Post Goto Top
 
Reikyrr
Forum God
[ *  *  *  *  *  * ]
shaders wil blow support for older videocards.
Just use a png!
~Inspirational quote~
Offline Profile Quote Post Goto Top
 
skarik
Member Avatar
kitten eating scum
[ *  *  *  *  *  * ]
roelor
Oct 12 2008, 03:52 PM
shaders wil blow support for older videocards.
Just use a png!
I'm just saying, that's hard since
A. You have to do all the frames
B. It's a non-static image
C. I'll get back to you on that one.

Quote:
 
Yeah, a shader would be easiest here.

Oh, and, not really.

Just use the text that fades out at the sides.
Blog|EHS
Offline Profile Quote Post Goto Top
 
ashrat3000
Member Avatar
u3d raytracer
[ *  *  *  *  *  * ]
Wouldn't you have to make a font for each different alpha value?
I think a shader would actually be more effective.
Plus, more fun, because once you have the shader set up you can use it on other things.

그대를 사랑해


Offline Profile Quote Post Goto Top
 
« Previous Topic · Questions about Ultimate 3D · Next Topic »
Add Reply