View Full Version : Something new in TBGL area
Petr Schreiber
27-07-2006, 21:03
Hi all,
TBGL 0.1.7 is part of thinBASIC 1.0.9.2 peview version.
After some test I made with Eros ( thanks ! ) I'v advanced again and I would like to perform last prerelease test on not WinME Windows systems ( XPs, 2000, 98 ... ) to make sure I won't release buggy crap.
For any adventurers there is download. It contains one simple demo of M15 model loading and smooth skeletal animation I'v introduced.
Any suggestions/reactions would be highly appreciated !
Thanks,
Petr
DOWNLOAD REMOVED, FUNCTINALITY AVAILABLE IN THINBASIC INSTALLATION
ErosOlmi
28-07-2006, 00:49
Fantastic example.
Problem: sometimes it starts with just a blue screen and user is not able to understand what's going on.
Ciao
Eros
http://www.thinbasic.com/public/products/thinBasic/3rdParty/017.avi
(2.9 Mb AVI video of test example included by Petr)
Petr Schreiber
28-07-2006, 09:02
Hi Eros,
thanks for the reply and video ;)
If the problem you describes is something like you cannot move view and it seems "frozen" although it is not hard lock in real ... I have encountered with this trouble even in TBGL demos in some rare cases. I thought it is gone but it is not. Bugs never leave on their own :).
So I will have a look. I bet it is my internal OpenGL initialization/timing problem.
Thanks a lot !,
Petr
P.S. Some players show me strange visual artifacts in the video. It seems the problem is non standard resolution.
If you have problems, you could try this 320x240 video (http://psch.thinbasic.com/media/TBGL017_Manta320.avi) ( 1.1 MB ).
It is not as well directed as Eros one, as it is just does 360° rotation around the center of the scene, but it does not make problems on WinME / MediaPlayer.
P.P.S. ... or you can download the sample and see it in best quality and with higher level of interactivity :)
Petr Schreiber
02-09-2006, 20:48
Hi all,
I'v updated the download to maintain compatibility with new thinBASIC preview release.
It has still the same functionality, but it can work under new tB preview.
Why?
The memory consumation of TBGL powered scripts was enormous, Eros reported 80 MB and I can only confirm it. So I redesigned the TBGL module, which leads to much less memory requirements for old style scripts. This module version is already bundled with preview ( marked as TBGL 0.1.7 RC 4 ).
If you want to take avantage of model loading, you must specify how many models you will use and their maximum vertexcount. This can improve the memory situation a lot.
In older version there was allocated space for 16 models, each with 25 000 vertices; this led to awful memory eating even in case of primitive scripts. Now it is fixed.
Bye,
Petr