Nice work, congratulations. I've already had a look on the code. But why do
you say that "* Switch does not work on transparent models under OpenGL" ?
I'm pretty sure that switches work ok with transparent models, since I'm
successfully using them, just check the "Car" model in
http://jdraw3d.herinean.com All the lego bricks are grouped under one single
switch. On your machine it's not working ???

Cheers,

Florin

-----Ursprüngliche Nachricht-----
Von: Alessandro Borges [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 10. März 2003 04:56
An: [EMAIL PROTECTED]
Betreff: [JAVA3D] A working dot3 Bump Demo


Hi,

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".

==========================================================================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".

Reply via email to