Friday, January 22, 2010

A test application

Here my first test applications using Poseidon and running on Linux and on Android emulator :


for his tutorial on MD2 :) and his quake II model.

Poseidon on Android is not a full JAVA application. It was built using android NDK.
There is JAVA code, but only to start a GL rendering view. All the rest is the same code (except Poseidon porting layer) as linux application.
As you can notice, bitmap loading is not yet implemented ^^. As far as I know, there is 3 ways to load a bitmap on Android platform :


Any advice on this point is welcomed :)

For the moment, I will cheat :
  • serialize the Image object to a file from PC version
  • copy the file onto Android 
  • deserialize the image from this file on Android platform.

Here the result on another model :

As you can see there is no difference 
between applications


No comments:

Post a Comment