Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (536)
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] 2
1  Java Game APIs & Engines / Xith3D Forums / Re: Frames per seconds on: 2004-10-11 20:44:01
is vertical sync set to be on in your graphics card config? this would freeze the fps to your monitor's refresh rate (or less).
2  Java Game APIs & Engines / Xith3D Forums / Re: BSP loader? on: 2004-07-29 10:50:11
Yup.

http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=xith3d;action=display;num=1074907427
3  Java Game APIs & Engines / Xith3D Forums / Re: Help loading Xith and other libraries on Windo on: 2004-07-29 06:09:20
Quote


No-one does until it bites them Angry. I think I once got sufficiently aggravated by this on one occasion that I filed a bug-report to Sun claiming it was a bug not a feature Smiley. I certainly have filed a couple about command-line switches to java and javac - some are broken (in particular situations), others have the wrong name for what they do IMHO Sad.


Sorry to continue off topic, but it particularly irritated me when I was trying to jar my files up and it said Class-Path line was too long!! I had to shorten up all the paths just to be able to use all the jars!  Tongue
4  Java Game APIs & Engines / Xith3D Forums / Re: CollisionDropTest not working? on: 2004-07-28 06:17:50
Still works fine with newest Xith and JOGL. Java 1.5 broke my program though... doh.
5  Java Game APIs & Engines / Xith3D Forums / Re: CollisionDropTest not working? on: 2004-07-28 00:31:10
I can't remember the last version I used, but I know it was in early-mid May using the newest (at the time) JOGL and a CVS Xith3D. I'll try out some newer versions a little later tonight and see if it still works okay.  Smiley
6  Java Game APIs & Engines / Xith3D Forums / Re: CollisionDropTest not working? on: 2004-07-27 22:34:37
Odd.... the demo used to work...

The collision system does work, at least it did when I was working with Xith (I've been busy with other things and haven't used it for a couple months).

I might write a simple tutorial on using some simple geometry in the collision system. I am by no means an expert on any of it, but I feel like it could help people find a starting point. Would this be helpful to anyone?
7  Java Game APIs & Engines / Xith3D Forums / Re: Fog not visible on: 2004-07-23 20:07:30
As has already been discussed in another thread, a list of features not implemented [yet] on the xith.org page would be useful for things like this. Smiley
8  Java Game APIs & Engines / Xith3D Forums / Re: AseTransformGroup demo on: 2004-07-22 21:21:55
I don't see it around in any of the tut directories, so you may want to contact William Denniss and see if he has it.

link to his profile for contact info:
http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=xith3d;action=viewprofile;username=divzero

Edit: fixed link...
9  Java Game APIs & Engines / Xith3D Forums / Re: AseTransformGroup demo on: 2004-07-22 20:09:37
Quote

BTW, I tried importing the human.ase file into max but it won't import, maybe corrupt ??


As far as I know, you can't import .ase files, you'll need the .max file.
10  Java Game APIs & Engines / Xith3D Forums / Re: Artifacts on textures on: 2004-06-13 22:57:30
I will have a look at it, thanks.

I was just letting the ASE loader load in the model/textures using whatever default way it generates everything.
11  Java Game APIs & Engines / Xith3D Forums / Artifacts on textures on: 2004-06-07 01:21:49
Occasionally, when I import my ASE model (created with 3DS Max) and load it in, I'll get these artifacts on textures (the mipmaps?) when looking at the geometry from an angle.

For instance, look at the light blue things on the brick wall texture:



On this shot I moved the view up a little bit and you can see the same wall looks okay, but on the other side is the same effect:



Right now any time I run my program I'll get something like this. But, the model was working fine just a while ago before I made a few trivial changes to it. Sometimes the "artifacts" will be blue, yellow, black, whatever color. I've experienced this occasionally in the past, but somehow it has fixed itself. Unfortunately, I haven't figured out wtf is causing it, yet. Anyone else ever see this? I'm on WinXP, geforce4 ti4200 btw.

EDIT1: It's gotta have SOMETHING to do with the model because I just loaded in a slightly older version that looked fine.

EDIT2: Ok.. I just took out the textured quads I had added and now it looks fine. I still wonder why they would affect the other ones...

EDIT3: Problem solved. I just created some new planes and dragged the old material and Unwrap UVW modifiers to them and now it works fine. I guess when I had originally created the other quads, I had cloned something else I had. Perhaps trying to add a new material or mapping coords to the cloned quad screwed with something. Whatever  Smiley
12  Java Game APIs & Engines / Xith3D Forums / Re: XITH 3d Collision tutorial, help, piece of cod on: 2004-05-25 13:03:43
You might want to take a look at the source code for David Yazel's Quake 3 level loader demo:

http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=xith3d;action=display;num=1074907427;start=11#11

