Skip to main content

java3D gradient stepped shadows.

No replies
zachary1234
Offline
Joined: 2010-12-11
Points: 0

I am turning off the default java3d shadow spot to do interpolated, calulated shadows.

I have understood how to calculate and position a 3D shadow shape, and even how to have it transparent.

However, if I want a realistic shadow with curved or straight gradient stepping (as appropriate), I have a slight problem.

SE java contains the GradientPaint and RadialGradientPaint classes. However, they can only be used in 2D,

and don't automatically extend to 3D.

If I don't want to use static Textures and want an object and its shadow moving, is there a free for use GPL or similar

set of Shape3D gradient stepping classes?