Go to advanced search

by sapnho
Fri Mar 13, 2020 1:49 pm
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 265
Views: 51444

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: 265
Views: 51444

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: 20111

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: 20111

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: 20111

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: 6323

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: 621

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.
by paddyg
Sat Jan 04, 2020 9:00 am
Forum: Python
Topic: Python library to get EXIF tags from camera?
Replies: 6
Views: 1014

Re: Python library to get EXIF tags from camera?

... default raspbian can get most exif data pretty well. Here is a rather complicated demo but the actual exif bit is quite simple. https://github.com/pi3d/pi3d_demos/blob/master/PictureFrame.py around line 139 and 166. The version of Pillow on buster is quite old and there have been a few fixes on ...
by atpost
Mon Dec 23, 2019 12:46 pm
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 265
Views: 51444

Re: Image viewer with transition between images

Hi Paddy, I tested with a few pictures, 4, for over 48 hours and all went well. While slideshow was playing, I added about 2000 pictures to the Pictures folder. The slideshow showed the new pictures without issue. Several hours later I rebooted the pi, and the slideshow won't start anymore. Thinking...
by sapnho
Sat Dec 21, 2019 3:54 pm
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 265
Views: 51444

Re: Image viewer with transition between images

... is on top! Amazing write ups. Thank you for taking the time to document your work. Thanks! But the glory belongs to Paddy because of his work on Pi3D. At home, we discover great new "images" every day because of the fantastic transitions. Just make them slow (like I suggested in my article) to ...
by paddyg
Sat Dec 21, 2019 3:26 pm
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 265
Views: 51444

Re: Image viewer with transition between images

Glad you got it working and glad you like it. That glGetError 0x500 means that at some point (prior to the previous call to glGetError()) an instruction to the GPU used an invalid enumerant. That translates as meaning one of the values passed to one of the OpenGL(ES) function didn't match whatever i...
by atpost
Sat Dec 21, 2019 2:52 pm
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 265
Views: 51444

Re: Image viewer with transition between images

... done right :) By the way I'm using a pi 3. What I did was comment out the following lines( for anyone else that has this issue) Line 248 #kbd =pi3d.Keyboard() Line 333-343 #k = kbd.read() #if k != -1: # nexttm = time.time() - 86400.0 #if k==27 or quit: #ESC # break #if k==ord(' '): # paused ...
by paddyg
Sat Dec 21, 2019 2:02 pm
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 265
Views: 51444

Re: Image viewer with transition between images

... showing just what changes before and after) index 5d2bd10..48aa9e5 100644 --- a/PictureFrame.py +++ b/PictureFrame.py @@ -245,7 +245,7 @@ slide = pi3d.Sprite(camera=CAMERA, w=DISPLAY.width, h=DISPLAY.height, z=5.0) slide.set_shader(shader) slide.unif[47] = EDGE_ALPHA -kbd = pi3d.Keyboard() +#kbd ...
by atpost
Sat Dec 21, 2019 7:34 am
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 265
Views: 51444

Re: Image viewer with transition between images

... get to the bottom of this. Details are on my website. Hi Sapnho, Great write up about the pi Digital Frame.This is really nice project. Paddyg -Pi3d is amazing. I'm almost there with this project... -I have done three clean attempts to install and get stuck in the last step each time similar ...
by JeDy111
Fri Dec 20, 2019 5:03 pm
Forum: Graphics programming
Topic: Pi3D transparent background on Pi4
Replies: 88
Views: 14056

Re: Pi3D transparent background on Pi4

Yes, I use Fake KMS when I run the test on the Pi3, dtoverlay=vc4-fkms-v3d
I agree keeping dispmanx would make things easier.

Thanks for your reply and the link to the other thread. I will probably follow the ffplay path.
by paddyg
Fri Dec 20, 2019 11:47 am
Forum: Graphics programming
Topic: Pi3D transparent background on Pi4
Replies: 88
Views: 14056

Re: Pi3D transparent background on Pi4

... a clear way of attaching the OpenGL context. In this recent thread https://www.raspberrypi.org/forums/viewtopic.php?f=32&t=259055&p=1579156&hilit=pi3d#p1578973 there was some discussion about using pi3d on top of omxplayer. It probably would have been possible in the past as there was an option ...
by JeDy111
Fri Dec 20, 2019 11:13 am
Forum: Graphics programming
Topic: Pi3D transparent background on Pi4
Replies: 88
Views: 14056

