[JAVA3D] Can J3D bump/normal map?

2004-04-12 Thread Mark McKay
I was wondering if J3D was capable of bump mapping (in browsing the archives, I saw hints that bump, normal and reflection mapping was possible, but no instructions on how to actually do this). Is this possible? Mark McKay -- http://www.kitfox.com

Re: [JAVA3D] Can J3D bump/normal map?

2004-04-12 Thread Paul Gordon
Hi Mark, Bump mapping can be acheived using DOT3 texture combine mode, but unfortunately there is a bug with multi-layer texturing that I haven't been able to circumvent yet, so you can't bumpmap something that already has a texture on it. Hopefully when the source is released we can fix this

Re: [JAVA3D] Can J3D bump/normal map?

2004-04-12 Thread Mark McKay
Paul Gordon wrote: Hi Mark, Bump mapping can be acheived using DOT3 texture combine mode, but unfortunately there is a bug with multi-layer texturing that I haven't been able to circumvent yet, so you can't bumpmap something that already has a texture on it. Hopefully when the source is

Re: [JAVA3D] Can J3D bump/normal map?

2004-04-12 Thread Paul Gordon
Fair enough. What about normal mapping (ie, an RGB image where pixels represent a normal vector at a a given texture coordinate)? This strikes me as an extremely useful feature which is starting to get wide usage. Ah yes, this is in fact what I am describing. The program is fed a graphic where

Re: [JAVA3D] Can J3D bump/normal map?

2004-04-12 Thread Mark McKay
Paul Gordon wrote: Fair enough. What about normal mapping (ie, an RGB image where pixels represent a normal vector at a a given texture coordinate)? This strikes me as an extremely useful feature which is starting to get wide usage. Ah yes, this is in fact what I am describing. The program

Re: [JAVA3D] Can J3D bump/normal map?

2004-04-12 Thread Alessandro Borges
Hi, I have a running demo of DOT3 Mapping here: http://planeta.terra.com.br/educacao/alessandroborges/java3d.html To have it working you must have a Dot3 capable video card and at least 2 texture pipelines. Anything equals or better than a GForce2 MX or Radeon Alessandro Borges --- Mark