Quick Links
> Homepage
|-- Overview
|-- Download
|-- Screenshots
|-- Community

> Code Sample Pack

> Reference Guide

> Changelog

> Overview of GLSL Hacker
> Live Coding
> Hack your first GLSL Code
> Moon3D


GLSL Hacker Articles

> Compute shaders on Radeon
> Distance functions in GLSL
> GLSL Interpolation Qualifiers
> Tessellation Spacing Modes
> Normal Visualizer with GS
> 3D Surface Plots
> Normal Mapping
> Circle and Disc in GLSL
> PhysX 3 Flag Demo
> GLSL Hacker on Raspberry Pi
GLSL Hacker

GLSL Hacker Changelog


Version 0.6.3.13 - 2014.02.13
----------------------------
- bugfix: in font bitmap rendering with OpenGL 2 (built-in vertex attribs vs generic vertex attribs).
  This bug was only visible under OS X with a NVIDIA GPU.

Version 0.6.3.12 - 2014.02.04
----------------------------
- bugfix: in 2D font bitmap rendering with OpenGL 2.

Version 0.6.3.11 - 2014.01.28
----------------------------
- bugfix: crash in gh_renderer.set_scissor() Lua version.

Version 0.6.3.10 - 2014.01.27
----------------------------
- bugfix: Lua live coding fixed.

Version 0.6.3.9 - 2014.01.24
----------------------------
- added multiple render targets suppport.

Version 0.6.3.8 - 2014.01.24
----------------------------
- added OpenGL 4.4 bindless texture support and uniform buffer object 
  for passing array of bindless textures to a shader stage.
- added new functions for passing GLSL uniforms (uniform_1ui64v(), uniform_1ui64(), 
  uniform_1/2/3/4d...) to gh_gpu_program (Lua).
- added platform information in the benchmark scores file.
- Linux: fixed segmentation fault when the demo initialization fails. 
- Linux: the console output (with /console_output command line option) is fixed. 
- added support of user vertex attribs: alloc_user_vertex_attribs(), 
  set_user_vertex_attrib() and get_user_vertex_attrib() added to gh_mesh lib.
- added new GPU monitor plugin and associated host API function: gh_gpumon (Lua).
  The gh_gml lua/python module is now based on this GPU monitor plugin.
- added quad wireframe rendering option for some built-in meshes 
  (plane, sphere, torus, cylinder).
- plugin management improved.
- updated with gxl3d 0.8.x branch.

Version 0.6.3.7 - 2014.01.11
----------------------------
- moved all video player functions based on FFmpeg to a separate plugin
  (plugin_gxl3d_video_ffmpeg_x64.dll).

Version 0.6.3.6 - 2013.12.24
----------------------------
- added write_to_file_v2() to gh_texture lib.
- added flip_vertical() to  to gh_texture lib.


Version 0.6.3.5 - 2013.12.18
----------------------------
- added set_instance_color() and set_instance_scale() to gh_mesh.

Version 0.6.3.4 - 2013.12.10
----------------------------
- updated tinyxml2 in gxl library.
- fixed bugs in cross-platform compilation for ffmpeg and 
  anttweakbar support.


Version 0.6.3.3 - 2013.12.06
----------------------------
- added uniform1fv(), uniform2fv(), uniform3fv() and uniform4fv()
  to gh_gpu_program (Lua).
- added video support in gh_texture lib (gh_texture.video_xxxxx() 
  functions). Video support is based on ffmpeg.
  
  
Version 0.6.3.2 - 2013.11.30
----------------------------
- added get_version() to gh_utils lib.
- added anttweakbar support (Windows version only) with a set of 
  functions (twbar_xxx) in gh_utils lib.

  
Version 0.6.3.1 - 2013.11.20
----------------------------
- added webcam support for Windows version with a set of 
  functions (webcam_xxx) in gh_utils lib.

  
Version 0.6.3.0 - 2013.11.15
----------------------------
- added raycast_get_ray() and raycast_cast_ray() to gh_utils lib.


Version 0.6.2.3 - 2013.11.08
----------------------------
- fixed a minor bug related to texture pixmap 
  update (gh_texture.set_texel_2d).
  

Version 0.6.2.2 - 2013.11.06
----------------------------
- Internal changes in source code. 


Version 0.6.2.1 - 2013.11.05
----------------------------
- added set_virtual_screen() and update_virtual_screen() 
  to gh_renderer lib for OS X version.

  
Version 0.6.2.0 - 2013.11.04
----------------------------
- added get_virtual_screen() and get_num_virtual_screens() 
  to gh_renderer lib for OS X version.
- minor changes in the loading of init0.xml and conf.xml
- Internal update: latest tinyxml2 1.0.12


Version 0.6.1.0 - 2013.10.27
----------------------------
- updated Python plugin with missing functions in gh_object lib: 
  scale_vertices_position(), flip_faces(), flip_vertex_normals().
- added set_vertices_color() to gh_object lib (Python / Lua).
- fixed a bug in the FBX loader (vertices color).


