Search found 11 matches

by helmuthschmitz
Mon Apr 15, 2013 7:01 pm
Forum: Advanced Help
Topic: A way to combine texture alpha channel w/ vertex alpha?
Replies: 3
Views: 750

A way to combine texture alpha channel w/ vertex alpha?

I'm losing my mind trying to find a way to combine EMT_TRANSPARENT_ALPHA_CHANNEL with EMT_TRANSPARENT_VERTEX_ALPHA.

I want do draw a mesh with a texture with alpha channel but with a fade out covering all the mesh.

So, what can i do?

virtual void render()
{
u16 indices[] = { 0,2,3, 2,1,3, 1,0 ...
by helmuthschmitz
Mon Feb 28, 2011 1:11 pm
Forum: Advanced Help
Topic: Problem with alpha channel when rendering to ARGB texture
Replies: 12
Views: 2203

Hi bitplane.... thanks for replay again.

I think you right!

I will try your indication.

If i get some success, i will post here.

Thanks again
by helmuthschmitz
Fri Feb 18, 2011 5:51 pm
Forum: Advanced Help
Topic: Problem with alpha channel when rendering to ARGB texture
Replies: 12
Views: 2203

the hole image with no legends:

This is what iam seeing right now:

Image
by helmuthschmitz
Fri Feb 18, 2011 5:38 pm
Forum: Advanced Help
Topic: Problem with alpha channel when rendering to ARGB texture
Replies: 12
Views: 2203

hi Folks... just to help you understand better what i wrote above:

Image

Hope somebody can help me
by helmuthschmitz
Fri Feb 18, 2011 5:22 pm
Forum: Advanced Help
Topic: Problem with alpha channel when rendering to ARGB texture
Replies: 12
Views: 2203

Hi, bitplane, how are yoU?

I was almost killing my self when i have a simple idea.

Not to use EAS_VERTEX_COLOR and EAS_TEXTURE together anymore.

Change the alpha for hole texture "outside the irrlicht"
(this new texture has alpha 100 for each pixel) and
them draw texturing using just EAS_TEXTURE ...
by helmuthschmitz
Thu Feb 17, 2011 5:08 pm
Forum: Advanced Help
Topic: Problem with alpha channel when rendering to ARGB texture
Replies: 12
Views: 2203

Bear, i got same result with TGA. But, thanks for helping me anyway man.

Bitplane, you are right. What is killing me is vertex colours. Could you explain me better , what do you mean with "two stages" ?

Thanks for helping me again man.

Have a nice day
by helmuthschmitz
Wed Feb 16, 2011 7:52 pm
Forum: Advanced Help
Topic: Problem with alpha channel when rendering to ARGB texture
Replies: 12
Views: 2203

I´m still got NO SUCESS with this issue.

i have been tried every possible combination for pack_texureBlendFunc, but
the results are the same.

I cant see what really is going on
by helmuthschmitz
Wed Feb 16, 2011 11:53 am
Forum: Advanced Help
Topic: Problem with alpha channel when rendering to ARGB texture
Replies: 12
Views: 2203

Hi bitplane,

thanks for helping me. i change "draw2()" function code to:

void draw2()
{
video::S3DVertex vertices[4];

vertices[0].TCoords = core::vector2df(0.0f, 0.0f);
vertices[0].Pos = core::vector3df(200,100,0);

vertices[1].TCoords = core::vector2df(1.0f, 0.0f);
vertices[1].Pos ...
by helmuthschmitz
Tue Feb 15, 2011 4:51 pm
Forum: Advanced Help
Topic: Problem with alpha channel when rendering to ARGB texture
Replies: 12
Views: 2203

humm.... i think the images are missing....

i think the images i did post above are missing... so ...

i´m posting the links again:



http://piczasso.com/i/bumma.png
http://piczasso.com/i/pxzxl.png
http://piczasso.com/i/pl8m8.png

I hope somebody can help me.

:D
by helmuthschmitz
Tue Feb 15, 2011 4:03 pm
Forum: Advanced Help
Topic: Problem with alpha channel when rendering to ARGB texture
Replies: 12
Views: 2203

Problem with alpha channel when rendering to ARGB texture

Hi, first of all, sorry for my bad english. I will try to explain
my problem best i can.


I´m rendering all stuff to a ARGB texture using DirectX device:

//note i create a 1x1 window, cause all that i want is use the rendered texture in
//other application... so i dont need to see irrlicht ...