Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3509 Members - Latest Member: lioneltenel

27. May 2012, 03:01:02 am
Xith3D CommunityGeneral CategorySupport (Moderator: Marvin Fröhlich)A few questions from someone just starting out
Pages: [1]
Print
Author Topic: A few questions from someone just starting out  (Read 875 times)
mbussi
Just dropped in

Offline Offline

Posts: 20


View Profile Email
« on: 15. January 2008, 09:37:24 pm »

Hello everybody!

First of all, thanks for what you have been doing and I hope I can give something back to the community.

I just retrieved all the sources for Xith3D and Xith-TK from SVN and I noticed that some of the demos in xith-tk reference classes in the org.xith3d.physics.joode.* package. Apparently this package is missing in what I retrieved from the repository (and I cannot find it when browsing the sources via the web interface).

Do I need to retrieve some other package?

Other question (I know, I know, I should probably do a forum search before asking, but I just grabbed the opportunity of this post to ask  Tongue): does Xith3D support deformable terrain?

Thanks in advance

Massimiliano
Logged
mbussi
Just dropped in

Offline Offline

Posts: 20


View Profile Email
« Reply #1 on: 15. January 2008, 09:41:16 pm »

Ok, I just found out the response to my question: apparently the xith-tk project (at least the NetBeans version) doesn't reference the xpal-joode.jar.

Massimiliano

PS
this is the correct fragment of project.xml (in the nbproject directory):

Code:
        <java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/2">
            <compilation-unit>
                <package-root>src</package-root>
                <classpath mode="compile">../xith3d/third-party/jogl/jogl.jar;../xith3d/third-party/lwjgl/lwjgl.jar;../xith3d/third-party/misc/log4j.jar;../xith3d/third-party/misc/vorbis.jar;../xith3d/third-party/math/openmali.jar;../xith3d/third-party/particles/jops.jar;../xith3d/third-party/xml/jibx/jibx-run.jar;../xith3d/third-party/jagatoo.jar;../xith3d/third-party/hial/hial.jar;../xith3d/third-party/xml/xstream/xstream-1.2.1.jar;../xith3d/third-party/joal/joal.jar;../xith3d/third-party/sound/vorbis.jar;../xith3d/third-party/swt/windows/swt.jar;../xith3d/src;../xith3d/third-party/physics/joode.jar;../xith3d/third-party/physics/xpal-joode.jar</classpath>
                <built-to>bin</built-to>
                <source-level>1.5</source-level>
            </compilation-unit>
            <compilation-unit>
                <package-root>test-resources</package-root>
                <source-level>1.5</source-level>
            </compilation-unit>
        </java-data>

This must replace the corresponding <java-data...> ... </java-data> at the end of the file.
« Last Edit: 15. January 2008, 09:46:30 pm by mbussi » Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #2 on: 15. January 2008, 10:21:32 pm »

hi, Massimiliano. Welcome to Xith3D Smiley.

I just fixed the nbproject path (well, without using Netbeans). Actually the two jars from the misc folder are obsolete now and can be removed. Doesn't Netbeans complain about that? I will commit the changes later. You seem to have it running, don't you?

Deformable Terrain? Don't know. Mathias is working on a new Terrain implementation. I don't know, if he already came to that point. Let's wait for his statement.

Marvin
Logged
Mathias 'cylab' Henze
Fierce Warrior
****
Offline Offline

Posts: 540

1064620
View Profile WWW
« Reply #3 on: 16. January 2008, 08:51:58 am »

I just fixed the nbproject path (well, without using Netbeans). Actually the two jars from the misc folder are obsolete now and can be removed. Doesn't Netbeans complain about that? I will commit the changes later. You seem to have it running, don't you?
I set sith up as a "freeform" project with existing ant script, so netbeans just references the ant build-file and the jars in the project config are only used for code completion. A "real" netbeans project detects missing jars and such.

Deformable Terrain? Don't know. Mathias is working on a new Terrain implementation. I don't know, if he already came to that point. Let's wait for his statement.
You should be able to change the terrain data on runtime, but the used strategy is not best suited for terrain deformation, because it needs precomputation of the LOD levels and the complete subgrid has to be re-uploaded to the gfx card on a change.
Logged

mbussi
Just dropped in

Offline Offline

Posts: 20


View Profile Email
« Reply #4 on: 16. January 2008, 07:23:22 pm »

You seem to have it running, don't you?

Well, actually yes and no... For a long series of reason (most work related), I'm running my dev machine under Vista Ultimate 64bit, and it's a pain in the proverbial {insert what you want here} because the 64 bit version of the jdk can't access 32 bit libraries and the 32 bit is slower...

But I'm slowly recompiling all the missing libraries (lwjgl, ecc) in 64 bit format.

Massimiliano
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic