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

Pages: [1]
1
German corner / Text blitting
« on: July 20, 2006, 10:46:38 am »
Danke
Ich nehme eine Textur und blitte die. Des funktioniert prima.

2
Support / extended Object3D in world
« on: July 19, 2006, 10:57:27 pm »
I use the Object3D.getID();
Sorry position is the wrong word.
Its ahrd to Debug because I edit the World in two threads which you should never do. So I first have to change my Structure and then I can test this problem again.
Thanks for your quick help.
jPCT is just great

3
Support / extended Object3D in world
« on: July 19, 2006, 08:35:56 pm »
Hi

I  extended Object3D with:
Code: [Select]
public class GameObject3D extends Object3D {

my Constructor is the following:
Code: [Select]
public GameObject3D(Object3D arg0){
super(arg0);
}


Now the problem:

I add this Object to the world using
Code: [Select]
myWorld.addObject(myGameObject3D);
When calling myWorld.getObject(2) with an GameObject3D on position 2 I get the
Code: [Select]
Error: can't retrieve object #2

Thx for all Help
Sloothword

4
German corner / Chat
« on: July 16, 2006, 09:01:26 pm »
Hi

Ich habe mal ne Frage zur Texteingabe.
Ich habe den keyMapper implementiert, so wie es in dem FPS oder Car-Beispiel auch zu finden ist.
Nun möchte ich aber ein Chat-Fenster realisieren, bzw. würde mir schon reichen, die Tasteneingeben als Char zu bekommen. Bisher bekomme ich ja ein KeyState Object.
Wie mache ich das ?

Danke schonmal
Sloothword

5
German corner / MausPosition
« on: May 30, 2006, 03:46:44 pm »
Danke nochmal
Ich mach des jetzt aber überawt.Robot
Die Anwendung muss nur mit Softwarerenderer laufen

6
German corner / Text blitting
« on: May 30, 2006, 03:44:48 pm »
Hi

Ich suche eine Möglichkeit einen String zu blitten, ähnlich dem blitNumber() in der fps-Demo. Geht das überhaupt so einfach.
Billboarding und co scheidet ja aus, denk ich.

Danke schonmal

7
German corner / MausPosition
« on: May 18, 2006, 06:13:14 pm »
Nachdem Ich einen UnsatisfiedLinkError erfolgreich mit .dlls bekämpft habe :-))

habe ich nun folgendes Problem:

java.lang.IllegalStateException: Display must be created prior to creating mouse

kommt, wenn ich versuche Mouse.create()

8
German corner / MausPosition
« on: May 09, 2006, 03:46:00 pm »
Ok
hab jetzt LWJGL eingebunden, aber bin noch nicht zum Testen gekommen.

9
Support / Oh no
« on: May 08, 2006, 04:04:42 pm »
I thought it works like SimpleVector.matMul()

Thanks a lot for your fast reply

10
Support / mistake in my code
« on: May 07, 2006, 09:35:01 pm »
I already tested this, but something must be wrong with my code:

Code: [Select]

Matrix m =new Matrix();
m.rotateX((float)(0.5*Math.PI));
SimpleVector v1=new SimpleVector(0,1,0);
v1.matMul(m);

m.invert3x3();
v1.matMul(m);

JOptionPane.showMessageDialog(null, v1, "v1", JOptionPane.ERROR_MESSAGE);


In the messageDialog v1 is (0.0,-1.0,8.742278E-8) and i thought it should be (0,1,0).

11
German corner / MausPosition
« on: May 05, 2006, 02:01:21 pm »
Hi
Ich suche eine Möglichkeit, die Mausposition per Code auf eine bestimmte Position zu setzen. Ist dies überhaupt sicherheitstechnisch erlaubt?

wenn ja, wo finde ich dann so eine Funktion

wenn nein, wie bekomme ich die Mausbewegungen mit, wenn sich diese außerhalb des Bildschirms befindet

12
Support / Matrix operation
« on: May 05, 2006, 12:58:43 pm »
Hi
Excuse me for my stupid question, but i'm searching a method, which does exactly the opposite of SimpleVector.matMul

Example:


Code: [Select]

Matrix m =new Matrix();
m.rotateX((float)(0.5*Math.PI));
SimpleVector v1=new SimpleVector(0,1,0);
v1.matMul(m);


What had I to do with v1 to get the startvalue of (0,1,0)?
I think it has something to do with .invert, but i'm not sure how to use it.[/code]

Pages: [1]