World Rotating

Hi, i’m a newbie of 3D and Xith3D engine. So i would ask to some 3d expert something about that!

1)Xith3D can help me to change the EYE of my camera or Do i have to calc the coords of my object manually? (rotating, translation etc…)

2)I haven’t understood if the collision are poor implemented or full supported by the engine ?

Welcome.

  1. Xith3d has a View class, you can set where it is in the scene and what it looks at, so you don’t have to calculate the object transforms manually (if this was the case there is not much point to a scenegraph). Checkout the Getting Started Guide on xith.org. Example of the View being set:

            view.getTransform().lookAt(
            new Vector3f(0, 0,    2f),    // location of eye
            new Vector3f( 0, 0, 0),    // center of view
            new Vector3f( 0, 1, 0));    // vector pointing up

  1. The collision code is currently unsupported as the original author is no longer activly maintaining it. I personally don’t use it, and instead use Odejava for my physics and collision. Odejava is more heavyweight than the Xith3D collision (a whole library with native binaries in itself) so it’s not an exact replacement, I’d only recommend it if you utalised many ODE features.

Will.

the transformation applied to the view point of my camera can be used to rotate a single object ,too?

Odejava is more heavyweight than the Xith3D collision (a >whole library with native binaries in itself) so it’s not an >exact replacement, I’d only recommend it if you utalised >many ODE features.

Are there other third party libraries for implementing a performant spheric / bounds collision or shoud i implement it by myself?

thanks

;D

check out some of the examples: http://xith.org/tutes/GettingStarted/html/hello_xith3d.html

or, read the first chapter of pretty much any java3d book to get an overview of how the scengraph works (the Xith3d scenegraph is structured very similarly to Java3D).

Will.