xoppa / blog Goto Github PK
View Code? Open in Web Editor NEWblog
License: Apache License 2.0
blog
License: Apache License 2.0
This isn't so much a big report as just an indicator for anyone looking through here that there is some activity. Because the code as it is here won't work on LWJGL3 (and running on LWJGL3 is helpful for anyone using the current gdx-setup, or running on an M1 Mac), I ported the code to use Gradle 7.6, LWJGL3, libGDX 1.11.0, and so on. It's available here, https://github.com/tommyettinger/xoppa-gdx-3d-lwjgl3 . I didn't enter it as a PR because it requires substantial changes to the whole repo to get it working with Gradle, and also because this repo hasn't been updated in 6 years. I don't know if I ported some of the Bullet code correctly; the API has changed since this code was written, and there isn't a clear way to move ahead from:
btCollisionAlgorithm algorithm = dispatcher.findAlgorithm(co0.wrapper, co1.wrapper);
Because findAlgorithm()
now takes four arguments. At this point, I'm using:
btCollisionAlgorithm algorithm = dispatcher.findAlgorithm(co0.wrapper, co1.wrapper,
new btPersistentManifold(), ebtDispatcherQueryType.BT_CLOSEST_POINT_ALGORITHMS);
There could easily be something wrong here, I just don't have any idea what. This affects steps 3, 4, 5, and 6 in the bullet/ directory.
I should also mention that https://github.com/mgsx-dev/gdx-gltf is available now, and makes some tasks from this tutorial much easier or obsolete (such as using fbx-conv), though the general structure for how to do anything in 3D with libGDX is still very useful.
I downloaded this repo and tried to build the examples, but I got a bunch of errors in
I'm trying to build from AIDE, an Android IDE to write Android Apps (https://www.android-ide.com/)
And most errors are about Swing and Java libraries.
There should be an Android compatible GUI to load examples.
Please, can you help me?
Thanks in advance for any.
P.S.: Error list coming ASAP
I know you changed some shader stuff recently, I'm not sure if you are finished with that, but I got an NPE test the first part of the basic 3d tutorial:
DefaultShaderProvider: Creating new shader
Prefix:
#define positionFlag
#define normalFlag
#define lightingFlag
#define ambientCubemapFlag
#define numDirectionalLights 2
#define numPointLights 5
#define diffuseColorFlag
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: 0:145(11): preprocessor error: syntax error, unexpected IDENTIFIER, expecting NEWLINE
0:133(59): preprocessor error: Unterminated #if
at com.badlogic.gdx.graphics.g3d.shaders.BaseShader.init(BaseShader.java:120)
at com.badlogic.gdx.graphics.g3d.shaders.DefaultShader.init(DefaultShader.java:402)
at com.badlogic.gdx.graphics.g3d.utils.BaseShaderProvider.getShader(BaseShaderProvider.java:21)
at com.badlogic.gdx.graphics.g3d.ModelBatch.render(ModelBatch.java:237)
at com.badlogic.gdx.graphics.g3d.ModelBatch.render(ModelBatch.java:193)
at Basic3DTest.render(Basic3DTest.java:63)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:207)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:114)
I was wondering how to detect touch for each individual card? I tried adding a getBoundingRectangle method to the Card class but failed ..Kindly give us a hint
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.