Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Uija

Pages: 1 2 3 [4]
46
Support / Object3D rotation problem
« on: July 24, 2005, 06:25:29 pm »
I got the thing running with moving by getZAxis().
But now I am strafing all the time ;)
Rotating the Model doesn't help, als it rotates the movement axis too.

47
Support / Object3D rotation problem
« on: July 24, 2005, 05:40:57 pm »
I have a Object3D.
When I move it forwards it moves to the north.
Now I rotateY() it, so it looks to the East.
When I now move it forwards it still moves to the north.
I found 2 threads about this, both seem to got it work with the mentioned methods but it didn't work for me.

48
Support / Problems with Texture
« on: July 24, 2005, 01:36:00 pm »
I think I got it fixed by setting U and V greater 0 ;)

Hm, I fixed the weird pixelerror, but I got no clue how to show the texture correctly. can anyone post some informations about the U and V Part of the ASC file?

49
Support / Problems with Texture
« on: July 24, 2005, 01:28:10 pm »
I did the following:
Code: [Select]

tex = TextureManager.getInstance();
Texture grass = new Texture( "grass2.png");
tex.addTexture( "grass", grass);

terra = Loader.loadASC( "terra02.asc", 1, false);
terra.setTexture( "grass");


The result can be found here
I have tried different sized of textures and got no result. Has that something to do with the U and V Data in the ASC file? I still have not found any informations about the fileformat, so I am learning it by try and error ;)

Perhaps anyone of you knows this and can tell me how to fix it ;)[/url][/code]

50
Bugs / ArrayIndexOutOfBoundsException in Loader.loadJAW
« on: July 22, 2005, 04:36:57 pm »
I converted the tool to ASC Output and works fine. thanks for the hint.

51
Bugs / ArrayIndexOutOfBoundsException in Loader.loadJAW
« on: July 22, 2005, 03:43:36 pm »
I have written a commandline converter from png to jaw. I took jaw because it was the easiest one ;)
Perhaps I should read some infos about the other fields in ASC and use that one ;)

52
Bugs / ArrayIndexOutOfBoundsException in Loader.loadJAW
« on: July 22, 2005, 03:18:57 pm »
Hi there...
when I load a 100x100 big Terrain with Loader.loadJAW I get an Exception:
Code: [Select]

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 10000
at com.threed.jpct.Loader.loadJAW(Unknown Source)
at com.threed.jpct.Loader.loadJAW(Unknown Source)
at client.Uija3d.<init>(Uija3d.java:67)
at client.Uija3d.main(Uija3d.java:175)

Output befor the Exception is:
Code: [Select]
Loading file map.jaw
Expanding buffers...1000000 bytes
File map.jaw loaded...568780 bytes
Parsing Objectfile!


Is this intended as it might be to slow with that many polygones or is it just an unknown error?

~Jens

Pages: 1 2 3 [4]