Main Menu

Recent posts

#31
Bugs / Can't Switch Between 2D and 3D
Last post by AGP - September 25, 2025, 06:58:30 AM
Since I can't use AWTGLCanvas, I'm forced to try to switch to OpenGL rendering like in the following code block. Also, I can't initialize the FrameBuffer without creating the non-AWT frame (and I can't seem to hide it, either). I think that this qualifies as a bug.

                     if (currentScene instanceof Scene3d && lastScene instanceof Scene2d) {//SWITCH FROM 2D to 3D
                         frame.setVisible(false);
                         try{org.lwjgl.opengl.Display.setFullscreen(true);//CRASHING
                         org.lwjgl.opengl.Display.makeCurrent();}catch(Exception e) {}
                         keyMapper = new KeyMapper();
                     }
#32
Support / Re: Problem with AWTGLCanvas
Last post by AGP - September 25, 2025, 05:17:32 AM
Egon?
#33
Support / Re: Problem with AWTGLCanvas
Last post by AGP - September 02, 2025, 09:14:57 PM
Although I should reiterate that I usually use it on the entire frame. I'm making a sometimes-2d sometimes 3d game and it would be available there.
#34
Support / Re: Problem with AWTGLCanvas
Last post by AGP - September 01, 2025, 09:13:01 AM
I've tried everything. Test it out as an actual UI and let me know, please.
#35
Support / Re: Problem with AWTGLCanvas
Last post by EgonOlsen - August 29, 2025, 10:19:07 AM
I've moved the question into a new topic, just in case you are wondering.

I'm not aware of a problem with the location of AWTGLCanvas but then again, I've never really used it in situations where it doesn't use the whole frame. So I never tried to use it as part of an actual UI.

Have to tried to disable Java2D's accelerated rendering pipeline? Maybe it's a problem with that (albeit I doubt it, but it might be worth a try).
#36
Support / Problem with AWTGLCanvas
Last post by AGP - August 26, 2025, 11:58:45 PM
Egon, have you ever run into the problem with AWTGLCanvas in which the entire rendering is out of place on the canvas that I did about a decade ago and ever since on every computer I've ever run my stuff on? I'd love to have that fixed (most likely by switching to lwjgl 3 and convincing them to add AWTGLCanvas back). What do you think?
#37
Projects / Re: Sky Maze 3D
Last post by raft - April 17, 2025, 01:47:56 PM
Thanks Egon! It's always fun to do 3D :)
#38
Projects / Re: Sky Maze 3D
Last post by EgonOlsen - April 09, 2025, 09:47:54 AM
Nice to see you back in action. Game is still looking great and runs fine in Chrome.
#39
Support / Re: Is there any magic to comp...
Last post by AGP - April 06, 2025, 09:25:41 AM
To elaborate, I get a List<Channel> for the entire animation set from my importer. But without knowing what's what, I don't know how to create the individual clips of the different animations.
#40
Support / Re: Is there any magic to comp...
Last post by AGP - April 05, 2025, 09:04:39 AM
I will make a minimalist demo. Would you also help me parse the animations? Because that's basically the one thing that I haven't yet added to the glb thing. At some point I'll go back to the cloth simulation, too. I want to have all of these toys in jpct.