Thanks Mike,
I will have a look at it.
Petr
I was thinking it would be good to be able to change the Function that is called during execution.
I cant do that without scrapping it and setting it up again from scratch
thanks
Mike C
Home Desktop : Windows 7 - Intel Pentium (D) - 3.0 Ghz - 2GB - Geforce 6800GS
Home Laptop : WinXP Pro SP3 - Intel Centrino Duo - 1.73 Ghz - 2 GB - Intel GMA 950
Home Laptop : Windows 10 - Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 2401 Mhz, 2 Core(s), 4 Logical Processor(s) - 4 GB - Intel HD 4400
Work Desktop : Windows 10 - Intel I7 - 4 Ghz - 8GB - Quadro Fx 370
Thanks Mike,
I will have a look at it.
Petr
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
Is the following syntax ok for you?:
I know the hWnd parameter might seem irrelevant for the moment, but what if TBGL will support multiple windows in the futureTBGL_ChangePeriodicFunction( hWnd, FunctionName )
Petr
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
Thats sounds good to me.
One suggestion which could chaos is to change the function names to all start with Periodic
TBGL_PeriodicChangeFunction
TBGL_PeriodicBindFunction
TBGL_PeriodicProcessFunction
TBGL_PeriodicUnBindFunction
This would group all commands together making it easier to find all related commands.
Mike
oops spelling error function without the first "n" becomes quite rude![]()
Home Desktop : Windows 7 - Intel Pentium (D) - 3.0 Ghz - 2GB - Geforce 6800GS
Home Laptop : WinXP Pro SP3 - Intel Centrino Duo - 1.73 Ghz - 2 GB - Intel GMA 950
Home Laptop : Windows 10 - Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 2401 Mhz, 2 Core(s), 4 Logical Processor(s) - 4 GB - Intel HD 4400
Work Desktop : Windows 10 - Intel I7 - 4 Ghz - 8GB - Quadro Fx 370
That sounds good, and the latest TBGL commands follow this pattern (TBGL_Entity...).
I think I have used the old syntax in some tutorials already, but nothing is simpler than adding alias inside module definition. I will do that.
The syntax TBGL_Periodic... will be better for case once thinAir will have code completion, it will quickly filter out the rest.
I will update the docs and upload new DLL for testing in few minutes.
Petr
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
Hi Mike,
here you can get it implemented and documented. Let me know in case of any problems:
thinBasic TBGL update 2010 10 18 B(fixed)
Petr
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
Huh,
there is a bug, I will reupload in a moment.
Petr
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
New version online, please get it here:
http://psch.thinbasic.com/temporary/...e20101018B.zip
Petr
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
Thanks for the update I will have a play tonight.
Mike
Home Desktop : Windows 7 - Intel Pentium (D) - 3.0 Ghz - 2GB - Geforce 6800GS
Home Laptop : WinXP Pro SP3 - Intel Centrino Duo - 1.73 Ghz - 2 GB - Intel GMA 950
Home Laptop : Windows 10 - Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 2401 Mhz, 2 Core(s), 4 Logical Processor(s) - 4 GB - Intel HD 4400
Work Desktop : Windows 10 - Intel I7 - 4 Ghz - 8GB - Quadro Fx 370