Version 0.6.0.1 - 2013.10.31
----------------------------
- fixed a bug in the OS X version when an OpenGL 4.0 context 
  was required.


Version 0.6.0.0 - 2013.10.25
----------------------------
- added a libs/ folder into GLSL Hacker root directory with 
  Lua and Python high level librairies used by demos.
- added OS X 10.9 Mavericks support.
- updated version number, four numbers are now used: 
  major.minor.patch.build.
- added keyboard support for Linux.
- added get_platform_name() to gh_utils lib.
- added set_orientation() and get_orientation() to gh_object lib.
- added set_vertices_color() to gh_mesh lib.
- fixed a bug with bitmap fonts and OpenGL 2 context.
- Windows and OS X version: added keyboard shortcuts for loading a 
  scene (Ctrl+O), reloading a scene (Ctrl+R) and for displaying 
  the log file (Ctrl+L).
- the position of the main 3d window is stored in the conf.xml 
  file and is used for the next launch.
- added get_host_app_dir(), get_scripting_libs_dir() and 
  get_command_line() to gh_utils lib. 
- improved the error handling (traces, exit at 
  first syntax/runtime error).
- fixed bugs in the loading of scripts and gpu programs from 
  files (xml). Now the filename attribute of gpu_program and 
  scripts xml modes works correctly.
- added a configuration file (conf.xml).
- Windows version: GLSL Hacker plugins are now stored in the 
  plugins/ folder.
- updated arguments of gh_utils.font_bm_create() function.
- added get_physx_version() to gh_physx3 lib.
- added set_render_state() and get_render_state() to gh_node lib.
- added tripod_visualizer_object_render() and 
  tripod_visualizer_camera_render() to gh_utils lib 
  (for GL2 and GL3+).
- removed tripod_visualizer_render() from gh_utils lib. 
- added create_cylinder() and create_ellipse() to gh_mesh lib.
- added new command line param: /noload_plugin_physx3
- added new command line param: /noload_plugin_fbx
- updated gh_utils.font_bm_update() with a new parameter: mapped_gpu_memory.
- added Autodesk FBX support (via a plugin) with 
  create_from_file_loader_fbx() to gh_model lib.
- added flip_vertex_normals() to gh_object lib.
- added OpenGL 4.2 atomic counters support: atomic_counter_create_buffer(), 
  atomic_counter_kill_buffer(), atomic_counter_buffer_bind(), 
  atomic_counter_set_value() and atomic_counter_get_value() added 
  to gh_renderer lib.
- added particle system lib (gh_ps) to Lua/Python API.
- fixed a bug in gh_utils.tripod_visualizer_render() with OpenGL 2 context.
- added create_terrain() to gh_mesh lib.
- added scale_vertices_position() to gh_object lib (for mesh).
- added set_depth_buffer_writing_state() to gh_renderer.
- added set_vertex_position_w() to gh_mesh lib. Useful with PhysX clothes.
- added set_pitch(), set_yaw() and set_roll() to gh_camera lib.
- added get_position(), get_view_vector() and get_up_vector() 
  to gh_camera lib.
- added w param in gh_camera.set_lookat().
- added support of PhysX 3.3 SDK (via a plugin) in Lua and Python: 
  gh_physx3 lib.
- bugfix in OBJ object loader.


Version 0.5.0 - 2013.05.09
--------------------------
- fixed bugs in resource freeing (material/textures).
- added tripod_visualizer_render() to gh_utils. This tripod can 
  be displayed in GL2 and GL3+ core profile.
- added support of shader storage buffer for compute shaders 
  in gh_vertex_pool.
- added new command line param: /noload_plugin_opencl 
- added new command line param: /noload_plugin_python27 
- added new command line param: /disable_opengl_support_check 
- fixed a memory leak in texture destruction.
- added get_platform() to gh_utils lib.
- added uniform2i(), uniform3i() and uniform4i() to gh_gpu_program.
- added uniform4i_array() and uniform4f_array() to gh_gpu_program.
- added Python 2.7.3 plugin for scripting.
- updated lua engine to Lua 5.2.2
- added set_texel_1d(), set_texel_2d() to gh_texture lib.
- added renderer_update() to gh_texture lib.
- added cubemap support with gh_texture.create_cube_from_file() function.
- added gh_texture.create_1d()
- renamed gh_texture.create() in gh_texture.create_2d()
- added get_gpu_memory_usage_kb_amd() to gh_renderer lib.
- Added TERMINATE scripts.
- Buffer object usages can be forced either by scripting or 
  by command line.
- Added force_buffer_object_usage() to gh_renderer lib.
- Added timer_reset() and timer_get_milliseconds() to gh_window lib.
- Added update_built_in_uniforms() to gh_object lib.
- Added font_bm_create(), font_bm_get_charset_texture(), font_bm_draw_text_2d(),
  font_bm_draw_reset() and font_bm_render() to gh_utils.
- Added new functions into gh_utils to manage a simple spline: spline_create(),
  spline_add_keyframe(), spline_get_value().
- Added create_rb(), clear_color_buffer() and clear_depth_buffer() 
  to gh_render_target.
