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,146
    Rep Power
    735

    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 Images Attached Images
    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
    57
    Posts
    8,814
    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 Images Attached Images
    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

  3. #3
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,146
    Rep Power
    735
    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
    57
    Posts
    8,814
    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/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  6. #6
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,146
    Rep Power
    735
    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 Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Germany
    Age
    58
    Posts
    3,299
    Rep Power
    348
    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 Michael Hartlef's Avatar
    Join Date
    Sep 2006
    Location
    Germany
    Age
    58
    Posts
    3,299
    Rep Power
    348
    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

Members who have read this thread: 0

There are no members to list at the moment.

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
  •