shadows for obects

Jan 5, 2012 at 7:45 PM


   Is there an easy way to add a shadow for all objects within a helixviewport3d?  I added a dropshadow effect, which is what I'm going for, but that doesn't change when I rotate the objects inside relative to the light source.  (So that it would grow and shrink depending on where the objects were in the scene.)  I understand that this could be a costly function, but was looking for a solution.  If this doesn't exist, then I'd like to add it as a feature request.

Thanks!!  Great work!

Jan 5, 2012 at 8:41 PM

I don't think it is possible to create shadows as in opengl/directx (using shaders or stencil buffers) with wpf, if this is important I think you should choose another platform than wpf3d... (xna?)

Jan 5, 2012 at 8:47 PM

Thanks for the fast reply and useful info!!  This isn't critical, I was just looking for some eye candy for a program I'm writing.  It's for work and instead of using pop-ups it uses sides of a 3d cube using a helixviewport3d with 6 viewport2dvisual3d's.  I was just looking for an easy way to add some cool shadows for use during the animations when rotating from side to side.