Re: Pi3D transparent background on Pi4

... option. It seems that it discards the 'layer' option on the Pi4. The code below specifies layer 2 for the omxplayer video and layer 10 for the Pi3D display, thus the Pi3D display should be above the video. It is working fine on a Pi3. However on a Pi4 the Pi3D display is below the video. Note ...
by basm
Sun Dec 15, 2019 4:54 pm
Forum: General discussion
Topic: RPI 4B 1GB Xinit keeps stopping; running out of options...
Replies: 7
Views: 806

Re: RPI 4B 1GB Xinit keeps stopping; running out of options...

So I’ve been running PictureFrame.py from pi3D demos for the last 7 days having upgraded every paackage involved. There seems to be no more memory issues. Memory is released regularly. I’ve added a crontab rule to stop PictureFrame and to kill ...
by paddyg
Wed Dec 11, 2019 8:38 am
Forum: Python
Topic: Render pi3d over omxplayer on pi4
Replies: 3
Views: 530

Re: Render pi3d over omxplayer on pi4

... what omxplayer now does for efficiency. However I would like people to be able to use omxplayer: it occurred to me that it might be possible if pi3d is run in an X11 window without all the rest of the desktop. It's the desktop window that stops you being able to see omxplayer when you put it ...
by pescew
Wed Dec 11, 2019 12:50 am
Forum: Python
Topic: Render pi3d over omxplayer on pi4
Replies: 3
Views: 530

Re: Render pi3d over omxplayer on pi4

... I ended up abandoning omxplayer completely. From what I've read ffmpeg should support hw-decoding on the pi4, so I'm using ffplay instead. Pi3d is able to draw overtop the ffplay window without issue: ffprocess = subprocess.Popen(['ffplay',VID_FILE,'-loop','0','-noborder','-an','-left','100','-top','100','-x','400','-y','400','-loglevel','quiet'],stdin=subprocess.PIPE,stdout=None,stderr=None,bufsize=0) ...
by paddyg
Tue Dec 10, 2019 10:45 pm
Forum: Python
Topic: Render pi3d over omxplayer on pi4
Replies: 3
Views: 530

Re: Render pi3d over omxplayer on pi4

Ages since I've looked at omxplayer. Does it have an option to make it play in an X11 window? It sounds like it's playing directly to dispmanx and it's no longer possible (well not very easy - aka I don't know how) to run OpenGL to dispanx. I will have a look around and see what I can find - doesn't...
by pescew
Tue Dec 10, 2019 10:03 pm
Forum: Python
Topic: Render pi3d over omxplayer on pi4
Replies: 3
Views: 530

Render pi3d over omxplayer on pi4

Using pi3d v2.33 and "use_glx=True" I'm able to display pi3d with transparency enabled on the pi4, but omxplayer is always rendered overtop the pi3d display. If I set "omxplayer --layer -128" it does not display at all. "omxplayer ...
by Gavinmc42
Mon Dec 09, 2019 11:58 pm
Forum: OpenGLES
Topic: Rpi4 - OpenGL - X - alpha channel - possible?
Replies: 3
Views: 3985

Re: Rpi4 - OpenGL - X - alpha channel - possible?

Thanks, 6by9. Have read those Pi3D posts many time, still don't really understand it. Pi3D is a layer, so is Pygame and SDL2 etc, confused by so many layers, which does what? pik33 normally has a lower level understanding down to assembly ...
by paddyg
Mon Dec 09, 2019 10:50 am
Forum: General discussion
Topic: RPI 4B 1GB Xinit keeps stopping; running out of options...
Replies: 7
Views: 806

Re: RPI 4B 1GB Xinit keeps stopping; running out of options...

... also runs OK *but* I have only tried it with the existing old screen that I have to connect with VGA and with the relatively small images in the pi3d_demos directory. When testing the pictureframe app on different RPi computers we found that on the zero it did sometimes freeze when running with ...
by basm
Sun Dec 08, 2019 8:40 pm
Forum: General discussion
Topic: RPI 4B 1GB Xinit keeps stopping; running out of options...
Replies: 7
Views: 806

Re: RPI 4B 1GB Xinit keeps stopping; running out of options...

... and SSH connections are possible after this. Needs a hard reboot. Setup details - I run PictureFrame from Pi3D_demos repo ( https://github.com/pi3d/pi3d_demos ) - Start the python script from a bash file (see below A) - Start the bash file from crontab (see below B) A-Start_PictureFrame.sh ...

Go to advanced search