Main Menu
Menu

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.

Show posts Menu

Messages - EgonOlsen

#11896
News / LWJGL 0.96 released
March 31, 2005, 08:16:17 PM
jPCT will work with it without any changes. Grab it here: http://www.lwjgl.org
#11897
Projects / Technopolies
March 30, 2005, 12:41:24 AM
Any plans on getting a "real" domain for it?
#11898
Projects / aptal karga (foolish crow)
March 29, 2005, 07:29:26 PM
In case you haven't noticed yet: I've added a link to your page to the projects page.
#11899
Feedback / kind of brain storming
March 24, 2005, 04:25:57 PM
Quote from: "raft"is this true ? i didnt know that. sounds really strange
All i know is, that there were none by the end of the year 04 and i'm unable to find information about the current state of it. Don't know if this is good or bad...

Quote from: "raft"did you get me wrong ? i meant sun should prepare such custom java bundles. it shouldnt be that hard for them to break core packages into many pieces with a dependency mechanism similar to linux packages
No, i didn't get you wrong. What i meant was that if SUN's license doesn't permit it now, i don't think that they'll do this themselfs in the future. I think that the idea is, that a complete JRE ensures that every Java application will work with it, while a stripped down JRE wouldn't and that people would blame that on SUN or Java and not on the JRE.

Quote from: "raft"
for rest, i think similar. even if you manage to make a smaller bundle with its own jre, most possibly people wont like the idea of installing a plugin from an unknown author
They don't have to. The JRE works without any installation. My Paradroidz archive contains a jre-directory from where the VM is started and that's it. At least for Windows...
It's not a problem for MACs because they already have Java installed. And for Linux, well...most distributions should contain it too, and if they don't...i think that Linux user's are more used to change their system to get things working compared to Windows, so maybe it's not too much of a problem.
#11900
Feedback / kind of brain storming
March 24, 2005, 10:24:41 AM
Quote from: "raft"it almost lost its meaning to get karga back to java 1.4.x since sun updated getjava page to 1.5. to tell the truth i am quite unhappy with download size of java5. maybe its time for sun to make partial-java versions with desired packages only. afterall it is not the jvm but all that huge library packages that make java5 so download unfriendly
It's not so much about what to download but what you already have IMHO. People are still using 1.4.x a lot. May it be because they can't update or because they won't for whatever reason. And there is still no Java5 for Mac, or is there?
The problem with a partial download/distribution of Java is, that SUN's license doesn't permit that. That's making the distribution of the JRE together with your application unnecessary difficult. For Paradroidz, i made a version that includes the 1.4.2 JRE. With CAB-compression, i'm down to 15MB but it doesn't get any smaller than this, because you are not allowed to remove unneeded things from the JRE...annoying...
#11901
Support / Loading animation from a md2 file
March 23, 2005, 09:49:55 AM
If you are loading a MD2, there's no need to create an Animation by yourself. The loader already does this for you. So reduce your code to something like this:

Object3D hombre=Loader.loadMD2("3d"+File.separator+"hombre.md2", 1f);
hombre.setCollisionMode(Object3D.COLLISION_CHECK_OTHERS);
TextureManager.getInstance().addTexture("hombretex", new Texture("3d"+File.separator+"hombre.jpg"));
hombre.setTexture("hombretex");
hombre.translate(50, 0, 0);
hombre.build();
theWorld.addObject(hombre);

private void gameloop() {

while (!exit) {
hombre.animate(anim, 0);
if (anim>1) {
anim=0;
} else {
anim+=0.1f;
     }
               ....
}
}
#11902
Support / Undersampling
March 18, 2005, 02:55:18 PM
No, that's not possible ATM, i'm afraid. I also think that it would look strange to use a 0.75 factor and upsample that for example. Like the scaling a TFT does in these cases... barely usable IMHO.
#11903
Support / Object Rotation
March 16, 2005, 07:43:34 AM
Depends on what you mean exactly. You may try to align them using Camera.align(<Object3D>) or use Camera.lookAt(<SimpleVector>) with the transformed center of the Object3D as point to look at.
#11904
Quote from: "tomzwo"have you thought about my question (edged in different color)?
Opps, i must have missed this one...to keep it short: That's hardly possible in jPCT without adding additional geometry that simulates it. You may draw a wireframe over the rendered scene, but that's most likely not what you want.
#11905
Support / Object Rotation
March 15, 2005, 12:40:30 AM
Quote from: "bgilb3"so complicated :oops:
Not really. It's in the CarTest.java in moveCamera. It's not that complicated...
#11906
No, i don't have such plans ATM. I think that jPCT is too demanding in terms of memory and CPU requirements to be usefull on current mobile devices.
#11907
Support / Object Rotation
March 14, 2005, 05:06:55 PM
Depends on your actual needs. One way of doing it be found in sources of the  car example.
#11908
Support / Object Rotation
March 13, 2005, 06:47:10 PM
Try something like this:

SimpleVector s=shape.getZAxis();
s.scalarMul(speed);
shape.translate(s);
#11909
Support / Object Rotation
March 13, 2005, 05:29:00 PM
If i understand you correctly, try something like

shape.translate(shape.getZAxis());
#11910
Adding a constructor that takes an Image should be easy and may appear in one of the next versions. Anyway, thanx for sharing the code. May i ask what kind of project that is?