Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - bobtarask

Pages: [1]
1
GeeXLab - english forum / Re: Raspberry PI BOLD font
« on: September 06, 2016, 11:04:02 AM »
JeGX_v2("thank","you","my","sweet","pixel","hacker")

Le projet est un grand succès grâce à toi

Bonne journée

2
GeeXLab - english forum / Re: Raspberry PI BOLD font
« on: September 05, 2016, 10:00:26 AM »
Hello I found the solution:

ftgl_load_font_v2(fontfile, fontsize, 2, 1)


3
GeeXLab - english forum / Raspberry PI BOLD font
« on: September 04, 2016, 05:07:52 PM »
Hello,

How do you load font with bold style in the lua script  with ftgl_load_font ?

Best,

Etienne

4
Hello,

merci c'est parfait on a utilisé les arguments en ligne de commande /width /height.

Bon dimanche

5
Cool thanks again! without your help and your code we would not have been able to satisfy the requirements.  Your work on the PI is pretty cool. It is the only library I found managing transparency.

Also I had a last question, is it possible to set the window size from the script or to pass it to the XML through command line parameters ?

If not possible I will have to hack the XML before running GeexLab.

Best regards,

Etienne


6
Hello thanks a lot for the support,

For our slides show (we are displayed HTML5 dynamically generated slides with transparency over a video playing in background) it was fine to spawn new demo processes each one displaying the next slide at  a defined time).

We had also had to find a way to pass arguments to the demo scripts. We managed to pass parameters through a file named after the process id. But maybe there is a way to pass the command line arguments to the lua scripts ?


Have a nice day,

Etienne

7
GeeXLab - english forum / Dynamic texture loading / deleting. Raspberry PI 3
« on: September 01, 2016, 01:46:18 PM »
Hello,

I have a list of images ( ~ 100 images in PNG format) that I need to display in a timed sequence (like a movie)

I use textures to display the images (like in the demo http://www.geeks3d.com/hacklab/20151207/how-to-control-the-window-opacity-on-the-raspberry-pi/).

Creating the texture works: with the function  gh_texture.create_from_file_v3 from the API (http://www.geeks3d.com/geexlab/reference/scripting_texture.php). I load the images at initialization, and then I am able to display the images in the FRAME script. But I am currently limited to 10 textures simultaenously in the GPU.

Is it possible to update the GPU textures from a seperated thread / process ? ( I cannot do it in the FRAME script because it takes too much time to load the texture from file, affecting the display)

Also I tried to use the functions to update textures :

gh_texture.update_gpu_memory_from_file
gh_texture.update_gpu_memory_from_buffer


but neither worked or I was not able to use them properly..

And I didn't find any way to free the textures from the GPU ?

Maybe it could be done with gh_texture.reset_texture_unit ? But I don't understand the arguments of the function.

Could someone help in those matters ?

Thanks and best regards

Etienne




8
HELLO putting rpi_alpha_flag="3" solved the problem

9
Hello,

We are using geexlab to display partly transparent overlays on the raspberry pi.

We are using the demo demo_gles2_v2.xml  (http://www.geeks3d.com/hacklab/20151207/how-to-control-the-window-opacity-on-the-raspberry-pi/)

It is working with full transparency (alpha = 0) but our PNG image has variable levels of transparency. As an example if a pixel is partly transparent (alpha = 0.5), it will appear on the screen fully opaque (alpha = 1).

Please could you give us some hints what we should modify on the demo to make it work with our transparent image?


Thanks and best regards,

Etienne





Pages: [1]