PDA

View Full Version : tbgl primitive example with quadview



Lionheart008
04-11-2008, 19:14
hi, :D

hello dear tbgl friends,

- some more simple inputs for 'tbgl primitives', here a little examples with rotating objects, all done in a quadview tbgl script... more will come... send only a first issue of the scene ;)

- perhaps this could be a tutorial for the thinbasic journal ?

- colors of some objects changes...
- all work in progress...

- qt: by the way: what kind of objects (creation of primitives, n-gones etcpp...) are general possible with tbgl ???

best wishes, nice evening, lionheart

Petr Schreiber
04-11-2008, 20:43
Hi Lionheart,

thanks for the sample. TBGL supports now sphere, cylinder, box and torus.
Other primitives can be generated via code or loaded as models from m15 file :)


Petr

Lionheart008
04-11-2008, 21:39
hi petr,

yes, good to hear that...


TBGL supports now sphere, cylinder, box and torus.

- the follow example 'Box_TorusTestfly' belongs to the direction I would like to go... and later fulfil it for another board with my emitter example.. or quadview example, when I have understood all such things ;) but I can see some green and bright horizont for building in some weeks a new exercise with emitter objects... :D

- I have created some torus bundles and rotate it around the box ;) In the emitter example the creation of torus objects weren't possible, so I create objects and try to animate it and I hope I can build emitter objects to with particles...

- little update :)
the new blue box follows the torus bundles, nice to see what happens when you change some settings of the box rotation and entities... ;)

bye, ciao und servus, Lionheart

Lionheart008
05-11-2008, 00:51
one more from the tbgl road :), dear petr... and all...

- added a little psychological effect (dimension hole) beside the cruising torus objects, the disadvantage: the torus bundle whipped sometimes out of the dimension hole scene ...

- very good to learn with/from other tbgl examples ! ;)

- I can imagine, my first little tbgl game will appear until 31.12.2008, I have got a good idea... during running this script ;D

good night, lionheart

ps: How can I get properties of my objects? By the "listview" functions ?


' -- Information
CONTROL ADD listview, hDlg, %lvwInfo , "", 280 , 5, 180, 100, %LV_VIEW_DETAILS | %LVS_SINGLESEL | %WS_VISIBLE | %WS_CHILD | %LVS_SHOWSELALWAYS | %WS_BORDER , %LVS_EX_FULLROWSELECT | %LVS_EX_GRIDLINES
control set resize hDlg, %lvwInfo, 0, 1, 1, 0