Go to advanced search

by paddyg
Tue Jan 10, 2017 3:46 pm
Forum: Python
Topic: Pi3D
Replies: 35
Views: 3285

Re: Pi3D

... to check for ALL changes and keep a tally of which ones have been pressed but not yet released. I think there is a blocking keyboard option kb = pi3d.Keyboard(use_curses=False) but I've not used it for years so it might be buggy (I will have a look at it now). If you use that you will have to ...
by jeanot1314
Tue Jan 10, 2017 3:10 pm
Forum: Python
Topic: Pi3D
Replies: 35
Views: 3285

Re: Pi3D

... a new video playing on the "Temple of time" from Zelda. Have a look, It's really fun :) I just have a little problem on keyboard keys from pi3d. How could I read the keys without a "keyboard format". I mean, if you press "b" while pressing "a", the key "a" stop and send only "b". My avatar ...
by paddyg
Tue Jan 10, 2017 2:12 pm
Forum: Graphics programming
Topic: pi3d fresh install problems
Replies: 4
Views: 1126

Re: pi3d fresh install problems

Hi, just to reassure me that the current version of pi3d hadn't become incompatible with the latest jessie I did a fresh install. My steps: 0. burn new image to micro SD as per standard instructions. 1. boot Pi 2. setup option increase graphics memory ...
by paddyg
Tue Jan 10, 2017 1:21 am
Forum: Graphics programming
Topic: pi3d fresh install problems
Replies: 4
Views: 1126

Re: pi3d fresh install problems

... only the full screen ones that have a problem? Are you running from the terminal without xserver started or from the desktop? I think I have run pi3d from the latest raspbian 2016-11-25 but I will double check. Have you adjusted the GPU memory allocation? PS 1281 is the decimal form of hex 501 ...
by Reganmaxx
Mon Jan 09, 2017 8:57 pm
Forum: Graphics programming
Topic: pi3d fresh install problems
Replies: 4
Views: 1126

pi3d fresh install problems

Hi, Just upgraded to a pi3 with a fresh OS install and I can't get pi3d to work, the full screen demos just clear the terminal except the cursor in the top left then when I ctrl C to exit sometime i don't get any information and sometimes I get the following ...
by jeanot1314
Wed Dec 21, 2016 11:43 pm
Forum: Python
Topic: Pi3D
Replies: 35
Views: 3285

Re: Pi3D

oups, the link didn't work....

The project is "BeYourHero" on Instructables.com

instructables.com/id/BeYourHero-DIY-VR-Immersive-Games/
by paddyg
Wed Dec 21, 2016 11:13 pm
Forum: Python
Topic: Pi3D
Replies: 35
Views: 3285

Re: Pi3D

@jeanot, I will have a look at point_at() it's quite a while since that method was introduced and there might well be bugs that need ironing out. Camera.get_direction() will return a unit vector in the direction the Camera is pointing (numpy 1D array) and v1 = myshape.unif[0:3] - CAMERA.eye will ret...
by jeanot1314
Wed Dec 21, 2016 10:47 pm
Forum: Python
Topic: Pi3D
Replies: 35
Views: 3285

Re: Pi3D

All right, real pictures and video are here!

I added you to the list of people to thank at the end ;)

Hope you will like the project!
by jeanot1314
Wed Dec 21, 2016 8:23 am
Forum: Python
Topic: Pi3D
Replies: 35
Views: 3285

Re: Pi3D

It seems that CAMERA.point_at() is also creating some interference. I have some "blynk" on the screen like if the position was changing for few microseconds. I retested the joystick this morning, and this code work well with "camera_orientation=0". if math.fabs(joystick_v_axis_pos) > 0.1: xm -= math...
by jeanot1314
Wed Dec 21, 2016 7:56 am
Forum: Python
Topic: Pi3D
Replies: 35
Views: 3285

Re: Pi3D

Just reading again my post, I forgot to say that it's working if I set the orientation to 0. :lol:
by jeanot1314
Wed Dec 21, 2016 12:35 am
Forum: Python
Topic: Pi3D
Replies: 35
Views: 3285

Re: Pi3D

