Go to advanced search

by 6by9
Wed Oct 23, 2019 6:20 pm
Forum: Graphics programming
Topic: Pi3D transparent background on Pi4
Replies: 72
Views: 3044

Re: Pi3D transparent background on Pi4

... If you quit X and run it from the console then you should be able to do the alpha blending with the underlying framebuffer. (that does assume pi3d does the right thing with talking to drm for rendering). If pi3d works with mesa and fkms, then I'd expect it to work on an x86 machine too. Is ...
by JeDy111
Wed Oct 23, 2019 5:45 pm
Forum: Graphics programming
Topic: Pi3D transparent background on Pi4
Replies: 72
Views: 3044

Re: Pi3D transparent background on Pi4

... => displayed in a window with borders and title => no transparency Sorry for the poor picture quality - scrot does not take the Pi3D layer (at least with Legacy GLES) Note : I have added width and height to the Pi3D display so we can see the difference. With MESA driver, when ...
by 6by9
Wed Oct 23, 2019 4:53 pm
Forum: Graphics programming
Topic: Pi3D transparent background on Pi4
Replies: 72
Views: 3044

Re: Pi3D transparent background on Pi4

Thank you for running the test. So it appears to be a generic Mesa thing, or potentially the way that Pi3D is driving Mesa. Can you post an image of what you get with Mesa? Is it that it removes the desktop frame buffer? In which case that is probably expected as the way that ...
by JeDy111
Wed Oct 23, 2019 4:29 pm
Forum: Graphics programming
Topic: Pi3D transparent background on Pi4
Replies: 72
Views: 3044

Re: Pi3D transparent background on Pi4

For both pi2 and pi4, the background has no alpha when "dtoverlay=vc4-fkms-v3d" is present.
by 6by9
Wed Oct 23, 2019 4:24 pm
Forum: Graphics programming
Topic: Pi3D transparent background on Pi4
Replies: 72
Views: 3044

Re: Pi3D transparent background on Pi4

If you're commenting out "dtoverlay=vc4-fkms-v3d" on the Pi2 then you are comparing the legacy GLES driver against Mesa. Two entirely different stacks. Leave "dtoverlay=vc4-fkms-v3d" present on both systems, and then you're comparing the Mesa vc4 driver vs the Mesa v3d driver. That is the test I wan...
by JeDy111
Wed Oct 23, 2019 4:20 pm
Forum: Graphics programming
Topic: Pi3D transparent background on Pi4
Replies: 72
Views: 3044

Re: Pi3D transparent background on Pi4

Hi 6by9, Thanks for your reply. I think it is related to the v3d driver. I have run these two tests on a pi2. The only difference is uncommenting the #dtoverlay=vc4-fkms-v3d line in /boot/config.txt [all] #dtoverlay=vc4-fkms-v3d gpu_mem=128 => (0,0,0,0) RGBA background is transparent [all] dtoverlay...
by 6by9
Wed Oct 23, 2019 1:31 pm
Forum: Graphics programming
Topic: Pi3D transparent background on Pi4
Replies: 72
Views: 3044

Re: Pi3D transparent background on Pi4

... whether it is something in the 3D rendering within the vc4 (Pi2/3) or v3d (Pi4) drivers, or something that is incompatible with Mesa generally in pi3d.
by JeDy111
Wed Oct 23, 2019 12:58 pm
Forum: Graphics programming
Topic: Pi3D transparent background on Pi4
Replies: 72
Views: 3044

Re: Pi3D transparent background on Pi4

Hi, It seems the mesa-v3d-VC6 will soon get updates on alpha support: Gitlab - mesa / src / gallium / drivers / v3d - 21 Oct - Revert "v3d: do not report alpha-test as supported" In the meantime, do you know if there is a workaround? Maybe using an other graphic library? Just to be sure the issue is...
by JeDy111
Sat Oct 19, 2019 8:27 pm
Forum: Graphics programming
Topic: Pi3D transparent background on Pi4
Replies: 72
Views: 3044

Pi3D transparent background on Pi4

Hi, The transparent background of a Pi3d display, such as in the Raspberry_Rain.py example, works fine on my Pi2 and on my Pi3. However, when I run the same Pi3D script on my Pi4, the background is black, whether or not I activate the "Open ...
by paddyg
Mon Sep 30, 2019 11:17 am
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 216
Views: 36672

Re: Image viewer with transition between images

Hi @sapnho, Just tried a new buster SD and pi3d installed OK. Provisos: 1. I used the full fat 2019-07-10-raspbian-buster.zip and etcher 2. I started with the SD card in a RPi zero W but it took so long I unplugged it from the power and put the ...
by sapnho
Mon Sep 30, 2019 7:39 am
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 216
Views: 36672

Re: Image viewer with transition between images

Hi @paddyg, I had one guy having a problem installing the latest Pi3D on a Raspberry Pi Zero and we never had this error message before (latest Buster). sudo pip3 install pi3d wget https://github.com/pi3d/pi3d_demos/archive/master.zip && unzip master.zip ...
by paddyg
Sat Sep 28, 2019 11:26 pm
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 216
Views: 36672

Re: Image viewer with transition between images

@basm, in your modified code these are the places the images would be rotated: here the orientation is found from the exif data here you see that the returned file list is now a list of tuples which include orientation in the main loop here tex_load is called, the * splits the tuple into the two arg...
by paddyg
Sat Sep 28, 2019 10:04 pm
Forum: Advanced users
Topic: Midi control for PictureFrame.py
Replies: 1
Views: 117