It uses the collider package with a dummy avatar node used for movement of the camera and collisions with other geometry in the system. You'll have to pick through the code to figure out exactly what you need, which may be a little confusing, but it should make sense after you get it sorted out.
13  Java Game APIs & Engines / Xith3D Forums / Re: Nightmare installing Xith on: 2004-05-19 08:46:22
Quote

Personally if I wasn't using JWS - I'd just create a big batch file listing every java and native library on the command line.


Exactly what I do  Smiley. It makes everything damn simple. No matter how many times I install Java, Java3D, Xith, whatever environment, I always seem to run into problems setting it up (usually stuff I've encountered before  Roll Eyes). Just setting up some folders and relative paths and some batch files (or shell scripts) to compile, run, jar, sign, etc. makes it nice and easy -- no "install" necessary.

I do, however, use JWS for distribution.
14  Java Game APIs & Engines / Xith3D Forums / Re: Problems with the installation on: 2004-04-29 00:38:43
Quote

[size=1.5]
. . .
starting frame speed test
Init GL is net.java.games.jogl.impl.windows.WindowsGLImpl
OpenGL Renderer = GDI Generic
OpenGL Version = 1.1.0
. . .


Xith3D requires OpenGL version 1.2 or greater (see the faq). So, if it's possible, you'll need to update your video card drivers.
15  Java Game APIs & Engines / Xith3D Forums / Re: slow loading textured 3ds model on: 2004-04-29 00:33:05
Sounds good, thanks Smiley
16  Java Game APIs & Engines / Xith3D Forums / Re: Obj loader and textures on: 2004-04-29 00:25:13
You need to specify where it needs to look for textures, which is in the TextureLoader class.

TextureLoader.tf.registerPath("./");
TextureLoader.tf.registerPath("data/");
. . .
17  Java Game APIs & Engines / Xith3D Forums / Re: slow loading textured 3ds model on: 2004-04-28 17:48:51
I had been getting that exception sometimes before when building my models but I hadn't figured out why until last night. It was due to a stray vertex that I guess was left over when I had deleted something. It was tough to find in 3ds Max because, well, it's nearly invisible, even when selected. I only encountered that exception with the 3ds loader, and not the ase loader.

With that said, my problems are usually self-inflicted  Smiley, due to my lack of work/experience with some stuffs. Gotta learn somehow I guess.

edit: I think that exception is fine, it was just nearly impossible for me to figure out wtf it was going wrong... though I knew it had to be in my model somewhere.
18  Java Game APIs & Engines / Xith3D Forums / Re: slow loading textured 3ds model on: 2004-04-28 10:13:05
Quote

regarding formats - It's just a case of picking the right one for the job I guess.


Yeah. The ase does seem to be much friendlier in loading stuff. Sometimes if i change the littlest thing then my model will fail to load with the 3ds loader. In fact, that's what I'm workin on now. If I see another Exception in thread "main" com.xith3d.scenegraph.IllegalSceneGraphOperation: Attempt to set the parent of a Node which already has one. I think I'll go nuts.  Angry
19  Java Game APIs & Engines / Xith3D Forums / Re: slow loading textured 3ds model on: 2004-04-28 04:58:17
Well I finally figured out the problem: my textures were, for the most part, not powers of 2. It was just getting choked up on loading the textures because of this. Now it all loads fast.

I know you're "supposed" to use power of 2 textures, but...  Tongue. Anyhow, in case anyone has these issues, check your texture image dimensions.
20  Java Game APIs & Engines / Xith3D Forums / Re: Problems with the installation on: 2004-04-27 22:17:52
I don't think xith.jar is in your classpath. Try doing "java -cp <pathtoxith.jar> HelloXith3D" or org.xith3d.gsg.HelloXith3D, whichever it is.

edit: or put xith.jar in the CLASSPATH variable in the system.
21  Java Game APIs & Engines / Xith3D Forums / Re: slow loading textured 3ds model on: 2004-04-27 07:05:38
Yeah, I realize it compresses way down from its original file size... I failed to note that. I guess I meant relative to the 3ds, but since they are different storage formats, of course there are differences between the two -- I have not looked at the details of either format too much. Unfortunately, if the model is pretty (arbitrarily) big, it still sucks up a nice chunk of memory when loaded in from its compressed format.
22  Java Game APIs & Engines / Xith3D Forums / slow loading textured 3ds model on: 2004-04-26 23:56:09
I'm using kev's nice 3ds loader to load in a (non-simple) model and here are some approximate load times for different textured configurations of it:

- untextured: 0.4 seconds
- whole model 1 texture: 1.2 seconds
- half model 1 texture, half another texture: 2.2 seconds
- whole model with 9 different materials: 39 seconds

I'm doing all the texturing and uvw mapping in 3ds Max before I export the model. Is this possibly due to the way I'm mapping materials in 3ds Max? Is this because I'm mapping everything in 3ds Max? Is there any way I can speed this up? Are there any other (free, preferably) tools out there that could improve this? Is this just because the loader doesn't load them that fast? Should I be loading them in separately? Should I map everything by hand? (If the answer is yes to the last question, I think I'd have to kill myself  Smiley)

I noticed a significantly better loading time (though still unacceptably slow) when using the ASE loader, but the ASE just consumes a lot more memory than the equivalent 3ds file when loaded in (in addition to huge file size for larger model). Oh yea, for both loaders, I'm simply using the one-call .load() (or .getModel() for the ASE) method to load in the model.

I know it may not be possible to deduce the exact answers to my questions above from the information provided (and I don't expect answers to all of them), but perhaps someone has a general idea of something else I can try. Any suggestions?
23  Java Game APIs & Engines / Xith3D Forums / Re: Changes to match latest JOGL build on: 2004-04-21 09:32:11
Actually, Bombadil, I get that funked up screen with my geforce 4 when I maximize the window, as well.

Screenshot:

24  Java Game APIs & Engines / Xith3D Forums / Re: d) Ghost window on: 2004-04-21 02:29:37
Quote

Anybody could confirm this? Or is it "just" me...


Same here, with gf4 ti4200.
25  Java Game APIs & Engines / Xith3D Forums / Re: overlapping edges of model on: 2004-04-08 02:48:39
if i just connect edges to edges and not edges to faces it seems to work fine. i guess that's the problem.
26  Java Game APIs & Engines / Xith3D Forums / overlapping edges of model on: 2004-04-07 10:45:34
I'm not sure if this is something I need to fix in 3DS Max or Xith. When I load in the following .3ds model, I have two aligned objects, but one will show through the other. See picture below:



I'm guessing that when I align two planes, they share the same space, so the renderer does not know which one to show. It basically flickers between the blue and red textures when I move the view around. If this is the case, how do I get the edges lined up one against the other but not overlapping? I tried moving the objects away from each other just a tiny bit but I still get the same effect.

I do not have much experience with 3DS Max, I'm just familiar with the basics.

Any help is appreciated, thx. Sorry to dirty the Xith forum if this thread is unrelated, I wasn't sure where to put it  Roll Eyes.
27  Java Game APIs & Engines / Xith3D Forums / ASE tutorial lighting/shading on: 2004-03-31 08:59:35
Me and my newbie self are having trouble getting the lighting/shading to work in the ASE geometry loader from the tutorial. The demo works fine, but compiling the source on my own doesn't (for me).

When I use all the source code from the tut, it loads the model and textures fine, but there's no shading as it rotates. Am I wrong to assume I need to add a directional light for it to work (as well as shadows enabled in RenderOptions [or lighting?])? I tried that but had no success. Or does it happen automagically?

Maybe I've been staring at the screen too long. I have a headache.    Huh
28  Java Game APIs & Engines / Xith3D Forums / Re: xith download / assert problem on: 2004-03-30 18:26:13
I'm not sure about usage of assertions in Java (only used them in C), but you can just comment them out to compile the code (which is what I've done) or, according to sun's page on assertions (http://java.sun.com/j2se/1.4.2/docs/guide/lang/assert.html), compile with the -source flag, i.e. "javac -source 1.4 MyClass.java", although I haven't tried that. They are just there to enforce error checking, data, pre/post conditions, etc. Check out the link above for more info on assertions.

EDIT: A little more info from that page:
Quote
In order to ease the transition from a world where assert is a legal identifier to one where it isn't, the compiler supports two modes of operation in this release:

-source mode 1.3 (default) - the compiler accepts programs that use assert as an identifier, but issues warnings. In this mode, programs are not permitted to use the assert statement.

-source mode 1.4 - the compiler generates an error message if the program uses assert as an identifier. In this mode, programs are permitted to use the assert statement.

Unless you specifically request source mode 1.4 with the -source 1.4 flag, the compiler operates in source mode 1.3. If you forget to use this this flag, programs that use the new assert statement will not compile.
29  Java Game APIs & Engines / Xith3D Forums / Re: Jogl crashes Xith again - even after Yuris fix on: 2004-03-18 05:14:03
i'd like to see an example please  Smiley
30  Java Game APIs & Engines / Xith3D Forums / Re: keep "camera" from running through w on: 2004-03-10 18:06:32
Quote
It might be that what you are seeing is the geometry clipped against the near clipping plane. Try moving it closer to the camera.


Yes!! That was it, thanks. Works fine now. I didn't even think about that  Smiley. Silly me.
Pages: [1] 2
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Riven (17 views)
2014-07-29 18:09:19

Riven (12 views)
2014-07-29 18:08:52

Dwinin (11 views)
2014-07-29 10:59:34

E.R. Fleming (29 views)
2014-07-29 03:07:13

E.R. Fleming (11 views)
2014-07-29 03:06:25

pw (41 views)
2014-07-24 01:59:36

Riven (40 views)
2014-07-23 21:16:32

Riven (27 views)
2014-07-23 21:07:15

Riven (29 views)
2014-07-23 20:56:16

ctomni231 (59 views)
2014-07-18 06:55:21
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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
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!