Author Topic: [C++] plasma (adapted from Clyde's BMAX code)  (Read 16286 times)

0 Members and 1 Guest are viewing this topic.

Offline hellfire

  • Sponsor
  • Pentium
  • *******
  • Posts: 1292
  • Karma: 466
    • View Profile
    • my stuff
So moderator magic moved my post from here to a whole new topic...

As stated in the title it's just a copy of Clyde's source to compile in Visual Studio (2005 or newer).
Might be interesting for blitz-users who want to peek into c++.
« Last Edit: June 09, 2009 by hellfire »
Challenge Trophies Won:

Offline Pixel_Outlaw

  • Pentium
  • *****
  • Posts: 1382
  • Karma: 83
    • View Profile
Re: [C++] plasma (adapted from Clyde's BMAX code)
« Reply #1 on: June 09, 2009 »
I ran the included .exe and all I saw was a white screen. I have a Radeon card.

I was looking forward to it too.  :skint:
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17398
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: [C++] plasma (adapted from Clyde's BMAX code)
« Reply #2 on: June 09, 2009 »
Ooh, nice one.
Works here fine ATI X1650
Shockwave ^ Codigos
Challenge Trophies Won:

Offline rdc

  • Pentium
  • *****
  • Posts: 1495
  • Karma: 140
  • Yes, it is me.
    • View Profile
    • Clark Productions
Re: [C++] plasma (adapted from Clyde's BMAX code)
« Reply #3 on: June 09, 2009 »
Very cool.

Offline hellfire

  • Sponsor
  • Pentium
  • *******
  • Posts: 1292
  • Karma: 466
    • View Profile
    • my stuff
Re: [C++] plasma (adapted from Clyde's BMAX code)
« Reply #4 on: June 09, 2009 »
I ran the included .exe and all I saw was a white screen. I have a Radeon card.
Oh, so my framework seems to went somewhat incompatible somewhere; I'll have a look at that later...
What card is that exactly?

edit:
After having a closer look at my screen-interface, the only potential problem I could spot is the use of non-power-of-two-textures (using GL_TEXTURE_RECTANGLE) which work properly even on a pretty old geforce2mx (with current drivers) which is the oldest card I can get my hands on at the moment...  :skint:
« Last Edit: June 09, 2009 by hellfire »
Challenge Trophies Won:

Offline Moroboshisan

  • Senior Member
  • Amiga 1200
  • ********
  • Posts: 454
  • Karma: 18
  • C=64
    • View Profile
Re: [C++] plasma (adapted from Clyde's BMAX code)
« Reply #5 on: June 09, 2009 »
I ran the included .exe and all I saw was a white screen.

same white screen here.

Notebook Acer Aspire 5710, Intel(R) Graphics Media Accelerator, Driver Version: 6.14.10.4926
*   Accelerator Information   *
Accelerator in Use:   Mobile Intel(R) 945 Express Chipset Family
Video BIOS:      1471.0
Current Graphics Mode:   1280 by 800 True Color (60 Hz)

DirectX: 9.0c v4.09.0000.0904

WinXP SP3

Offline Clyde

  • A Little Fuzzy Wuzzy
  • DBF Aficionado
  • ******
  • Posts: 7271
  • Karma: 71
    • View Profile
Re: [C++] plasma (adapted from Clyde's BMAX code)
« Reply #6 on: June 09, 2009 »
Excellent Conversion HellFire dude, and really cool work with your screen lib.
Very usefull source for when I delve into C++ properlly.
Still Putting The IT Into Gravy
If Only I Knew Then What I Know Now.

Challenge Trophies Won:

Offline Pixel_Outlaw

  • Pentium
  • *****
  • Posts: 1382
  • Karma: 83
    • View Profile
Re: [C++] plasma (adapted from Clyde's BMAX code)
« Reply #7 on: June 09, 2009 »
Running fine here now! Looks really smooth. Thanks for the code as I'm trying to pick up C++ before my college semester starts at the end of the summer vacation. You also have very clean coding style.
« Last Edit: June 09, 2009 by Pixel_Outlaw »
Challenge Trophies Won:

Offline mziskandar

  • C= 64
  • **
  • Posts: 46
  • Karma: 1
    • View Profile
Re: [C++] plasma (adapted from Clyde's BMAX code)
« Reply #8 on: June 09, 2009 »
Cool...
Runs well on:

Win XP SP3
Intel 3.0ht
Ati9600xt
768MB RAM

Thanks for the source..  :goodpost:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: [C++] plasma (adapted from Clyde's BMAX code)
« Reply #9 on: June 09, 2009 »
OK on my W7 nVidia 8600GT, but white screen on my W7 i945 GMA950.

Jim
Challenge Trophies Won:

Offline spitfire

  • Amiga 1200
  • ****
  • Posts: 275
  • Karma: 9
    • View Profile
Re: [C++] plasma (adapted from Clyde's BMAX code)
« Reply #10 on: June 10, 2009 »
white screen; laptop intel graphics chip

Offline hellfire

  • Sponsor
  • Pentium
  • *******
  • Posts: 1292
  • Karma: 466
    • View Profile
    • my stuff
Re: [C++] plasma (adapted from Clyde's BMAX code)
« Reply #11 on: June 10, 2009 »
Those mobile chipsets seem to cause a bit of a trouble.
I've added two versions for testing, do they work any better?
Challenge Trophies Won:

Offline spitfire

  • Amiga 1200
  • ****
  • Posts: 275
  • Karma: 9
    • View Profile
Re: [C++] plasma (adapted from Clyde's BMAX code)
« Reply #12 on: June 10, 2009 »
extended region works, direct is white

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: [C++] plasma (adapted from Clyde's BMAX code)
« Reply #13 on: June 10, 2009 »
same for me.
Challenge Trophies Won:

Offline Moroboshisan

  • Senior Member
  • Amiga 1200
  • ********
  • Posts: 454
  • Karma: 18
  • C=64
    • View Profile
Re: [C++] plasma (adapted from Clyde's BMAX code)
« Reply #14 on: June 10, 2009 »
extended region works, direct is white

same here

Offline va!n

  • Pentium
  • *****
  • Posts: 1431
  • Karma: 109
    • View Profile
    • http://www.secretly.de
Re: [C++] plasma (adapted from Clyde's BMAX code)
« Reply #15 on: June 10, 2009 »
@hellfire:
thanks a lot for sharing the VS version... i tested both version on my Win7-RC1-64 bit config... Plasma of both versions are running without probs... however, while closing the app, both version crashed here!

Just a question, the screen.lib seems to based on OpenGL... Is this lib your own work? (however i am very interested in DX :P )
- hp EliteBook 8540p, 4 GB RAM, Windows 8.1 x64
- Asus P5Q, Intel Q8200, 6 GB DDR2, Radeon 4870, Windows 8.1 x64
http://www.secretly.de
Challenge Trophies Won:

Offline hellfire

  • Sponsor
  • Pentium
  • *******
  • Posts: 1292
  • Karma: 466
    • View Profile
    • my stuff
Re: [C++] plasma (adapted from Clyde's BMAX code)
« Reply #16 on: June 10, 2009 »
Quote
the screen.lib seems to based on OpenGL... Is this lib your own work?
Of course - you can easily recognize my code at the number of reported problems ;)

Quote
i am very interested in DX  :P
I chose OpenGL here because everything that's needed to compile is already installed with Visual-Studio.
So there's no need to download huge sdks or fiddling with project settings - which is major obstacle when starting with C++.
Challenge Trophies Won:

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: [C++] plasma (adapted from Clyde's BMAX code)
« Reply #17 on: June 11, 2009 »
@HellFire:

Nice example - thanks and K++ for uploading it.

Both versions just run fine on my little DELL notebook.
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2751
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: [C++] plasma (adapted from Clyde's BMAX code)
« Reply #18 on: June 11, 2009 »
Works fine here (Geforce 8800)

Here one version using tinyptc_ext for MSVC 2008, almost a copy and paste of Hellfire source :)
Challenge Trophies Won:

Offline spitfire

  • Amiga 1200
  • ****
  • Posts: 275
  • Karma: 9
    • View Profile
Re: [C++] plasma (adapted from Clyde's BMAX code)
« Reply #19 on: June 12, 2009 »
works