problems with alpha channel

vegetal

03-03-2006 14:22:42

This image is ok:



This image have the alpha channel problem:



And this have one big black problem :cry:



how do i fix this 2 problems?? what is causing than?

sorry my english :D

Lioric

04-03-2006 01:37:58

For the alpha blend issue, seems that you are using the inverted blend method, is your material an Ogre Material? if not, you should upgrade it to an Ogre Material and select the correct blend method and alpha value (128 will work most of the time) for the Pass

In the shadows issue, is this only present when shadows are active? what shadow technique are you using? if you use another shadow technique, is the issue still present?

Test it with only the house object in the scene, with the clear scene, select the object and click "Update Sel", is this issue still present?

In the second image, the shadows are right, but in the next image not, what is the scene difference between those images, as they are the same meshes

vegetal

05-03-2006 17:09:14

sorry for my english, here i go

For the alpha blend issue, seems that you are using the inverted blend method, is your material an Ogre Material? if not, you should upgrade it to an Ogre Material and select the correct blend method and alpha value (128 will work most of the time) for the Pass

i was trying to fix this issue in every way, i'm using the ogre material, the pass, and the tech. but some thing more strange have hapen 1 mesh if the same material aplyed, was not inverted, crazy stuff :D
almost forget, some times the planes elices of the windmill become invisibel in the front view and visible in the back view (inverted to).

In the shadows issue, is this only present when shadows are active? what shadow technique are you using? if you use another shadow technique, is the issue still present?
no, happens when shadows are off to, and with diferents objects, the windmill, or the desk etc...

Test it with only the house object in the scene, with the clear scene, select the object and click "Update Sel", is this issue still present?
if going clearing the scene and updading it, it happens again with or without the others objects


In the second image, the shadows are right, but in the next image not, what is the scene difference between those images, as they are the same meshes
yep thei are the same, i continue clearing the scene and updading her and the obeject become black

Paulov

06-06-2006 18:37:48

Que pasa vegetal...

Well, while searching for alpha related posts I´ve found your´s and seen that you are having similar problems to the ones I´ve had with balck appearing objets.

chek my post, it may help you.
http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=1354

Now I continue making test, I dont advise you to use the first metod since I´ll "override" the lighting in the scene, appearing always too bright, it may be nice for sunny scenes, but if you what to make a sunset scene it wont look fine.

About your alpha plant, eih, I should be as easy as inverting the alpha channel in photoshop, no?..

byeee

Nudel

06-06-2006 22:56:57

try to apply the xForm modifier on the house. i had a similar problem and it helped to fix it. ungroup it before.

Paulov

07-06-2006 09:26:48

oh yes, Nudel is right, I continued maknig test on this problem and X-form worked fine.