Shadow help?

Hey Guys,

I’m trying to learn how the Xith3D shadow support works, but I can’t find any substantial documentation except for the Occluder class javadocs. Is there a tutorial or demo around that uses shadows that I could look at? I’m having problems figuring out where and when I should place these occluders in the scenegraph to create the shadows properly.

Thanks alot.

By the lack of response here does that mean that shadow support is incomplete in Xith, no one knows how to use it, or no one cares?

Anybody have any tips or links they can send me so I can try to figure this stuff out? Any help would be appreciated.

Thanks,
Matt

I’m not sure how many people are currently using it.

JavaCoolDude was pretty good at stuff like shadows, but got a job now which is keeping him busy.

Will.

Uh oh, if JCD got a job then we’re all in trouble, he seemed to have a lot of the answers ::slight_smile:

Alright, well if anyone does know anything about how the shadows or occluders work in Xith let met know, I assume the original authors have stopped reading the forums.

Will, I’m using Xith as a display for an ODE simulation I’m working on, if I wanted to switch to something simpler like lwjgl is that fairly easy? I assume I’d have to redo the things like the OdeToXith type objects?

Thanks.

Matt

I believe David wrote the original occluder code. Have you searched the really really old Xith3D threads? There may be some clues in there.

As for ODE with JWJGL:

It’s very easy, and you don’t even have to implement the OdejavaToXith3D class.

The OdejavaToXith3D class is used to create shapes which represent ODE geom, so if you want that feature then yes you need to port it. But if you are using custom shapes anyway, you don’t have too. Personally, I use custom shapes - but use OdejavaToXith3D for debugging.

More info here: http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=physics;action=display;num=1080816410#1

When you think about it - all you are doing is getting positional and rotational data from an objects in an ODE scene and applying it to objects in your 3D display scene.

Just a heads up - the org.odejava.display.OdeTransformable interface is now named org.odejava.Placeable in case you are woundering what happened to it.

If you do make a binding to LWJGL, we would appreciate it if you shared your code :slight_smile:

Will.

Thanks for the pointers Will, I’ll definately share anything I come up with.

Is there a seperate place where the really really old xith 3d forums are stored? I’ve searched the mailing lists with little luck.

nah, I just meant going back to the old threads in these forums :slight_smile:

Will.

Yeah, I’ve checked all over, doesn’t seem to be much info sadly.

Matt