Author Topic: GeeXLab 0.9.1.0 released  (Read 8574 times)

0 Members and 1 Guest are viewing this topic.

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2043
    • View Profile
    • Geeks3D.com
GeeXLab 0.9.1.0 released
« 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.



JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2043
    • View Profile
    • Geeks3D.com
GeeXLab 0.9.1.0 for Linux released
« Reply #1 on: December 05, 2015, 01:52:32 PM »

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2043
    • View Profile
    • Geeks3D.com
GeeXLab 0.9.1.0 for OS X released
« Reply #2 on: December 07, 2015, 10:17:54 AM »

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2043
    • View Profile
    • Geeks3D.com
GeeXLab 0.9.1.0 Raspberry Pi released
« Reply #3 on: December 07, 2015, 10:18:38 AM »

Stefan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4398
    • View Profile
Re: GeeXLab 0.9.1.0 Raspberry Pi released
« Reply #4 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

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?
« Last Edit: December 09, 2015, 11:52:08 AM by Stefan »

JeGX

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2043
    • View Profile
    • Geeks3D.com
Re: GeeXLab 0.9.1.0 released
« Reply #5 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

Stefan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4398
    • View Profile
Re: GeeXLab 0.9.1.0 released
« Reply #6 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



Stefan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4398
    • View Profile
Re: GeeXLab 0.9.1.0 released
« Reply #7 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

Stefan

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4398
    • View Profile
Re: GeeXLab 0.9.1.0 released
« Reply #8 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