3ds animation on android - java

I'm struggling to find a way to load a 3d model/animation on Android.
I know min3d framework and I would like to create a sample 3d animation, like a level, and running it on android.
Min3D is supporting really well the md2 files but I don't know really how to edit md2s.
Is there any way to load 3ds animations even not using min3d? if not, is there an alternative way?
thanks

Here is a free library that should get you started:
http://www.jpct.net/jpct-ae/index.html

Related

Best way to display scalable graphics as icons in JavaFX?

I am making a desktop app using JavaFX as the GUI Framework. I wan't my app to scale at any DPI, so I want sharp icons whether the app is run on a 1024x768 or 4K screen. In HTML achieving this is pretty easy with SVG, however I have not found a way to display scalable graphics directly in JavaFX.
What is the best way to achieve this? The app will obviously contain many icons, so I need it to be light and fast. Frankly, I haven't found anything close to what I want searching Google.
Thanks for your help!
Here is a library that you might want to have a look at:
JavaFXSVG
In addition to mipa's answer, I have similarly solved my problem using svg2fxml, available here: https://tomsondev.bestsolution.at/2012/08/22/svg-to-fxml-converter-as-commandline-util/

Can you import Spriter Pro 2d rigged sprites to LibGDX?

as it says, I've read online about Spine being imported over to LibGDX. I'm using Android Studio to develop a game and using the LibGDX framework. But my game requires 2D rigged animation than the pre-rendered models so I'm using Spriter Pro. But I want to know how do I import what I make from Spriter Pro to LibGDX so I can use what I make from there to develop my game on the LibGDX framework.
and if anyone could elaborate, couldn't a 2d animation with lots of frames be just as efficient as a 2d rigged animation? I dont see the pros and cons for both, just that 2d animation could take up alot of time to make
This Library might work for you
I'm currently trying to implement this library in my own project but I'm still having strange problems as seen below:
problem
I hope it helps and please contact me if you get it implemented in libGDX without this problem.
edit: sorry Xoppa, did not see your comment
In addition o the already mentioned https://github.com/Trixt0r/spriter repository you may want to try out https://github.com/blueacorn/libgdx-spriter-demo for some simple ready-to-go implementations of the necessary loaders and drawers. The readme includes an easy tutorial for quick results.

3d effects in android and Iphone

We have a lot of days of research but can't find a solution for the following project. We need to convert a flux project to IOS and android native app. But as flux supports flash scripting it has easily implementing some 3d effects like shadow, emboss gradient etc. Please check the link here for seeing the swf file we have. We need to convert all this features into a native IOS and android app. We have research some area and found that most of the item we can implement except one icon here. The fourth icon have some 3d effects, shadow effects, border, emboss, contour and gradient etc. Can anybody check on this and guide us whether this can be implemented in IOS and android. I am pasting the entire url here again http://projects.zoondia.org/signfabcreator/signCreator.swf. Please check and let me know if this is possible. Let me if this is possible or not. If yes it will be helpful for me if anybody can give me a clue about implementing those in both android and ios
Very interesting! But I'm afraid you have to reimplement all this functionality by yourself. Don't be upset. There are good news for you - OpenGL ES and GLSL are extremely portable. So you can reuse 100% of your shaders. What is even better now you can share the other code too and stay native. Not long ago Intel announced the Multi-OS Engine. It enables you to develop native mobile applications for iOS and Android with Java. There are a bunch of tutorials inside installation package. One of them is especially dedicated to cross-platform OpenGL capabilities. Please check out my OpenGLBox sample.

How to make H.264 file fast-forwardable in Android application?

I am an intern at company and my 'learning task' is to make Android application in Java, which takes H.264 format videos (at first they will be stored at SD card) and make like a very simple player, which would have the following features:
1.You can pause/play/fast-forward/fast-backward video
2.When you are at certain point of video and it is stopped, you can switch to the same time in a different video (same picture frame index i guess).
How could i do that? Is using Gstreamer a good way? I looked at the poor tutorial available on net and because of my lack of experience in video processing (I've never worked with video in Android applications) I have quite a hard time understanding what is pipelines, also the JNI and even setting up Gstreamer for Eclipse. Is there a better way of doing this? What should I get to know before starting to mess with this program?
Thanks, in advance!
All of your mentioned features are possible in Gstreamer, however, there is a learning curve.
To understand the GStreamer android tutorials, you must first go through the basic tutorials here: http://docs.gstreamer.com/display/GstSDK/Basic+tutorials
If you feel comfortable with the pipeline architecture, then go ahead and set up your android environment (which is no easy task by itself). Gstreamer is a very very powerful framework where you can do almost anything, if you're willing to make the effort to overcome the learning curve.
So i suggest to go ahead in gstreamer only if you have the time and patience, else go for a simpler solution. Unfortunately i'm not familiar with android, so i cannot suggest any. maybe a quick google search will help.

How to render good quality image from 3d scene in java/c++

i need to develop simple 3d application ( i don't know if its going to be java or c++ )
now how to use 3d engine i know , but in the end i need to produce rendered image or movie
out of the 3d scene.
who should i do it in application ?
If you need an image with really good quality I think you should use a 3D engine with ray tracing.
Implementing a raytracer might not be a easy task, so my recommendation is to use an existing one, like for example POV-Ray. I think it's possible to embed it in other applications. Raytracing stills takes some time, so the rendering will not be in real time.
In Java you can use Java3D but you will need some work.
Java 3D API
http://java.sun.com/developer/onlineTraining/java3d/
At
http://www.javalobby.org/articles/ultimate-image/#4
you'll find a description on how to render images to an Image instance, and how to save that to a file in Java

Categories