I am working with threejs library. I want to convert glb animation file format to usda animation format? İs there any way/library to do it. Any answer would be helpful. Thanks :)
three.js provides GLTFLoader and USDZExporter, but the USDZ exporter does not support animation at this time. I'm not aware of any JavaScript USDZ exporter that does, currently.
Beyond that, your best option would be to use a non-web tool like USD from glTF, which must be run on your computer or a server that you can install software on.
Related
I have been reading the glTF specs and looking around and haven't been able to find an explicit answer to this: are video textures supported by glTF 2.0 or one of its extensions? Could anyone point me to the right thread or documentation if such exists?
Thanks!
This might be possible with the upcoming KHR_texture_transmission extension. However, it is not finalized yet. Check out the following presentation for more information:
https://www.khronos.org/assets/uploads/developers/library/2018-gdc-webgl-and-gltf/glTF-Texture-Transmission-GDC_Mar18.pdf
It says on page 12:
Video Texture formats currently in design phase
So after spending time looking around, I am not sure how I would even go about loading and using a glTF file I have found and want to use for my OpenGL ES 3.0 program.
Are there are loaders or am I charge of extracting all the data from the glTF file?
EDIT:
I am developing on Android API 24 with NDK to use OpenGL ES 3.0
AFAIK, as of today (April 2017), there is no easy/official way to load & draw a GLTF model in native/mobile environments - the webgl ecosystem is currently more friendly.
GLTF being quite young, you would have to find some code around, or build your own.
Another alternative would be to try to use assimp to convert your GLTF model to a format that you can easily display.
Check out the ATW Vulkan Sample from Khronos Group
I am about to find a 3d engine which is capable of importing 3d models, detect their collisions and support joints. It's needed for an interactive animation and no platform is specified jet. I would prefer to code Javascript or AS3, but I think to be able to handle this with Java too.
Does Away3d support this? Is their a plain 3D collision detection framework I could use additionally to it? Which is the easiest Java Framework and which creates best Quality?
BTW.:
Proprietary Frameworks might also be an possibility, but I just do not any.
Greetings philipp
Away3D has Awayphysics library that is alchemy port of C++ engine and show very good performance. Away3D has clean readable source code and documentation + good set of example projects. It has 3ds max plugin that can export scene and generate code to render it. Support popular formats like 3ds, obj... and You can write importer plugin for own format. All so developers are pretty cool guys that answer questions on forum :)
For JavaScript the most popular engine is three.js Look what it can do.
General thoughts:
WebGL support isn't good at this time(sometimes it depends not only on user browser but all so on drivers) and You will need to deal with cross browser headache. Flash isn't supported on IOS and get kicked more and more from device browsers. But there is cross-platform adobe air for standalone apps.
Javascript, in my opinion, isn't good for writing such projects and its debugging can cause permanent brain damage. WebGL shader language is GLSL that has nice C-like syntax. Ordinary Flash shaders are written on assembler but You may try pixelbender3d. At this time Flash shaders more limited than WebGL(for example you can't fetch texture in vertex shader) but it's done to make Flash more compatible and it's not a problem for most cases. WebGL is tightly integrated with page.
If you want java WebGL and like pain try GWT 3D engines or gwt-elemental and there is tree-js port at early stage.
x3dom is declarative WebGL 3D engine with fallback to Flash it is ez but pretty limited and unstable.
I would like to use Qualcomm's Augmented Reality SDK (Vuforia) with the min3D library and load obj model. How can I merge QCAR (Vuforia) with min3D? How to apply the projection and modelview matrixs of QCAR (Vuforia) to min3D? So that the scene is rendered correct in min3d.glsurfaceview? Has anyone developed an example?
There are plenty of OBJ file loaders for C++. Check the following answer for more information.
Lightweight OBJ mesh file loader for C/C++?
Rendering a mesh in Android NDK is not simple as you think, you need to learn OpenGLES for that. Instead you can use many rendering engines that are already ported to Android NDK. I use Irrlicht for rendering our game. The Android port is very stable for basic rendering needs. There is already many 3d mesh format loaders built in with Irrlicht
All over where I read about the Collada file format I see some hint as to how integrated Collada is to OpenGL ES - or the other way. How integrated is it really? I suspect not, but are there functions that directly work with Collada files? - or even parts of Collada files? Or do I need to create my own parser from the ground up?
You need to create your own parser, OpenGL or OpenGL ES doesn't have any model/mesh loading functionality, that's the developer's responsability.
I think this is about COLLADA FX - a 'meta' way of describing shaders. See "How does Collada FX integrate with OpenGL ES and OpenGL?" in the faq. The other stuff you still have to do yourself or find a library for.