Hi, From our last discussion, I was supposed to study this https://github.com/tipam/pi3d. Here are some of my observations which may be crucial for this project's successful completion. 1.) The OpenGLES2.0 functionality of the Raspberry Pi or Android is used directly used by pi3d -> Great (We can also achieve something of this sort) 2.) As a result it becomes quite faster and all desired results can be achieved. Please have a look at this link (https://drive.google.com/a/iiits.in/folderview?id=0B5eOHLgkHrn5b3BtUXZTbjVaNzg&usp=drive_web) which shows working of pi3d which I worked out reading pi3d docs.
Conclusion : Project of making VisPy work on the Raspberry Pi and mobile devices is doable.
Steps I would like to follow :
1.) Study the code base of VisPy in depth.
2.) See Performance difference in terms of execution of same script in pi3d and VisPy.
3.) Through 1 & 2 bring out the reason for such significant difference in performance.
4.) Start modifying the code locally and highlight the suitable changes to be made.
Is my approach correct? Also I would like you to guide me for achieving better results.
Thanking You,
Krit Karan
Hi,
Based on what I was asked to do this is all what all I have done :
1.) 2 Python scripts that use Opengl (one with pi3d module and pyxlib[special backend], other without it)
2.) According to this link ( http://www.raspberrypi.org/forums/viewtopic.php?f=33&t=6935 ) importing pi3d.constants does Hardware acceleration.
Observation:
Please refer to this link (https://drive.google.com/folderview?id=0B5eOHLgkHrn5WG9pc2tBdU5Ybnc&usp=sharing ) containing two scripts (a.py), fps.py[for calulating frames per second], the entire pi3d module(only constants were imported), 2 text files which show fps data for both the scripts. (Significant difference) [drop rate is more which clearly shows scope for further improvement]
Thanking You,
Krit Karan
References :
1.) http://www.raspberrypi.org/forums/viewtopic.php?f=33&t=6935
2.) http://www.raspberrypi.org/forums/viewtopic.php?t=12630&p=136859
3.) http://thebugfreeblog.blogspot.in/2013/04/hardware-accelerated-qtmultimedia.html
4.) https://www.pygame.org/docs/tut/ImportInit.html
Hi Cyrille,
Hi Cyrille,
--
You received this message because you are subscribed to the Google Groups "vispy-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vispy-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vispy-dev/4c41e165-c1b1-4f83-a91d-a9cd9ca5a64b%40googlegroups.com.
Hi Cyrille,
Hi Cyrille,