Results 1 to 8 of 8

Thread: MadPulsar - see your images like never before

  1. #1
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,099
    Blog Entries
    5
    Rep Power
    727

    MadPulsar - see your images like never before

    Hi,

    the script in the attachement does some image manipulation which has not yet been shown in TBGL, but that is not the most interesting thing about the script.

    Lately, I have created new framework to build my graphic work on. It is based heavily on custom entities of two kinds:

    • actors - these are any entities with graphic representation, constructor, destructor and method pack
    • animators - these are any entities which manipulate other actor or animator entities

    Custom entities can be created using FuncSlot type of entity very easily, as has been discussed in article before. To create them faster I created ThinBASIC template for actors and animators, where you just replace "<object>" with your name for entity in the code and can start off. Just extract them to \thinAir\Template\TBGL directory.

    I prepaired very primitive example where actor is "pulsar" and animator is responsible for animating all pulsars in the scene. It is quite performance expensive demo due to intensive blending, so I added some fine tuning parameters on the left. The bigger the pixel step and smaller the pulsar size will be, the faster it will go. Various parameters result in completely different output, I hope you'll like it.


    Petr

    Latest TBGL required, get it here please:
    The latest TBGL download
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	PulsarImage.png 
Views:	208 
Size:	184.4 KB 
ID:	6920  
    Attached Files Attached Files
    Last edited by Petr Schreiber; 15-11-2010 at 11:59.
    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

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    55
    Posts
    8,653
    Blog Entries
    2
    Rep Power
    10
    Petr,

    I'm testing on a company machine with thinBasic beta 1.8.6 installed.
    I get error (see image).

    Do I need to have updated TBGL (the one on SVN) for this?

    Thanks
    Eros
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Error_NewList.jpg 
Views:	184 
Size:	51.3 KB 
ID:	6921  
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

  3. #3
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,099
    Blog Entries
    5
    Rep Power
    727
    I am sorry Eros,

    yes, it is possible the 1.8.6.0 TBGL contains bug preventing the correct use of TBGL_NewListSpace functionality. I did lot of additions and fixing since then.

    Please get the latest TBGL with Help here:
    The latest TBGL download

    and let me know.


    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

  4. #4
    thanks Petr, yes it is working okay, after updating the TBGL
    thank you

  5. #5
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    55
    Posts
    8,653
    Blog Entries
    2
    Rep Power
    10
    Yes, now it is working fine.

    Mainly it is my fault that I need to update thinBasic with the latest features developed

    I will work to have it by next week.
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

  6. #6
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,099
    Blog Entries
    5
    Rep Power
    727
    Well, in the first place, I should never release TBGL with problem in TBGL_NewListSpace grrr.


    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

  7. #7
    thinBasic MVPs
    Join Date
    Sep 2006
    Posts
    3,294
    Blog Entries
    2
    Rep Power
    345
    NICE, I like these kidn of effects. Can't ait to try that when I am back home and have tiome tonight.

  8. #8
    thinBasic MVPs
    Join Date
    Sep 2006
    Posts
    3,294
    Blog Entries
    2
    Rep Power
    345
    Very cool effect! Great job Petr.

Similar Threads

  1. GUI: Menu and clickable images
    By Michael Hartlef in forum TBGL Gui projects
    Replies: 5
    Last Post: 05-07-2007, 22:18
  2. Space background images
    By ErosOlmi in forum Resources
    Replies: 4
    Last Post: 25-02-2007, 00:20

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •