Hi

> One of my current problems is the generation of shadows. I know about
> dynamic shadow maps, and about the trick published by Roettger, Iron and
> Ertel on using the Alpha buffer in the absence of a stencil buffer (as is

Wow someone actually is reading WSCG papers :) [Well actually it should be
Iron, Roettger and Ertl] As Iron was a student from Roettger who actually
came to the idea.

> the case in Java3D). Problem is, this method is computationally intensive
> and introduces a lot of workaround code when implemented in Java3D. I'm

Yep better forget that, shadow volumes are crap anyway. I tried starting
to implement Heidrich's shadowmap idea which uses simple combiners.
But somehow something seemed to get screwed up with alpha. Hadn't time to
check this up. Oh so many unfinished works (shadow, anisotropic lighting,
toon shading). I hope I get arround these things in the near future.

> happens ... borders disappear in that case, so I'm pretty sure bumpmapping
> is causing the problems. Any ideas on this?

Yes that might be because of your normal map you're using. As you normaly
generate a normal map from a image by using a pseudo difference gradient
on the border-pixels you likely will see this effect because you can't
build a difference at the last pixel (only with wrap arround which would
look very strange in many cases). I would recommend to use the same value
you calculated  for the pixel border-1. Maybe this will eliminate the
border you will see because it will have the same "normal value".

EOF,
 J.D.

--
Explore SRT with the help of Java3D
(http://wwwvis.informatik.uni-stuttgart.de/relativity/minkowski)
(http://www.antiflash.net/java3d/relativity (mirror)

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