Profile cover photo
Profile photo
Stephane Schittly
102 followers -
Android developer / maker
Android developer / maker

102 followers
About
Stephane's posts

Post has attachment

Post has shared content
It's getting colder here in Colorado as we approach the holidays, so I built a candle to keep me warm! This is also a great example of mapping Android concepts to IoT in Android Things.

The code uses ObjectAnimator to vary the output of the PWM connected to a pair of LEDs, and BounceInterpolator to create a flickering effect as the animations run infinitely. No timers or complex logic!

Gist: https://gist.github.com/devunwired/8656c1902ec856e5f4b26f45cd21f2fd
Animated Photo

Post has attachment

Post has attachment

Post has attachment
I'm trying to use Rajawali in two fragments, each have it's own renderer, using getCurrentScene and getCurrentCamera. Both are displayed and my OBJ model is loaded, but the first fragment will always look like the shadows are not rendered.
I've seen there's a way to add scenes but I would like to have the flexibility of using fragments.

Logcat:
libEGL: call to OpenGL ES API with no current context (logged once per thread)
Rajawali: Getting location of uniform: uTime returned -1!
Rajawali: Getting location of uniform: uLightPosition0 returned -1!
Rajawali: Getting location of uniform: uLightPosition1 returned -1!

Photo

Post has attachment

Post has attachment
Java 20 predictions

Post has attachment
Google just release 4 games on the Play Store with links to the source code.

Post has shared content
"I’m going to jump to my favourite kind: 3D effects. They give your UI some depth and, much as with the Spanish Inquisition, nobody expects those suckers."
Add a touch of showbiz to your project!

3D is awesome, love the stuff. Used sparingly it can elevate your projects: http://aerotwist.com/tutorials/protip-nobody-expects-3d/
Photo

Post has attachment
Wait while more posts are being loaded