Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (844)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / Xith3D Forums / Re: Help the Noob Load an obj =) on: 2003-12-05 02:30:51
Hey!  I think I figured out the problem. When I copy your obj into one of my own it works fine, but it doesn't work on mine.   What program was your obj generated with?  Wings seems to output with a different structure, it the same basic syntax.  Maybe I can just load my obj into whatever program you used and then export a new Obj.
2  Java Game APIs & Engines / Xith3D Forums / Re: Help the Noob Load an obj =) on: 2003-12-03 22:51:38
Sorry to be a nuisance, but I really don't think I've emphasised just how inexperienced I really am.  I got the OBJ loader to work on the galleon example, but I've yet to be able to load one of my own.  I've tried a few things, but I'll not go into that and just ask..  How do I get my obj onto the classpath?
 thanks yet again,
3  Java Game APIs & Engines / Xith3D Forums / Re: Help the Noob Load an obj =) on: 2003-12-03 11:26:19
Ahhhhh!! thanks!  I think I would've been ok If I knew enough to realize it was loading from the classpath.  I just assumed it loaded from a file, b/c I've never loaded a file from the classpath before. Live and learn!  Grin
Thanks again,
 for the loader and helping me figure out how to use it!
4  Java Game APIs & Engines / Xith3D Forums / Re: Help the Noob Load an obj =) on: 2003-12-03 03:43:57
Hey! thanks.  that was really helpful.  But just to further prove that I really don't know what Im doing, here is another problem I can't figure out.

I'm tring to compile and execute the which is the example that was provided with the code, but everytime I get this message:
Loading: othermodels/tiletest/tile1.obj

        at<init>( etc...

Which I'm thinking is approptiate b.c there is no tile1.obj, or that folder .  deleted the class file a couple times to make sure it was actiually compiling...

I couldn't figure that out so I tried making a completely new folder and everything with the files there too, and now I've run into a new problem.  I either get the NullPointerException or a String out of bound exception and i think I know why, but I don't know what to do about it.
Here's some code from the OBJLoader
    public BranchGroup load(String objFile,NodeFactory factory,Vector3f vec) throws IOException {
        System.out.println("Loading: "+objFile);
        String basePath = objFile.substring(0,objFile.lastIndexOf("/"));

given that it sets the basepath to everything preceding a / does that mean it would only work on a Unix type file system since Windows uses \ instead of / ??  I'm getting the String out of Bounds exception b.c I took out the /'s so it never found one OR I'm getting the null pointer exception b.c I am including \'s to show where my directory is and it's never finding the file b.c this is Windows.  That's my current theory anyway.  Could I just extract that line from the jar, change the line, recompile and stick it back in??  Thanks again for tolerating my inexperience!
5  Java Game APIs & Engines / Xith3D Forums / Help the Noob Load an obj =) on: 2003-12-01 00:16:12
I'm making a simple scene to navigate for a class and was wondering if anyone could help me load an obj I exported from Wings3d of Trogdor from Strongbad's emails.  Any quick hints on how to color or texture him would be appreciated too, but that's not really integral for what I wanna do.  I read the tut on loading ase files, but being a poor college student I can't afford the likes of 3dsmax.  Tongue


-edit-  I'm asking b/c the site mentions a loader for objs, which I thought would let me avoid porting a class that I made thatreads in all the vertices and then makes the faces listed in the obj file.  
6  Java Game APIs & Engines / JOGL Development / Re: Help with Installation on: 2003-11-16 21:18:35
no.. no reason.   Tongue  I just don't know what Im doing really.. lemme give that a try real quick.
7  Java Game APIs & Engines / JOGL Development / Help with Installation on: 2003-11-16 21:01:42
Hi!  I'm a true newbie, and have been having difficulty getting JOGL to usable state.  I've been going through the steps listed here:*checkout*/jogl/doc/HowToBuild.html?rev=HEAD&content-type=text/html

And I got all the way to step 5, where I type
"ant win32.mingw" in cmd console. And I get this error:

   [antlr] java.lang.NoClassDefFoundError: antlr/Tool
   [antlr] Exception in thread "main"

file:C:/CVSviews/JOGL/make/build-gluegen.xml:102: ANTLR returned: 1

Im sort of at a loss at this point.  Should I have just d/led one of the precompile binaries??  If I had, what do I do with files?  ie..  Where do I put them?  

Pages: [1]
EgonOlsen (73 views)
2018-06-10 19:43:48

EgonOlsen (54 views)
2018-06-10 19:43:44

EgonOlsen (73 views)
2018-06-10 19:43:20

DesertCoockie (253 views)
2018-05-13 18:23:11

nelsongames (154 views)
2018-04-24 18:15:36

nelsongames (153 views)
2018-04-24 18:14:32

ivj94 (895 views)
2018-03-24 14:47:39

ivj94 (156 views)
2018-03-24 14:46:31

ivj94 (807 views)
2018-03-24 14:43:53

Solater (171 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!