Re: Midi control for PictureFrame.py

... (unless it's on a different computer/screen of course). If you post your code for MidiKeys.py I will suggest ways to integrate it with pi3d. Paddy
by basm
Wed Sep 25, 2019 10:30 pm
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 216
Views: 36672

Re: Image viewer with transition between images

To fix running the script unattended as a backgroudn proces from cron, I added configuration setting (which was there before) to disable keyboard usage. See: https://github.com/basmeerman/pi3d_demos/blob/master/PictureFrame.py Furthermore I was looking into the image rotation but could not find code...
by eriktronics
Tue Sep 24, 2019 11:55 am
Forum: Advanced users
Topic: Midi control for PictureFrame.py
Replies: 1
Views: 117

Midi control for PictureFrame.py

Hello, I hope someone can push me forward on the following: I work with pi3d's PictireFrame.py on the Pi3 B+. This is a slideshow with very smooth cross fades in between slides.....The fact is that this runs automatically by changing slides after a programmed ...
by Gavinmc42
Mon Sep 23, 2019 7:18 am
Forum: OpenGLES
Topic: Hardware 3D for old SDL1.2 program
Replies: 3
Views: 964

Re: Hardware 3D for old SDL1.2 program

... examples that works, even a version on fire ;) Linux Air Combat Sim will build and run and then crash ;) This is based on the GL-117 simulator. Pi3D had some Python demo code with a Pitts Special. Those are just the ones I have looked at. While the Pi4 hardware is OpenGLES3.2 capable, currently ...
by sunilammanabrolu
Sun Sep 08, 2019 5:37 pm
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 216
Views: 36672

Re: Image viewer with transition between images

paddyg wrote:
Sun Sep 08, 2019 11:24 am

Have a go at that, but the other thing I noticed is that your error comes from trying to run curses which is really only used by pi3d for keyboard input. If you are running the display headless then you could comment out all the key reading.

Paddy
Thanks @paddyg. I will try this
by paddyg
Sun Sep 08, 2019 11:24 am
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 216
Views: 36672

Re: Image viewer with transition between images

... boots. There are so many alternatives and even more critical variables! When @saphno and I were ironing out some issues with the RPi4 and getting pi3d to use the new graphics driver, we noticed that the cron system seemed to have stopped working. I found that putting the following into /home/pi/.bashrc ...
by sunilammanabrolu
Sun Sep 08, 2019 7:08 am
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 216
Views: 36672

Re: Image viewer with transition between images

... I am facing another problem while trying to run the script using a cron job. I have created a file SlideShow.sh with below line python3 /home/pi/pi3d_demos/PictureFrame.py Added below line to crontab @reboot /home/pi/SlideShow.sh >> /home/pi/logs/cron.log 2>& Script execution failed with below ...
by paddyg
Sat Sep 07, 2019 9:13 pm
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 216
Views: 36672

Re: Image viewer with transition between images

... grid_size to give better resolution for large characters. Also shows a simple use of MQTT to control the slideshow parameters remotely see http://pi3d.github.io/html/FAQ.html and https://www.thedigitalpictureframe.com/control-your-digital-picture-frame-with-home-assistents-wifi-presence-detection-and-mqtt/ ...
by paddyg
Sat Sep 07, 2019 5:22 pm
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 216
Views: 36672

Re: Image viewer with transition between images

... think it's too hard to do (famous last words eh!) but it should logically go into the Texture class, so maybe I'll look at doing that in the next pi3d release (and stick some of the other exif data in there as well) The python3-pil (Pillow) library doesn't claim real exif support but I know that ...
by sunilammanabrolu
Sat Sep 07, 2019 4:48 am
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 216
Views: 36672

Re: Image viewer with transition between images

... Pi Zero W. I am using https://github.com/NautiluX/slide for my Picture frame for now. It has all I need except the transitions I have tried pi3d's PictureFrame but not able to rotate portrait photos. Everything is great about pi3d except this and it is deal breaker for me. I would like to ...
by paddyg
Thu Sep 05, 2019 10:10 am
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 216
Views: 36672

Re: Image viewer with transition between images

... you would need to alter the shader - let me know if you want some pointers for that. from PIL import Image, ImageFilter import demo import pi3d DISPLAY = pi3d.Display.create(x=0, y=0, frames_per_second=10) camera = pi3d.Camera(is_3d=False) shader = pi3d.Shader("uv_flat") ################################## ...
by sapnho
Fri Aug 30, 2019 2:34 pm
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 216
Views: 36672

Re: Image viewer with transition between images

Thanks @SohKahToa, glad you like Pi3D and the blog. This question should ideally be answered by @paggyg who is grail keeper of Pi3D. If I understood you correctly, you want your images to be maximised but not cropped and the remaining screen ...
by SohCahToa
Fri Aug 30, 2019 11:33 am
Forum: General discussion
Topic: Image viewer with transition between images
Replies: 216
Views: 36672

Re: Image viewer with transition between images

Thanks to Wolfgang Männel at the thedigitalpictureframe.com, I have discovered pi3d. After days of banging my head against my desk and feeling like a bit more then I could chew, I figure out how to implement a script that would slide a series of photos from the ...

Go to advanced search