Results 1 to 4 of 4

Thread: Particle effects?

  1. #1
    thinBasic MVPs ReneMiner's Avatar
    Join Date
    Oct 2012
    Location
    Germany
    Age
    51
    Posts
    1,397
    Blog Entries
    1
    Rep Power
    154

    Particle effects?

    I tried to find some particle effects. Is there some? Maybe tB-GL.inc? I've not found them yet but in order to make another game I'd like to use particles for cool special effects. Have some hint for me?
    running thinBasic in HP Desktop Pavillon 8GB Ram AMD A6-9225 Radeon R4 5Compute Cores 2C+3G @2.6GHz

    OS1: Windows x64 Pro 10.0.18363.418
    OS2: ThinDE (WinRE+.NetCore-based customized Developement Environment)

  2. #2
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,083
    Blog Entries
    5
    Rep Power
    725
    OpenGL does not have any functionality for particle effects, and TBGL also not at the moment. I was tempted to add them multiple times in the past, but the problem is that particles are very general thing.

    I did lot of examples on particles in pre-entity era, but I think I could help you with this and create something using entities. What do you need the particles for (what kind of effect: smoke, fire, ...?), in what amounts (few, thousands, ...)?


    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

  3. #3
    thinBasic MVPs ReneMiner's Avatar
    Join Date
    Oct 2012
    Location
    Germany
    Age
    51
    Posts
    1,397
    Blog Entries
    1
    Rep Power
    154
    I would use them different kinds as emitter to be the "exhaust" of some spaceship, and for other games like glow/flashing/lightning so some clicked objects disappears not just like poof- and gone- but with some visual spectacular effect to make it look more interesting. Cool would be some emitter-entity where you can set particle amount, (directional or sphere-like around one point) , density, size, lifetime and color for all purpose from water-fountains to volcanos.
    Also nice would be some like electrical power charge that looks as lightning, welding or a short circuit. "Random lines" that connect two points but not in a straight way
    running thinBasic in HP Desktop Pavillon 8GB Ram AMD A6-9225 Radeon R4 5Compute Cores 2C+3G @2.6GHz

    OS1: Windows x64 Pro 10.0.18363.418
    OS2: ThinDE (WinRE+.NetCore-based customized Developement Environment)

  4. #4
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,083
    Blog Entries
    5
    Rep Power
    725
    There is an older example showing some kind of particle emitting, you can see I used TBGL_EntitySetTarget to keep the particles face camera.


    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

Similar Threads

  1. TBGL for movie effects? :)
    By Petr Schreiber in forum TBGL module by Petr Schreiber
    Replies: 7
    Last Post: 17-08-2009, 04:12
  2. particle circle falling down animation :)
    By Lionheart008 in forum Experimental modules or library interface
    Replies: 5
    Last Post: 28-07-2009, 15:53
  3. Effects, stars, colors example :)
    By Lionheart008 in forum TBGL General
    Replies: 6
    Last Post: 09-12-2008, 21:37
  4. Audio: Sound effects
    By Michael Hartlef in forum Media
    Replies: 0
    Last Post: 13-10-2008, 08:52
  5. Very simple particle effect
    By Petr Schreiber in forum TBGL Scripts and Projects
    Replies: 5
    Last Post: 20-01-2008, 11:31

Posting Permissions

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