Geeks3D Forums

GeeXLab => GeeXLab - english forum => Topic started by: JeGX on December 19, 2018, 06:09:48 PM

Title: Hash codes demo (MD5, SHA-1, SHA-256)
Post by: JeGX on December 19, 2018, 06:09:48 PM
A quick article about new hash functions in GeeXLab 0.26+

Article:
https://www.geeks3d.com/hacklab/20181219/hash-functions-md5-sha-1-sha-256/

Demo download (the demo requires GeeXLab 0.26.3.0+ (https://www.geeks3d.com/forums/index.php/topic,5781.msg7803/topicseen.html#msg7803)):
https://www.geeks3d.com/r/50041

GeeXLab download
https://www.geeks3d.com/geexlab/downloads/

(https://www.geeks3d.com/public/jegx/2018q4/geexlab-hash-codes-demo-md5-sha1-sha256-functions.jpg)

Title: Re: Hash codes demo (MD5, SHA-1, SHA-256)
Post by: Alex on January 12, 2019, 03:38:57 AM
Hi,

Is it possible to not run render code if final image does not change? I remember some info from changelog about adding such method.

Kind regards,
Alex
Title: Re: Hash codes demo (MD5, SHA-1, SHA-256)
Post by: JeGX on January 14, 2019, 06:36:00 PM
Is it possible to not run render code if final image does not change? I remember some info from changelog about adding such method.

Yes, GeeXLab has a mode where 3D/2D rendering is driven by a timer or input events (mouse, keyboard).

Just edit the main.xml file and add

render_timer_interval="200" separate_render_thread="0"

to the window xml node:

Code: [Select]
<window name="win3d01" title="Hash Codes"
              width="740" height="600"
              render_timer_interval="200" separate_render_thread="0"
              gl_version_major="2" gl_version_minor="1"  />

The render code is executed every 200ms or if an input event is received.