I spend some time, and I finnaly could finish the new version of my dot3 Bump Map. Demo, code, coments & bugs here: http://www.cpm2002.hpg.ig.com.br/alessandro/bump/bump.html
The good: * I finnaly discover how to build light and normal maps ;-) ; * I've found SPHERE_MAP texCoordGeneration helps a lot to "highlight" models with dot3 bumpMap; * I could apply, in OpenGL, a color texture over the bump map model, by using another shape over the shape with bumps; * Dot3 & bumps works ;-)
The bad:
* Switch doesnot work on transparent models under OpenGL (I guess this is on the bug parade); * DirectX doesnot accept a transparent model just over a model with dot3 bump map (see link above). Seens D3D trys to multitexture all the models, and fails with combine, at least with my 2 texture unit's GForce2;
The evil (any coment is very welcome): * Could anyone please tell me how can I apply a blended transparency multiply? Something like BlendFunc(DST_COLOR, ZERO) ? I am using Blend (ONE, ONE) , a add between the textures, but I need a multiply...; * I need more time to learn how to use light map with CubeMap..., this seens the more realistic way to have good bump shadows; * build light maps is not so easy as they say...
Alessandro Borges
P.S: Artur, any NVSDK looks alike is not coincidence...
_______________________________________________________________________ Busca Yahoo! O serviço de busca mais completo da Internet. O que você pensar o Yahoo! encontra. http://br.busca.yahoo.com/
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
