Hash codes demo (MD5, SHA-1, SHA-256)

Started by JeGX, December 19, 2018, 06:09:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


Alex

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

JeGX

Quote from: Alex on January 12, 2019, 03:38:57 AM
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:


<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.