Go to advanced search

by paddyg
Sat Apr 18, 2020 10:47 pm
Forum: Graphics programming
Topic: PI3D - specify the HDMI port to use
Replies: 14
Views: 2104

Re: PI3D - specify the HDMI port to use

Sven, thanks for having a look at this for me. I'm not sure what you mean by "running any pi3d templates..." have you managed to run any of the pi3d_demos scripts OK before trying to get both screens working? I will have a look on my RPi in the morning and see ...
by /tmp/sven
Sat Apr 18, 2020 2:39 pm
Forum: Graphics programming
Topic: PI3D - specify the HDMI port to use
Replies: 14
Views: 2104

Re: PI3D - specify the HDMI port to use

... and right display is ":0.1". To answer paddygs question: l /tmp/.X11-unix/ total 0 srwxrwxrwx 1 root root 0 Apr 18 15:44 X0 Running any pi3d templates will result in python to freeze at import 'pi3d' # <_frozen_importlib_external.SourceFileLoader object at 0xb668ecd0> Trying to work ...
by paddyg
Tue Apr 14, 2020 9:07 am
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 279
Views: 59805

Re: Image viewer with transition between images

Chris, glad that your problem seems to be sorted. But it is rather strange! The font being used for displaying with pi3d shouldn't make any difference: In python strings are created by putting characters between quotation marks where the opening and closing quotes are the same. The ...
by paddyg
Sun Apr 12, 2020 1:04 pm
Forum: Graphics programming
Topic: PI3D - specify the HDMI port to use
Replies: 14
Views: 2104

Re: PI3D - specify the HDMI port to use

... should get something like X0) 2. With two displays ``ls /tmp/.X11-unix`` don't know what you will get but hopefully something additional 3. Edit pi3d/util/DisplayOpenGL.py which will either be in /usr/local/lib/python3.7/dist-packages/ or if you clone the github repository, wherever that is (normally ...
by wcasey
Sun Apr 12, 2020 4:43 am
Forum: Graphics programming
Topic: PI3D - specify the HDMI port to use
Replies: 14
Views: 2104

Re: PI3D - specify the HDMI port to use

I think I'm looking for the same thing. I want to modify the pi3d PictureFrame.py demo script to simultaneously drive two different displays (HDMI1 and HDMI2) so each frame displays pix from a different subfolder from the other. Can't see how I might specify ...
by paddyg
Sat Apr 11, 2020 10:00 pm
Forum: Graphics programming
Topic: PI3D - specify the HDMI port to use
Replies: 14
Views: 2104

Re: PI3D - specify the HDMI port to use

Hi, it's not obvious! I will play around with this tomorrow and see if I can figure it out. (It will need to have the option added to the arguments of Display.create() as you say.)

Paddy
by JeDy111
Wed Apr 08, 2020 8:13 pm
Forum: Graphics programming
Topic: PI3D - specify the HDMI port to use
Replies: 14
Views: 2104

PI3D - specify the HDMI port to use

Hello, In PI3D, is it possible to specify the HDMI port to use? I have two monitors and my python script should display a video on HDMI-0 and PI3D on HDMI-1. Please apologize if the answer is obvious, but I have not been able to ...
by kaphu
Fri Mar 27, 2020 2:59 pm
Forum: Graphics programming
Topic: Cross-compiling Rust programs that use OpenGLES2
Replies: 7
Views: 1642

Re: Cross-compiling Rust programs that use OpenGLES2

Thanks for the replies. As I was afraid, since the cross-compiling seems not to be trivial at this point, I have little interest in starting a project that would have to be compiled on rpi every time. "cargo check" sounds like a reasonable improvement over traditional c/c++ building cycle,...
by paddyg
Sat Mar 21, 2020 11:13 pm
Forum: Graphics programming
Topic: Cross-compiling Rust programs that use OpenGLES2
Replies: 7
Views: 1642

Re: Cross-compiling Rust programs that use OpenGLES2

Feel free to rummage through https://github.com/paddywwoof/rust_pi3d/ It's an attempt by me to get to grips with Rust by programming something I understood reasonably. I've subsequently tried to add on a pyo3 wrapper to make it back into a python module! PS it works reasonably vanilla on ubuntu lapt...
by paddyg
Tue Mar 17, 2020 10:12 pm
Forum: Beginners
Topic: "canvas" type graphical library?
Replies: 5
Views: 1032

Re: "canvas" type graphical library?

pi3d canvas is a bit of a cheat really. pi3d uses OpenGL functionality which is very fast but the 2Dness is simply rendering 3D points, lines and triangles with no perspective. Which is 2D I suppose but things like filled ...
by PiGraham
Tue Mar 17, 2020 12:47 pm
Forum: Beginners
Topic: "canvas" type graphical library?
Replies: 5
Views: 1032

Re: "canvas" type graphical library?

... https://www.pygame.org/docs/ref/draw.html tkinter has Canvas with create_line etc https://kite.com/python/docs/Tkinter.Canvas The same is in SDL2 pi3D, which I think can be used for 2D, has canvas https://pi3d.github.io/html/_modules/pi3d/shape/Canvas.html Ditto Qt If you look into most GUI libraries ...
by paddyg
Mon Mar 16, 2020 4:39 pm
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 279
Views: 59805

Re: Image viewer with transition between images

... SD card life and avoiding corruption. PS not tried any of this so it would be interesting to hear if/how it works with python and PictureFrame PPS pi3d subscribes to the MIT license which pretty much says you can do what you want with it but has the potential issue, that you have to pass that on ...
by chris9753
Sun Mar 15, 2020 11:05 pm
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 279
Views: 59805

Re: Image viewer with transition between images

... start_slideshow.sh executed so that wasn’t the problem. But that got me thinking, why did I need a slideshow script at all, why couldn’t I start Pi3d/PictureFrame directly from the crontab? I then deleted the start slideshow script and entered start pi3d/pictureframe directly into the crontab. ...
by chris9753
Sun Mar 15, 2020 3:11 am
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 279
Views: 59805

Re: Image viewer with transition between images

... at the end. That would mean my pi would receive exactly the same input as i was putting in terminal. I've shown this the screenshot below. Sadly, PI3D didn't launch automatically at reboot. The best laid plans .... IMG_0002.jpg Thanks again for your help, Chris
by chris9753
Sat Mar 14, 2020 10:12 pm
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 279
Views: 59805

Re: Image viewer with transition between images

I guess you checked here already (https://www.thedigitalpictureframe.com/how-to-autostart-and-monitor-the-pi3d-image-viewer-on-your-raspberry-pi-2-3-or-4-with-systemd/). Thanks again Wolfgang and yes I have tried to implement this. I was able to correctly install the file, ...
by chris9753
Sat Mar 14, 2020 9:44 pm
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 279
Views: 59805

Re: Image viewer with transition between images

Morning Paddy (or is it evening there? I’m in Australia) and thanks again for your amazingly quick response and help. To answer your questions The model pi I have is a 3b+ Memory = 128 MB Driver = legacy GPU (GL driver is disabled) I have added screenshots to confirm this. IMG_0014.jpg IMG_0016.jpg ...
by chris9753
Sat Mar 14, 2020 10:43 am
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 279
Views: 59805

Re: Image viewer with transition between images

... the ExecStart command straight into terminal. I will describe the effect of this to Paddy as it seems more his area of expertise. Paddy, I do have Pi3d installed and in the correct place. Because PictureFrame crashed when it hits line 19 (Import Pi3d) I had assumed, incorrectly, that it either ...
by paddyg
Fri Mar 13, 2020 10:36 pm
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 279
Views: 59805

Re: Image viewer with transition between images

Chris, you will definitely need to have pi3d installed and PictureFrame definitely needs to import it for the program to run. The standard way is to use pip3 as described on Wolfgang's comprehensive instructions. That process 'simply' copies ...
by sapnho
Fri Mar 13, 2020 1:49 pm
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 279
Views: 59805

Re: Image viewer with transition between images

Glad you like Pi3D, @chris9753. Paddy did an outstanding job, indeed! Two things you may want to do: Update Pi3D (https://www.thedigitalpictureframe.com/great-new-features-for-your-digital-picture-frame-with-the-new-pi3d-image-viewer-nov-2019/) ...
by chris9753
Fri Mar 13, 2020 6:02 am
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 279
Views: 59805

Re: Image viewer with transition between images

A big thank you to Paddy and others for developing PictureFrame and Pi3d and also to Wolfgang for his organising, motivating and blog. It's a fantastic program and I’ve got it working on a pi3b almost perfectly. The only part not working perfectly is getting ...
by fruitoftheloom
Thu Mar 05, 2020 5:58 am
Forum: Off topic discussion
Topic: Raspberry Pi GPU Concept (" Model D ")
Replies: 182
Views: 24741

Re: Raspberry Pi GPU Concept

... * D is for Datacenter form factor * D is also for Delta (the other two are Model Alpha and Model Beta) * Model D is the name of a synthesizer * Pi3D/Pi4D emphasise Dimensions of space and time that GPU’s draw It’s just a thought at the moment, nothing official. Personally would use nothing Pi ...
by TheMindVirus
Thu Mar 05, 2020 5:56 am
Forum: Off topic discussion
Topic: Raspberry Pi GPU Concept (" Model D ")
Replies: 182
Views: 24741

Re: Raspberry Pi GPU Concept

... * D is for Datacenter form factor * D is also for Delta (the other two are Model Alpha and Model Beta) * Model D is the name of a synthesizer * Pi3D/Pi4D emphasise Dimensions of space and time that GPU’s draw It’s just a thought at the moment, nothing official.
by TheMindVirus
Wed Feb 26, 2020 5:31 pm
Forum: Off topic discussion
Topic: Raspberry Pi GPU Concept (" Model D ")
Replies: 182
Views: 24741

Raspberry Pi GPU Concept (" Model D ")

... reasons: PiD is the circumference of a circle D is for Datacenter/Desktop D is also for Delta (the others are Model Alpha, Model Beta and Model 0) Pi3D/Pi4D emphasise the dimensions of space and time that GPU’s draw on the screen However, it might be already trademarked by Behringer, who make the ...
by PeterO
Fri Jan 24, 2020 3:51 pm
Forum: OpenGLES
Topic: Where's my Triangle??
Replies: 44
Views: 8408

Re: Where's my Triangle??

... ! And CodeClub already have Blender projects, so 3D concepts are already included in educational resources and 3D programming could be too. Using pi3d could easily be included in the CodeClub python projects. Googling the error message is normally the first port of call when debugging these days. ...
by paddyg
Fri Jan 10, 2020 12:03 am
Forum: Python
Topic: Need help installing MQTT using these python commands
Replies: 9
Views: 920

Re: Need help installing MQTT using these python commands

This seems to work ok i.e. client = mqtt.Client() creates an instance of the mqtt.Client class which can subsequently be used (set id and pw then connect etc). Passing args as client_name will assume it's the first arg i.e. client_id so you have to set that variable correctly.

Go to advanced search