kivy and 3d graphics transformation.

77 views
Skip to first unread message

mse...@unito.it

unread,
Mar 30, 2015, 8:55:23 AM3/30/15
to kivy-...@googlegroups.com
Hi all, 
I am trying to build a kivy app on Android, that given a list of 3d point coordinates, draws
them on a 'jpg' picture  using a specified perspective.
On Linux I am able to accomplish this through opengl libraries, while it seems
that no equivalent is ready to use on Android. 
Which solution you guys recommend?
I have no problems of speed, because I do not have to animate the picture once it is created.
Does it make sense to use  an external java 3d library for the processing  and then 
make it available through 'autoclass' ? 
Basically I would do rendering of the polyline  using  the Java library,
save it on a 'png' file,
then merge it with the 'jpg' picture and finally display 
the result on an Image widget.

Alexander Taylor

unread,
Mar 30, 2015, 10:52:34 AM3/30/15
to kivy-...@googlegroups.com
Kivy is itself an opengl framework, so in principle you could use it directly, though it needs some gl knowledge and you'd need to construct your own 3d mesh.

I'm not clear on what your real limitations are - how are you drawing the coordinates? Can you provide some example images that you might hope to generate?

mse...@unito.it

unread,
Apr 1, 2015, 6:21:34 AM4/1/15
to kivy-...@googlegroups.com
look at the pictures in this folder:


basically  fo.png + prova.png = res.jpg

the file 'prova.png' contains some gps track segments that I want to draw on the landscape ('fo.png')
as seen from the position in which the picture has been taken. In order to do that I must
use 3d graphics for drawing the track segments.
BTW in the sample picture the positions are not correct, but just to give an idea..
Reply all
Reply to author
Forward
0 new messages