... Serial because it's better for me to don't have a HID joystick. So I want to use my two Joystick position like this: (it's inspired from vr-zero pi3d code) if math.fabs(joystick_v_axis_pos) > 0.1: xm -= math.sin(orientation)*-joystick_v_axis_pos zm -= math.cos(orientation)*-joystick_v_axis_pos ...
by paddyg
Mon Dec 19, 2016 9:50 pm
Forum: Python
Topic: Pi3D
Replies: 35
Views: 3285

Re: Pi3D

jeanot, your project sounds amazing and I am really looking forward to seeing it in full. However I'm a bit worried that the process of subtracting the correction rotations and adding back the absolute rotations will still not give the right answer, it's not that I can see a specific problem, just t...
by jeanot1314
Mon Dec 19, 2016 8:13 pm
Forum: Python
Topic: Pi3D
Replies: 35
Views: 3285

Re: Pi3D

Hi, Thanks for the help! So, if I understand correctly, using camera.euler_angles() I can calculate the three "inversed angles". When I have those three angles ready, I just need to do : Hand_angleX - Inverse_arm_angleX = New_Hand_angleX Hand_angleY - Inverse_arm_angleY = New_Hand_angleY Hand_angleZ...
by blankname
Mon Dec 19, 2016 2:11 pm
Forum: Python
Topic: Advice on GUI framework for a touch foosball scorer
Replies: 2
Views: 722

Re: Advice on GUI framework for a touch foosball scorer

... pushbuttons and/or a traditional keyboard, but I was unable to find how easy to use is the mouse (or single point touchscreen) support in the Pi3D framework when configured on 2D mode. Pi3D may be the framework with the best performance since it is designed to be GPU accelerated, but, as far ...
by ghans
Sun Dec 18, 2016 10:06 pm
Forum: Beginners
Topic: How to control what is output via HDMI?
Replies: 1
Views: 423

Re: How to control what is output via HDMI?

... own software using "dispmanx" or "OpenGL ES" etc. Of course , you can use toolkits built on top of those things for simplicity (Kivy , JogAMP , Pi3D , Qt5 etc..) ghans
by paddyg
Sun Dec 18, 2016 1:38 am
Forum: Python
Topic: Pi3D
Replies: 35
Views: 3285

Re: Pi3D

... then apply X to the result this will be a different rotation to YXZ, YZX, ZYX, XZY and ZXY if you use the (non-standard) axis orientation of pi3d (and the opengl screen) of z in, y up and x rightwards and take the vector 0,0,1 (i.e. straight into the screen) and apply 90 degree rotations ...
by jeanot1314
Sat Dec 17, 2016 6:21 pm
Forum: Python
Topic: Pi3D
Replies: 35
Views: 3285

Re: Pi3D

Hi, My project is almost done, and my Instructable almost ready. Should be posted next week :) I am just really struggling on something right now. The avatars parts are assembled with the add_child method. It work great but I have a little problem If I play with two parts like a arm and a hand : Whe...
by paddyg
Fri Dec 16, 2016 9:20 pm
Forum: Python
Topic: Advice on GUI framework for a touch foosball scorer
Replies: 2
Views: 722

Re: Advice on GUI framework for a touch foosball scorer

... Stefan Wehner's application https://github.com/swehner/foos I don't know if he uses a touch screen but it should be feasible. The event system on pi3d (written by Richard Urwin) is complicated but flexibly and seems to be able to cope with pretty much any type of input on the Raspberry Pi. PS ...
by blankname
Thu Dec 15, 2016 11:08 am
Forum: Python
Topic: Advice on GUI framework for a touch foosball scorer
Replies: 2
Views: 722

Advice on GUI framework for a touch foosball scorer

... is just mouse support), and drag and drop would be great (drag an image from its place and drop it on some boxes). I've checked PyGame and Pi3d to render 2D interfaces (they should have better performance than PyGTK, but don't know how good is the mouse support for a touch application), ...
by paddyg
Sat Dec 10, 2016 8:51 am
Forum: Beginners
Topic: Trouble installing Pillow / PIL
Replies: 39
Views: 25590

Re: Trouble installing Pillow / PIL

... installed Pillow on jessie lite and run it ok on an old type A though I did do all the setup on a type 3 for speed. The istructions are on the pi3d faq page.
by ghans
Fri Dec 09, 2016 7:54 am
Forum: Graphics, sound and multimedia
Topic: Animations with html5/css3. is there something better?
Replies: 1
Views: 431

Re: Animations with html5/css3. is there something better?

Anything using OpenVG/OpenGLES should be faster , like Qt5 , Kivy or Pi3D.

ghans
by paddyg
Mon Nov 14, 2016 3:25 pm
Forum: Python
Topic: Pi3D
Replies: 35
Views: 3285

Re: Pi3D

jeanot, pi3d runs ok on other machines provided they have something installed to translate the OpenGLES 2.0 functionality to OpenGL - and of course there has to be hardware which runs OpenGL, which includes normal computers that ...
by jeanot1314
Mon Nov 14, 2016 3:20 pm
Forum: Python
Topic: Pi3D
Replies: 35
Views: 3285

Re: Pi3D

My bad... my question is explained in the documentation!

https://pi3d.github.io/html/ReadMe.html
by jeanot1314
Mon Nov 14, 2016 2:53 pm
Forum: Python
Topic: Pi3D
Replies: 35
Views: 3285

Re: Pi3D

Hi, Another little question, I feel really sorry to bother you that much... :? I was wondering how complex it would be to run pi3d on another machine? Could be embedded like an odroid C2 on ubuntu, or even on mac/windows. I am building some sensors to recognize the moving part of the ...
by paddyg
Sun Nov 13, 2016 7:44 pm
Forum: Python
Topic: Pi3D
Replies: 35
Views: 3285

Re: Pi3D

Great, yes I'd like to know how it progresses. Also, I forgot to mention: It is possible in blender to make a high resolution model with lots of fine detail then generate a normal map from it (look up render, bake to normal) You can then use a really low-poly mesh with the uv_bump or uv_reflect shad...

Go to advanced search