- Added rasterizer_set_msaa_state() to gh_renderer.
- Added do_linear_tweening() to gh_mesh lib.
- Added alloc_mesh_data(), set_face_indexes() and get_face_indexes() 
  to gh_mesh.
- Added set_gpu_program(), get_gpu_program(), add_texture() and 
  remove_texture() to gh_material lib.
- Added get_num_materials(), get_material(), add_material(), 
  remove_material() and remove_all_materials() to gh_object.
- Added set_materials_texture_unit_offset() to gh_object.
- Added compute_faces_normal() and compute_vertices_normal() to gh_object.
- Added set_sampler_params() to gh_texture lib.
- Added gl_core_profile and sw_renderer attributes to window xml node.
- Added set_vertex_position(), set_vertex_color(), get_vertex_color(), 
  set_vertex_normal(), get_vertex_normal(), set_vertex_tangent(), 
  get_vertex_tangent(), set_vertex_uv() and get_vertex_uv() to gh_mesh lib.
- Added set_vertex_attrib_name() and get_vertex_attrib_name() 
  to gh_gpu_program lib.
- Added update_vertex_attrib_location() to gh_object lib.
- Removed update_vertex_attrib_location() from gh_mesh lib.
- Added create_depth() and create_depth_rect() to gh_render_target lib.
- Added get_num_gpus_amd() and get_gpu_memory_total_available_kb_amd() 
  to gh_renderer lib.
- Added get_gpu_memory_total_available_kb_nv(), 
  get_gpu_memory_current_available_kb_nv() and get_gpu_memory_usage_kb_nv()
  to gh_renderer lib.
- Added gh_opencl lib. This first version allows to retrieve OpenCL information 
  about platforms and devices. 
- Added gh_gml lib. gh_gml is the scripting wrapper around GML (GPU Monitoring Lib).
  GML is currently available on Windows only and is limited to NVIDIA GPUs. AMD GPUs
  will be supported shortly.
- Added map_vb(), unmap_vb(), vb_set_vertex_position(), vb_set_vertex_position_ptr(),
  vb_set_vertex_color() and vb_set_vertex_color_ptr() to gh_vertex_pool lib.
- Added create_box() to gh_mesh lib.
- Added set_instance_axis_angle() to gh_mesh lib.
- Added polyline support: gh_polyline lib.
- Added resize() to gh_render_target lib.
- Added use_with_syphon() to gh_render_target lib to use a render 
  target with Syphon.
- Added Syphon support to the OSX version.

MAD Hacker
---------------
- Added luamidi lib.
- Added use_with_syphon() to gh_render_target lib to use a render 
  target with Syphon.
- Added Syphon support to the OSX version.



Version 0.4.0 - 2013.01.18
--------------------------
- First public release.
- Many changes compared to v0.3.2 (for example ID is no longer used 
  in Lua and Python scripting).


Version 0.3.2 - 2012.10.18
--------------------------
- Fixed a 32/64-bit bug in GXL3D module. 


Version 0.3.1 - 2012.09.24
--------------------------
- Added:  /x_window_name command lien param (for X11-based apps only).
- Fixed a bug in scripting live coding. 

Version 0.3.0 - 2012.09.10
--------------------------
- Minor changes in the gxl engine for the Python plugin
- Plugin Python 2.7 32/64-bit added.


Version 0.2.2 - 2012.09.06
--------------------------
- Added: get_vertex_position(), get_vertex_position_ptr(), 
  get_vertex_absolute_position() and get_vertex_absolute_position_ptr()
  to gh_mesh lib.
- Added: get_num_vertices(), get_num_vertices_ptr(), get_num_faces() and
  get_num_faces_ptr() to gh_object lib.
- Added: get_absolute_position() and get_absolute_position_ptr() to 
  gh_object lib.
- Added: font_render3d() and font_render3d_ptr() to gh_utils lib.
- Added: set_grid_params(), set_grid_params_ptr(), display_grid(), 
  display_grid_ptr(), set_display_grid_state() and 
  set_display_grid_state_ptr() to gh_object lib.
- Added: set_tripod_size() and set_tripod_size_ptr() to gh_object lib.


Version 0.2.1 - 2012.09.04
--------------------------
- Change: if erros are detected in an INIT script, all scripts are disabled
  and a red screen is displayed.
- Added: command line parameter /boxes_transparency= to set the 
  transparency of live coding boxes.
- Change: live coding boxes transparency set to 255 by default (fully opaque).
- Change: description of live coding boxes transparency in managers 
  (scripts and gpu programs).
- Bugfix: Lists of GPU programs and scripts in managers are automatically 
  refreshed when a new scene is loaded. 


Version 0.2.0 - 2012.09.01
--------------------------
- First version of the reference manual.
- Added drag n drop support: script DRAG_N_DROP + functions 
  gh_utils.drop_files_get_num_files()
  and gh_utils.drop_files_get_file_by_index().


Version 0.1.0 - 2012.08.29
--------------------------
. Very first alpha release, internal use only.



(C)2012-2013 Geeks3D