...oh too bad! i believe i'm such a silly idiot. this should is the problem. have to test it this evening.
sorry, i'm a little bit under pressure...to finish my diploma
sorry, i'm a little bit under pressure...to finish my diploma
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
texMan.flush();
Object3D.resetNextID();
stop();
super.destroy();
if(loopThread == null){
loopThread.destroy();
loopThread = null;
}
exit = true;
world.removeAll();
world = null;
SimpleVector la=world.getObjectByName("xx.3ds").getCenter();
la=la.calcSub(camera.getPosition());
obj.setRotationMatrix(la.getRotationMatrix());
Quote from: "EgonOlsen"...oder du renderst den Text mit Java2D in ein Bild, machst daraus eine Textur und blittest die.
BufferedImage bf = new BufferedImage(128,128,BufferedImage.TYPE_INT_RGB);
Graphics2D g = bf.createGraphics();
g.drawString("test",20,40);
texMan.addTexture("test", new Texture(bf));
default mode: sun.awt.Win32GraphicsConfig@77a7f9[dev=Win32GraphicsDevice[screen=
0],pixfmt=0]
org.lwjgl.LWJGLException: Could not find a valid pixel format
at org.lwjgl.opengl.Win32PeerInfo.nChoosePixelFormat(Native Method)
at org.lwjgl.opengl.Win32PeerInfo.choosePixelFormat(Win32PeerInfo.java:5
2)
at org.lwjgl.opengl.Win32DisplayPeerInfo.<init>(Win32DisplayPeerInfo.jav
a:50)
at org.lwjgl.opengl.Win32Display.createPeerInfo(Win32Display.java:93)
at org.lwjgl.opengl.Display.create(Display.java:656)
at org.lwjgl.opengl.Display.create(Display.java:632)
at com.threed.jpct.GLHelper.init(Unknown Source)
at com.threed.jpct.GLRenderer.init(Unknown Source)
at com.threed.jpct.FrameBuffer.enableRenderer(Unknown Source)
Page created in 0.024 seconds with 12 queries.