I am currently working on a Xith-compatible equivalent of the javax.media.j3d.Alpha class for interpolated Behaviors. Although not complete, it is now in a functional state. Should I add it to the xith-tk CVS module and, if so, in which package?

Sounds good to me, org.xith3d.behaviors I guess. This is assuming that future behaviour classes will also go into this package (unlike say with loaders where there are many different ones using fourth-level packages). Does that make sense to you?

Sounds good to me, org.xith3d.behaviors I guess. This is assuming that future behaviour classes will also go into this package (unlike say with loaders where there are many different ones using fourth-level packages). Does that make sense to you?

OK.

I also have a test class, AlphaTest. Do you want me to put it in org.xith3d.test.behaviors?

If each test/demo are stand-alone java files (prefrable as it generally means they arn't too big and people can understand them more easily), just put it in org.xith3d.test. If your tests/demo's are comprised of several .java files (and the complexity is such you don't wish to just wrap the classes into the one .java file), then a sub-package of test is probably the way to go.

If each test/demo are stand-alone java files (prefrable as it generally means they arn't too big and people can understand them more easily), just put it in org.xith3d.test. If your tests/demo's are comprised of several .java files (and the complexity is such you don't wish to just wrap the classes into the one .java file), then a sub-package of test is probably the way to go.

OK, AlphaTest added to xith-tk org.xith3d.test and a number of Behavior classes added to xith-tk org.xith3d.behaviors. I'm still working on them.

I might think about using them myself now. I never used behaviours in Java3D - java3D was in it's "stalling" fase and I was looking for alternatives when Xith3D started up. Are you intending to implement all behaviours that were in Java3D?

I did not look at the code, but are "Behaviors" a mean of moving objects in a predefined way ?If yes, I would have some comments to do (although they seems very cool) : - What are they doing in a scenegraph ? - If we use a dynamics engine, they are useless - Why not start another util library and put these there ? - I don't critic the work, but the place where it is..

Anyway, croft, it makes me happy that WIllDenniss is not completely alone working on Xith3D.

I might think about using them myself now. I never used behaviours in Java3D - java3D was in it's "stalling" fase and I was looking for alternatives when Xith3D started up. Are you intending to implement all behaviours that were in Java3D?

Not sure. What I want to be able to do is to map animation code in a COLLADA file to a Behavior object in a scene graph in a consistent manner. My other objective is to convert a broadcast event about a virtual object moving into a Behavior in the local view.

I did not look at the code, but are "Behaviors" a mean of moving objects in a predefined way ?If yes, I would have some comments to do (although they seems very cool) : - What are they doing in a scenegraph ? - If we use a dynamics engine, they are useless - Why not start another util library and put these there ? - I don't critic the work, but the place where it is..

By Behaviors I mean something almost identical to the Behavior class and its subclasses in the Java 3D API.

Anyway, croft, it makes me happy that WIllDenniss is not completely alone working on Xith3D.

I am in a rare position where my work allows me to use and create Open Source. This is because we are funded by a government research grant. I think that all government research grants should require as part of the grant contract the release of the developed source code as Open Source.

Indeed David, you are very fortunate that your work allows the use of and contributions to Open Source. I believe Xith3D is quite business friendly with it's BSD-like license. The downside of that is that contributions back are not compulsary, but people who do make contributions are helping grow the same API that they are taking advantage of (not to mention thanking the other developers for their code).

I'm really happy to see so much development going on, lets keep it up!

I also would like to see behaviours in Xith3D. I don't understand your discussion in this thread: how could you implement Behaviours, when the base classes are not yet implemented? Both the latest release and CVS don't show any sign of changes lately. Am I missing something?:ollix

I also would like to see behaviours in Xith3D. I don't understand your discussion in this thread: how could you implement Behaviours, when the base classes are not yet implemented? Both the latest release and CVS don't show any sign of changes lately. Am I missing something?

Ok, sorry. I took a look at an old repository and didn't see the impl directory. I was refering to the WakeupCriterion classes, when I wrote "base classes", but all I saw was the interfaces.The repository you are working in is the current one to use? I only saw the one inside the xith 3d project, but obviously that is outdated?I am working on an WakeupOnAWTEvent class. Should I post it here, if it works?cheers:ollix

Our friend ollix may have confused xith3d and xith-tk CVS repository. The first is the core, and the other is the Xith Toolkit. Behaviors are part of the Xith toolkit, since they're not needed for Xith to run.

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org