What a great examples.
And CPU usage is so low.
Fantastic.
I think the best way to celebrate todays ThinBASIC 5 years anniversary is with script
That is why even this month, you get something new from TBGL realm.
This time it is article focused on possible approach to bokeh rendering.
You can download the article from here:
MovieFX: Blending based bokeh [PDF]
You can access the article anytime later by visiting Articles section of TBGL website.
There are two scripts to accompany it, you can download them from the attachement.
Also please update your Lib directory with fixed TBGL, otherwise you will get false positive run time error during the execution.
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
What a great examples.
And CPU usage is so low.
Fantastic.
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Thanks Eros,
The examples show two possible approaches:
- The first one, with airplanes, renders as fast as possible, so there the CPU usage can get extreme.
- The second one uses timer based approach, so the CPU usage is about zero.
The first example could achieve the same low footprint by using TBGL_BindPeriodicFunction.
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 Petr,
great article as always. Can't wait to try the code at home tonight!
Michael
Thank you Mike,
let me know if it worked on your PC. Both the article and examples are not locked, in case of problem I can fine tune it further.
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
Nice article Petr, didn't try the code as don't want to get distracted at the moment. Thanks.
Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server
Bookmarks