Main Menu

Recent posts

#1
Support / Warning: [removal] Float(float...
Last post by AGP - October 20, 2025, 11:17:34 AM
And I'm only using JDK 21 (I never go to bleeding edge purposely). Also: warning: [removal] finalize() in Object has been deprecated and marked for removal.

The good news: I made an OrthographicCamera class which works with minimal changes to AWTGLRenderer and World. I'll add it to SoftGLRenderer also. I'd be more than happy to share it with you if you added it to the official release.
#2
Support / Re: Object3D.mergeAll(List)
Last post by EgonOlsen - October 10, 2025, 10:55:00 AM
This should work:

Object3D.mergeAll(new SimpleGlbLoader().loadGlbNoSkin(modelFile).toArray(new Object3D[1]))
#3
Support / Object3D.mergeAll(List)
Last post by AGP - October 09, 2025, 09:21:58 PM
Egon, could you possibly add that to version 1.33? I'm trying to mergeAll without looping but the line Object3D.mergeAll((Object3D[])new SimpleGlbLoader().loadGlbNoSkin(modelFile).toArray()) doesn't work. If I have to loop, we're back to very slow merging.
#4
Support / Re: Problem with AWTGLCanvas
Last post by AGP - October 06, 2025, 09:22:10 PM
It works, thanks a lot. I'm glad jpct is back at form. Actually, my standalone GLB importer is nearly perfect now. I have a script for splitting animations inside Blender and exporting multiple clips straight into jpct, so it's better than at form.
#5
Support / Re: Problem with AWTGLCanvas
Last post by EgonOlsen - October 06, 2025, 10:31:30 AM
Opps, I missed that. I've updated the download, please try again.
#6
Support / Re: Problem with AWTGLCanvas
Last post by AGP - October 03, 2025, 12:38:25 AM
Exception in thread "main" java.lang.NoClassDefFoundError: com/threed/jpct/AWTJPCTCanvas$1
        at com.threed.jpct.AWTJPCTCanvas.init(AWTJPCTCanvas.java:53)
        at com.threed.jpct.AWTJPCTCanvas.<init>(AWTJPCTCanvas.java:38)
        at com.threed.jpct.AWTGLRenderer.init(AWTGLRenderer.java:73)
        at com.threed.jpct.FrameBuffer.enableRenderer(FrameBuffer.java:1154)
        at com.threed.jpct.FrameBuffer.enableGLCanvasRenderer(FrameBuffer.java:739)
#7
Support / Re: Problem with AWTGLCanvas
Last post by AGP - October 02, 2025, 02:05:25 AM
Thanks very much. I'll let you know before I sleep.
#8
Support / Re: Problem with AWTGLCanvas
Last post by EgonOlsen - September 29, 2025, 10:53:14 AM
I've compiled a new version that includes that change (actually, the code above isn't 100% correct, because it does some changes to the existing code that make no sense, but I've omitted those).

Can you try this one and see if it also fixes your issue: https://www.jpct.de/download/net/jpctapi_133.zip
#9
Support / Re: Problem with AWTGLCanvas
Last post by AGP - September 27, 2025, 07:49:36 PM
It's software. I managed to recompile just the one class. And the fix worked!
#10
Support / Re: Problem with AWTGLCanvas
Last post by EgonOlsen - September 27, 2025, 02:31:26 PM
Quote from: AGP on September 27, 2025, 09:01:49 AMI tried quoting this line, but it didn't show up for some reason:
Have you actually tried this approach: https://www.jpct.net/wiki/index226d.html?title=Using_jPCT_in_Swing

This example seems to be using software rendering.

I don't think so. At the least the text says it's for the AWTGL-Renderer. As mentioned, I've never tried anything like that myself.