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 - EgonOlsen

Pages: 1 ... 803 804 [805]
12061
Support / how to put objects to x-axis
« on: December 09, 2002, 08:01:58 pm »
I'm not totally sure what you are trying to achieve...is the ground always flat? It is flat in the case you are describing (because it's a Box...why don't you use a Plane btw...?), but is this the normal case or just for testing? If your ground is not always flat, i think calcMinDistance() could be worth a try (remember to set collision modes accordingly). Another possibility would be to use a completely different data-structure to store the height of the ground at a specific position (a kind of heightmap). This could be faster than doing all on the polygonal level.
If the ground is always flat, there are two possibilities to get your objects "grounded". The first is: Try different values until is works... :wink:
The second is to obtain the dimensions of the object to do the translation accordingly. The problem is, that jPCT doesn't give you the object's dimensions. I can add this, if it would help (i.e. add the possibility to get the bounding box dimensions, which basically are the objects dimensions).

12062
Support / more example files
« on: December 07, 2002, 07:58:37 pm »
Hi Olli,

i'm planning to do more examples in the future, each one targeted at a specific topic (like one example showing how to use MD2-files and animation, one for showing how to do your own texture-effects, one for blitting, how to write your own file-loader and so on...). But i'm kinda busy at the moment, so it may take some time for me to write them...
What topic are interested in the most?

12063
Support / jaw
« on: December 02, 2002, 10:03:57 pm »
JAW is not a very common format. In fact it was used by a very basic 3d engine for DOS some years ago and i decided to support it, because it's so simple and easy to understand. I once had a small converter for ASC (or 3DS...i don't remember it correctly) to JAW but i guess that it's gone over the years. I suggest that you use ASC instead.
IE and refreshing applets is kind of a problem. Try to reload the page holding down the STRG-key. This helps sometimes but not always. I usually quit IE too to refresh the applet-content.

12064
Feedback / Re: looks great!
« on: December 02, 2002, 06:49:07 pm »
Quote from: "ollioikarinen"

Are you about to add some functions related to game physics or network gaming?
Support for network won't be implemented for sure, because jPCT basically is a 3D engine/API and not a full-blown game engine. The same is (almost) true for physics. To build a generic physics engine would a project of its own. Some basic methods that should help you doing your own physics should be there, maybe some more are needed. If this is the case, i'll think about adding them but i won't head for a complete physics engine myself in the near future.

12065
Support / importing
« on: December 02, 2002, 06:35:15 pm »
To compile it (and to run the compiled file), you need to add jpct.jar (from the libs-dir of the API-distribution) to your CLASSPATH. Depending on the OS you are using the procedure to do this may vary. To add jpct.jar temporally to the CLASSPATH (during compilation only(, something like

javac -classpath %classpath%;[path_to_jpct]\jpct.jar Bounce.java

should work. Anyway, adding it to the CLASSPATH permanently is the better solution IMHO.

12066
Feedback / Re: looks great!
« on: November 27, 2002, 06:39:04 pm »
Quote from: "felix"

i will test your software if it fits my needs, i think it looks great !
Thanx! If it doesn't fit your needs, feel free to tell me what's missing. I've already added some features by request.

BTW: Gre aus Hannover... :)

12067
News / Version 0.80 has been released
« on: November 18, 2002, 11:57:58 pm »
Wow, the forum is overcrowded... :wink:
Anyway, jPCT 0.80 has been released. I had to modify some of the collision-methods in Object3D and World to make them returning the ObjectID and not just true/false. This way, it's possible to say that object x collided with object y and not just that x collided with something.
The source of the famous bounce-example (in the API-package) has been slightly modified to reflect this change.
Furthermore, a new Primitive (a box) and a new automated texturing method has been added as well as support for linear distance fog in a very basic form.

12068
Bugs / Picking on backfaces doesn't work
« on: November 07, 2002, 11:42:21 pm »
A software needs to have bugs to be cool. So i'm posting about this one myself to fill this section with life.
It's simple: If you disable backface-culling for an Object3D and try to use the picking methods from Interact2D, backfaces (polygons that would have been culled with backface culling enabled) can't be picked. This will be fixed someday, but it's quite low on my priority list.

12069
News / The forum is back up...
« on: November 07, 2002, 11:16:57 pm »
...albeit the former forum wasn't used very often, i thought that it might be usefull to have one up and running again. So here it is!

Pages: 1 ... 803 804 [805]