• Welcome to Dark Bit Factory & Gravity.
 

[C++] plasma (adapted from Clyde's BMAX code)

Started by hellfire, June 09, 2009

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

hellfire

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++.
Challenge Trophies Won:

Pixel_Outlaw

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:

Shockwave

Ooh, nice one.
Works here fine ATI X1650
Shockwave ^ Codigos
Challenge Trophies Won:

rdc


hellfire

#4
Quote from: Pixel_Outlaw on June 09, 2009I 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:
Challenge Trophies Won:

Moroboshisan

Quote from: Pixel_Outlaw 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

Clyde

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:

Pixel_Outlaw

#7
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.
Challenge Trophies Won:

mziskandar

Cool...
Runs well on:

Win XP SP3
Intel 3.0ht
Ati9600xt
768MB RAM

Thanks for the source..  :goodpost:

Jim

OK on my W7 nVidia 8600GT, but white screen on my W7 i945 GMA950.

Jim
Challenge Trophies Won:

spitfire

white screen; laptop intel graphics chip

hellfire

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:

spitfire

extended region works, direct is white

Jim

Challenge Trophies Won:

Moroboshisan


va!n

@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:

hellfire

Quotethe 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 ;)

Quotei 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:

benny!

@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:

Rbz

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: