[Gambas-user] Rubik cube 0.1.7

martin p cristia tercoide at ...67...
Wed Nov 25 22:48:50 CET 2015


New version has the Timer.Trigger - ed refreshing , and removed all Fasts.

Since Fabien idea gave me some CPU %,  I added shadows, with a 
customizable light position.

Settings can be changed at FMain.Form_Open:

    Rounded = False               '  True is slower   (this is for 
rounded cubes)
    Paint3D.AntiAlias = False  ' True is slower


   Paint3D.LightX = 900
   Paint3D.LightY = 900    ' the position of the sun
   Paint3D.LightZ = 2000

   Paint3D.UseShadow = True   ' False is much faster


-- 
Saludos

Ing. Martin P Cristia





More information about the User mailing list