3D waving flag in Android (using cloth simulation) - android

My goal is to create a waving flag in Android using OpenGL but I don't have any clue on where to start.
Cloth modeling seems to make the neatest effect but I couldn't find any implementation for Android on the web.
I hope that someone would know some tutorials, resources etc. that could help me solve this problem.
If you know easier/other ways to create a decent looking waving flag, let me know. I'm open for everything.
Thanks in advance!

First result on google
http://code.google.com/p/waving-flag-android/

A good tutorial about cloth simulation is from Jesper Mosegaard http://cg.alexandra.dk/2009/06/02/mosegaards-cloth-simulation-coding-tutorial/
The pioneer work on cloth simulation is from Darwin 3D http://www.darwin3d.com/gdm1999.htm#gdm0599
A open source project in Google Code provides a variety of algorithms http://code.google.com/p/opencloth/
All these works are based on C/C++ which is the natural programming language for OpenGL. As you are working on an Android project, you have to rewrite the algorithms in Java. After you figure out the mechanism, you should be fine. Good luck!

Related

What do I have to learn or should use in creating a 3D android game?

My thesis is to create an 3D android game. I have installed the 3D softwares like 3DS Max, ZBrush, Blender. I also downloaded Android SDK for Windows and I have Eclipse Juno. But I don't know how to start. Thank you in advance. :)
If you want to write a game, use a game engine.
I would advice against using OpenGL directly if you want to focus
on game mechanics or story. 3D game engines like
Unity or JMonkeyEngine
give you all the tools you need to turn your 3D assets into a game:
Importers for various file formats, a scene graph,
math libraries, and usually tons of example projects that get you
started quickly.
If you want to write a rendering engine, use OpenGL
With OpenGL you can build everything mentioned above yourself: Write
or find importers for your assets, figure out a lighting model, write
a scene graph. If you want to do all that, cool, use OpenGL. But
doing this technical stuff will keep you busy; you will have less time
to make a really great game.
I prefer OpenGL ES for Android. Good performance and easy enough to learn.
It's better to start from basic with opengl and then understand concept of using 3d and then prefer standard tool to use.
I have listed android game engine tool for 2d and 3d. Hope it might help u.
https://stackoverflow.com/questions/17163446/what-is-the-best-2d-game-engine-for-android/17166794#17166794
Start with unity3d which is a game engine, I am not sure but the names that you have posted are used for making 3d models for the game.
Your Thesis? That's pretty broad scope! :)
What I would be looking for, is something with lots of example code (since you say you don't know where to start) and good community involvement (ditto the start thing).
If you only need a single player setting, then I would suggest libGDX as a place that would be a good jumping off platform, as there are lots and lots of step thru tutorials along with lots of example code (and a very up to date wiki on the API), and a pretty good group at helping out with issues.
Since it is open source, you can dig as deep as you want into the inner workings to understand (or be mystified like me) as to how the code is accomplishing whatever task you are looking at. (which might be handy for your thesis)
While it might not be quite as polished as some other commercial 3d development kits, the BadLogic crew has made some very big progress the past few months on the 3d side of the house, along with breaking my JSON code... thanks! :) )

What libraries for interactive 3D model in Android AR app?

I'm asked to do an app with a 3D object mapped on a tag on the camera preview. The user should be able to rotate the 3D object on swipes, and to click on different area of the 3D object.
I'm investigating the different way to do it.
So far the best option I've found seems to be https://developer.vuforia.com/resources/sdk/unity, but I can't find whether it's possible to interact with the 3d model (rotate on swipe, define clickable areas).
Has anyone any experience with that?
I guess I can do it with some OpenGL, but I have no experience with it and it seems quite complex to start off with.
Is there any other library I should consider?
I would use OpenGL and start by the training tutorials on http://developer.android.com/training/graphics/opengl/index.html. Hope this helps! If you follow these tutorials you will be able to do what you want. ive tried unity and it is a really good engine too. and of course you can make an object clickable with unity! maybe using unity would be easier but the documentation on opengl is huge and is not that difficult to implement at least with first steps. hope this helps
The Metaio SDK can do all of that but I am not sure if it automatically provides the area of the model tapped, but you could ask here.

3D Scene Creation & SDK

I am looking to create a 3D scene for Android devices.
I do not know where to begin, so help would be appreciated.
I, basically, need to create the 3d scene (what to use?) allow objects to be added or removed from the scene, and have an SDK to load and display the scene on an Android device.
I know all this would be ideal in a single resource, but I know I will have to adapt function calls to JNI/Android OpenGL.
Any help for how to get started or where to begin research would be appreciated.
PS. I will use a viewport to look into the scene from different perspectives.
Maybe you are looking for something more advanced but processing.org is a great place to start if you just want to use Java.
There is a Processing.org IDE for Android and you can use a plugin for eclipse.
There are a lot of great 3D modelling libraries that are easy and fun to use but also really good.
Here are a few links that may help if you think it's worth looking at.
One of many cool videos showing what you can do with processing.org
A less cool but interesting demo
Some libraries
The processing Android Wiki
Follow the links...
http://developer.android.com/guide/topics/graphics/opengl.html
http://www.droidnova.com/android-3d-game-tutorial-part-i,312.html
Tutorials and libraries for OpenGL-ES games on Android
http://www.enfis.it/archives/14

What advantages cocos2d-android does provide over android 2d

I have seen several posts here about cocos2d-android, so ambition to get more idea on it drag me at coco2ds-android-1 and a good example .
My analysis can not find any significant benefit of using coco2ds instead of usual 2d approach of surfaceView and SurfaceHolder.Callback .
I will be thankful if anybody have expertise over coco2ds-android will guide me about benefits to use it instead of usual gaming approach .
Just by clicking on links starting from the ones in OP, I have came across http://dan.clarke.name/2011/04/how-to-make-a-simple-android-game-with-cocos2d/ - which states the obvious answer you are looking for.
First of all, this is a 2D gaming engine. All of the physics and whatnot effects are just there for you. No need to re-implement from scratch
Secondly, this is actually a port of the iPhone gaming library with the same name - great news if you also plan on porting to iPhone. And thirdly it is open sourced, meaning you can tweak anything accordingly.
I have noticed however that this is a pure java library, so do not expect amazing performance. If performance is critical, google for something NDK based, not SDK based. I could not advise here as gaming is not my thing.

how to develop graphics in android application

i have just gone through making some basic apps on android and was wondering
how to get graphics on the screen....and how to go about
developing something like the tom cat application first and then go onto games...
could you'll plz point me in the right direction as to how to approach this...
and wat all it requires?
I highly recommend you read through this series of tutorials to get you started with drawing 2D graphics on Android for games.
The Android API "Lunar Lander" got me started on 2D gaming. Of course, it's now apparent that there are flaws in it the demo, but still.. It gives you an idea of how to draw objects on the screen.
It sound like you are new to development, if yes: you should read more basic
Everything is on android development official site.
Ho through basic and learn math then you will be able to do complex apps like Tom cat

Categories

Resources