Geeks3D Forums

GeeXLab => GeeXLab - english forum => Topic started by: JeGX on December 04, 2015, 07:44:16 PM

Title: GeeXLab 0.9.1.0 released
Post by: JeGX on December 04, 2015, 07:44:16 PM
GeeXLab 0.9.1.0 for Windows is available:
http://www.geeks3d.com/hacklab/20151204/geexlab-0-9-1-0-released-for-windows-32-and-64-bit/

Versions for other OSes will be available very soon.

Title: GeeXLab 0.9.1.0 for Linux released
Post by: JeGX on December 05, 2015, 01:52:32 PM
The Linux version of GeeXLab is available:

http://www.geeks3d.com/hacklab/20151205/geexlab-0-9-1-0-released-for-linux/
Title: GeeXLab 0.9.1.0 for OS X released
Post by: JeGX on December 07, 2015, 10:17:54 AM
The Mac OS X version of GeeXLab is available:

http://www.geeks3d.com/hacklab/20151205/geexlab-0-9-1-0-released-for-mac-os-x/
Title: GeeXLab 0.9.1.0 Raspberry Pi released
Post by: JeGX on December 07, 2015, 10:18:38 AM
The Raspberry Pi version of GeeXLab is available:

http://www.geeks3d.com/hacklab/20151207/geexlab-0-9-1-0-released-for-raspberry-pi/
Title: Re: GeeXLab 0.9.1.0 Raspberry Pi released
Post by: Stefan on December 08, 2015, 07:15:29 AM
The Raspberry Pi version of GeeXLab is available:

Coincidentiially someone made a raspberry shader the other day.
So if you to want to see a raspberry on your Raspberry, download it here (https://goo.gl/rZOk5p)

Another thing:
Will you make a shadertoy_prog, "iDate" sometime?
I tried to port a clock shader which stalled in GeeXLab.

EDIT:
I didn't find cubemap/texturecube support in gfx02.lua. How to do that?
Title: Re: GeeXLab 0.9.1.0 released
Post by: JeGX on December 11, 2015, 01:59:54 PM
I just published a post that should help you to get iDate in your demos:

http://www.geeks3d.com/hacklab/20151211/lua-date-and-time-shadertoy-idate/


For the cubemap, you can do it yourself  directly in the demo. To load a cubemap (6 images) use this code:
Code: [Select]
local pf = 3
local abs_path = 0
cubemap = gh_texture.create_cube_from_file("./data/skybox08_posx.jpg", "./data/skybox08_negx.jpg", "./data/skybox08_posy.jpg", "./data/skybox08_negy.jpg", "./data/skybox08_posz.jpg", "./data/skybox08_negz.jpg", pf, abs_path, 0)

To use a cube map in a Shadertoy demo (the cubemap is bound to the sampler iChannel1 in the Shadertoy pixel shader):
Code: [Select]
gh_texture.bind(tex0, 0)
gh_texture.bind(cubemap, 1)
gh_texture.bind(tex2, 2)

gh_gpu_program.bind(shadertoy_prog)
gh_gpu_program.uniform1f(shadertoy_prog, "iGlobalTime", elapsed_time)
gh_gpu_program.uniform1i(shadertoy_prog, "iChannel0", 0);
gh_gpu_program.uniform1i(shadertoy_prog, "iChannel1", 1);
gh_gpu_program.uniform1i(shadertoy_prog, "iChannel3", 2);


The cubemap is defined as follows in a shadertoy demo:
Code: [Select]
uniform sampler2D iChannel0;
uniform samplerCube iChannel1;
uniform sampler2D iChannel3;

There is a shadertoy demo in the code sample pack that uses cubemaps:
host_api/GLSL_ShaderToy/cells.xml
Title: Re: GeeXLab 0.9.1.0 released
Post by: Stefan on December 11, 2015, 08:12:40 PM
I just published a post that should help you to get iDate in your demos

Thanks, there is a typo in line 5, it must read:

gh_gpu_program.uniform4f(shadertoy_prog, "iDate", tmp.year, tmp.month, tmp.day, time_seconds)

Here is the ported clock shader (https://drive.google.com/file/d/0BykQ4pHxfGQWUXdHcVFOeUlOQUk/view)

(https://farm1.staticflickr.com/700/23053679273_bbe9482ec9_o.png)
Title: Re: GeeXLab 0.9.1.0 released
Post by: Stefan on December 13, 2015, 08:28:27 PM
Just tried the 32 bit version under Windows XP

leap.dll refuses to load because procedure entry point "GetNamedPipeClientProcessId" is missing in KERNEL32.dll

As a workaround i deleted leap.dll
Title: Re: GeeXLab 0.9.1.0 released
Post by: Stefan on December 24, 2015, 10:10:15 AM
Another tidbit with the 32 bit version: overlay reads 64 bit

FYI: users with antiquated GPUs can run GeeXLab with MESA, using pre-compiled binary from here (https://cristianadam.eu/20150514/grim-fandango-remastered/)



(https://farm6.staticflickr.com/5691/23314248523_63ea76dde0_z.jpg)