Android LiveWallpaper with OpenGL Objects - android

I have searched alot about creating a live wallpaper using opengl.In that I can only able to find the drawing shapes and rendering it.But I want to assign the objects (images) for rendering?Can anyone help me or guide me?
Where I can find the sample code?
Thanks in prior!!!

Maybe using a framework is a better way to create your wallpaper.
I know that libGdx allows to make live wallpaper. Drawing shapes and images is supported.
Here a tutorial for wallpapers creation:
http://molotuspi.blogspot.fr/2013/09/how-to-make-simple-android-live.html
And here the website of libGdx:
http://libgdx.badlogicgames.com/

You will need this implementation of WallpaperService to create OpenGL ES live wallpapers: https://github.com/markfguerra/GLWallpaperService

Related

How can I use LibGDX with AR library

I need to implement location based app with augmented reality. I draw a model with simple interaction with it (that's why I've chosen LibGDX) and I need to place this model on some point at the real world.
My small research gave me some solutions (like this or this). But all of them use marker-based drawing, but I need to draw model on surface.
Could anyone help me?
Person from Google has made some effort with ARCore using Libgdx, and had created a blog:
Investigating ARCore with LibGDX
Take a look at BaseARCoreActivity, which we can use to show some 3D Modle defined in Libgdx.

Android Vuforia Live Texture on 3d Model Coloring App

thanks in advance for any help that could be provided.
I would like to know if anyone can suggest or point to the right direction of researching and developing an app that will allow the client to color in an black a white coloring book and have vuforia map the texture that the client just painted into a 3d model. I have this youtube video as example to what I would like to achieve.
https://www.youtube.com/watch?v=SWzurBQ81CM
I am trying to find out if vuforia is capable to recreate this or which SDK I should be looking into to be able to have the client color in the drawing and use the client's coloring as a texture, It does not have to be synthesized from the paper, the coloring app could exist on the device.
Thanks in advance. I am not sure as to where to start researching this, so I am looking for direction, tutorials, books, or any kind of research material.
Probably RegionCapture is what you are looking for.
This package can be implemented with Vuforia and allows you creating Coloring Apps in Augmented Reality using Unity 3D.
RegionCapture Vuforia Unity
In addition to this, you can find a tutorial on youtube with the installation procedure.
Coloring App Youtube
I hope this information is helpful to you.
Best regards
Unity 3d and Vuforia can be used to get the desirable output like this.

Water Ripple Effect Android

I am trying to find out a way to implement a water ripple effect on a bitmap. I have just idea and I didn't start coding yet. I done some research but I can't really find a good way to implement this so far. Do you guys have any clue on this ? openGl can do this ?
Any help will be much appreciated.
Yup. Working out of the box library there http://www.jhlabs.com/ip/filters/index.html
Just follow their examples.
BTW, was curious and kept searching, thereĀ“s a bunch of links in this question Android - How to apply diffenernt Image Effects on bitmap like sepia, blackand white, blur etc
Yes openGL can do it. You can use Android OpenGL ES 2.0/3.0 Engine - Rajawali ,this engine support Virtual Reality as well as Augmented Reality .
You can use Rajwali to create water ripples as shown in this example :-
https://github.com/Rajawali/Rajawali/blob/master/examples/src/main/java/org/rajawali3d/examples/examples/effects/TouchRipplesFragment.java
You can download and see example from PlayStore

How to create Android Live 3D Wallpapers?

I was wondering how Android Live 3D wallpapers are created? what software is used? and how Developers make it interact with touch, swipe, etc... I hope someone help me how I can start ... Thanks
3d wallpapers are created in opengles. You can use libraries too . i am using Rajawali Library https://github.com/MasDennis/Rajawali . May be it will help u
Check out the Question/Answer live wallpaper with images
& for more about go to TheNewBostonAndroid for the Android video tutorials. Its very simple & easy to learn Android.

Android Live Wallpaper

I'm making a live wallpaper app and I was just wondering if I can create a background in photoshop and then place animations on top of that. I'm new to this and all the examples I've seen online don't really mention anything about this. Any help would be much appreciated!
I suggest using AndEngine for android. it has an addon specifically made for creating live wallpapers. you can also find some examples of usage in the andEngine examples.
Now a layered structure is pretty common and definitely should and can be used. So stacking photos isn't an issue but you really need to be careful about their sizes because you can quickly run out of memory.
Create the background in photoshop
Save it as png
Create a square in opengl
Texture the square using your background png
square should fit the screen in order to look like a background
Then create the animation or whatever in front of the background

Categories

Resources