Shadows ?

Can someone shed some light on shadows? Are they working now and if there are any plans to fix them?

Shadows worked at one time, see http://www.cokeandcode.com/node/341 They have been broken for awhile, not due to recent fixes/modifications. There is an Options for it, see http://xith.org/tutes/GettingStarted/html/using_renderoptions.html

It uses occulders and as I understand it only handled one fixed in space light at a certain distance out. I really want to investigate it but have been side tracked. The author at codeandcode.com may have source available for reference

I hope someone who knows Xith3d code can fix them. Can fixing shadows be added to the list for improvement requests? I would think shadows are quite important in any application of Xith3d.

As the “author at cokeandcode” I can tell you that version of Martian Madness (2) didn’t use Xtih3D - it’s not example of shadows working in Xith3D. The last example I remember seeing was the simple tank model shadowing itself - I think that used volumes rather than the shadow mapping that seems to be much more popular these days.

The screenshot you linked to was my own implementation of shadow mapping in OpenGL for very low end cards :slight_smile: (no depth textures, no FBOs)

Kev

I agree.

kev, you worked with Xith3D, how hard do you think it is to port your implementation to Xith ? (maybe adding something to the renderers or somewhat).

Shadow mapping doesn’t fit into a scenegraph very nicely in my head I’m afraid - does Xith3D have support for mutli-pass rendering yet?

Your best bet is to wander over the JME guys and ask them how they approached it - I believe their implementation has rave reviews. I’m sure they’d love to share assuming they have any time left these days! :slight_smile:

Kev

Yes.

Rats rats rats, sorry kevglass, I was certain you were the person who pointed this page out in a previous post…my bad…

I was confused by this

http://www.java-gaming.org/forums/index.php?topic=2895.0

and should have referenced this image instead

http://www.cokeandcode.com/xith/testme.gif

So, I am little lost here. Is there a hope the shadows be fixed in Xith ?

Well, maybe if you ask it kindly to its original author :wink:

If he won’t maybe within the next months I’ll find one or two minutes.