• Advertisement

Archived

This topic is now archived and is closed to further replies.

Your opinion of my first finished demo thing ish!

This topic is 5150 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

- first one worth showing anyway! Made some other stuff in between and still in progress, but nothing decent looking (yet), let alone finished. I'd like to show this one off now, anyway. So, I present to you in windows OpenGL: wamingo's Matrix Code Rain Copy and paste: http://users.cybercity.dk/~dsl54345/misc/wam's_matrix_code.zip yes, I know... Probably everyone and their dog has made one just like it and it's been done to death already... But I looked around the web for types like it and found almost none that were very interesting including two versions downloadable from nehe's archive. I tried hard to take it a little step further towards the movie than those have and, well, you'll have to look for yourself I think... Personally I'm pretty happy with it now, but give me your honest opinion anyway, please. A few notes perhaps - It's not really interactive, but there's a few keys still, check the readme inside for details. oh yeah. You need OpenAL, I hope it comes pretty standard with audio drivers otherwise I haven't got a clue what to do about it??? I never did any audio programming until 2 days ago and sort of hacked it in quickly, but I was unable to find proper sound files so the one sound there is is very (very very) modest but decided to leave it in anyway, maybe I'll find some later, who knows. Anyway, hope you like it, and don't find any bugs!! but if you do please tell. edit: if you have trouble with OpenAL then try downloading creatives OpenAL driver from here: http://developer.creative.com/articles/article.asp?cat=1&sbcat=31&top=38&aid=46 [edited by - wamingo on January 14, 2004 7:35:56 PM]

Share this post


Link to post
Share on other sites
Advertisement
Pretty cool, except it turned my default windows cursor into a large yellow block. Hmm, now after typing, my cursor has returned... very strange.

edit: Interesting, I didn't need the openAL.dll file, I guess it's already on my system but to my knowledge I've never installed it before.

----------------
Amusing quote deleted at request of owner

[edited by - yakuza on January 12, 2004 8:41:16 PM]

Share this post


Link to post
Share on other sites
eeep, that doesn't sound good
Any ideas why?
What gfx card are you using?
I use a geforce 4400 and everything seems dandy here.

And the openAL is probably in your system or system32 windows folder...

sorry Joe-Bob. The OpenAL32.dll comes with creative sound drivers I think, and the OpenAL SDK from openal.org too of course but otherwise I haven't got a clue...
It would be nice if someone could clarify a bit on OpenAL?
I wanted to use a free sound sdk and not directx. I feel dx is too complicated to be bothered when something like open GL and now AL is so simple and can do everything I will ever need... Of course I used to say that about VB... doh!

edit:
Creative OpenAL Installer for Windows:
http://developer.creative.com/articles/article.asp?cat=1&sbcat=31&top=38&aid=46
I think that's what you need.

[edited by - wamingo on January 12, 2004 9:08:28 PM]

Share this post


Link to post
Share on other sites
Beats the hell outta me why it makes my cursor yellow. It''s probably about 64x64 pixels, a bright yellow cube for my cursor. It appears after about 5-10 seconds, and stays until I launch another program. It''s weird, it did it twice, and then it hasn''t done it again since, now I can''t reproduce it.

I use a Radeon 9600 Pro.

I also have a Creative card, I didn''t know they delivered OpenAL support.

----------------
Amusing quote deleted at request of owner

Share this post


Link to post
Share on other sites
It quits on startup for some reason, the window borders come up for a short time and before the window contents is painted, the window disappears again and the application is terminated, no error, no errorbeep or whatever. My specs:

GF4 Ti4200 128MB
SB Live! Player 5.1
AMD 2200+
512 MB RAM

Share this post


Link to post
Share on other sites
Three penguin - You sure you extracted the files with the directory structure intact as it is in the zip file? It''s quite important because the file paths are hardcoded... But that''s the only thing I can think of...

Share this post


Link to post
Share on other sites
I get an error while starting up. "The instruction at blah points to memory blah. Read or write operation failed" (and that''s translated from Dutch, you''ll know what I mean ).

Specs:

WinXP Professional with all the latest patches and stuff
256MB ram
GeForce2 MX 200 with NVidia drivers from 06-10-2003
AMD AthlonXP 2200+

Share this post


Link to post
Share on other sites
warmingo: Yes i did, i even did it twice yearning for your demo . But it doesn''t work, i get no error messages or whatever, it just quits almost instantly .

Share this post


Link to post
Share on other sites
hey guys, I have updated the code with a tiny but "possible" fix... If you can be bothered please redownload, it''s the same file as above. I''m going into praying mode now

Share this post


Link to post
Share on other sites
Works perfectly on my very standard computer:

P4 1.4 GHZs
512 RDRAM
GeForce Ti 4400


Few notes: First off - it looks great! I liked the randomly placed white highlighting just like in the movie, and the formation of letters in the end... Nice sprinkle of originality.

I noticed in your data/gfx folder you have two textures for the upper border and lower border white to black scalars, you can use only one and use the texture matrix to flip that one texture by 180 whenever you need.

Anyhow cool project =)

Share this post


Link to post
Share on other sites
It still doesn't work , it gives this error (first in dutch and then translated to english):

wam's MatrixCode: matrix code.exe - Toepassingsfout
\ / De instructie op 0x003286ac verwijst naar geheugen op 0x0000012c.
\/ De lees- of schrijfbewerking ("written") op het geheugen is mislukt.
/\ Klik op OK om het programma te beëindigen.
/ \ [OK]
English:
wam's MatrixCode: matrix code.exe - Error in executable
\ / The instruction at 0x003286ac refers to memory at 0x0000012c.
\/ The reading- or writing expression ("written") on the memory has failed.
/\ Click on OK to quit the program.
/ \ [OK]

Pretty strange, haven't had this before with any application, maybe you should post code to see if i can change the bug (i won't steal the code ). I have installed openal, the latest nvidia drivers and i am running windows xp professional edition.

[edited by - Tree Penguin on January 13, 2004 4:43:41 PM]

Share this post


Link to post
Share on other sites
I guess I don''t have the openAL dll file. I''ll get around to downloading it one of these days and give you a review.


"If you are not willing to try, you will never succeed! If you never succeed, are you really trying?"

Grellin

Share this post


Link to post
Share on other sites
I guess the first bug was indeed to small to do such damage...
But now I'm suspecting my openal code, so I did the easiest thing and smacked in an error handler on openAL initializing, if it can't load then then there's just no sound, rather than just quitting which is what I suspect it might be doing...
So new version up, redownload if you can spare a moment

I don't think I'll post any code as it's really messy and very personalized

Thanks Enokh, glad you like it, and yeah I know about the texture thing thanks for reminding me though I had completely forgotten about it.

[edited by - wamingo on January 13, 2004 7:42:30 PM]

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
no sound on my comp & its pretty a darn nice one too. I know I have the openAL stuff, I have been playing with openAL myself for a few nights now.

Share this post


Link to post
Share on other sites
New version also doesn''t work for me. Looks like Tree Penguin is getting the same error. May it have something to do with the fact that we both seem to use the Dutch version of WinXP? Are you writeing anything to the registry for example?

Share this post


Link to post
Share on other sites
ok, new attempt... redownload please.

I included a bunch of new error popups although still relatively few... I hate messing my code up with something that just ought to work no matter what :/

There are now THREE command line parameters you can include in any order:
-nosound (forces off the attempt to initialize openAL)
-nomatrix (forces off drawing matrix code but press L to see if it can still draw the stats)
-linereached (only displays a single message directly after window creation, if it was created properly you'll see the message saying so)

example, start > run:
"c:\demos\matrix code.exe" -nosound -nomatrix -linereached

What I would do is try them all together first...
if it still doesn't work then I have more work to do obviously...
Then remove one parameter at a time or whatever you like and see if we can narrow it down to what the problem really is.

lets see if this does it and thanks for being my personal slave testers guys, it's much appreciated


[edited by - wamingo on January 14, 2004 10:55:32 AM]

Share this post


Link to post
Share on other sites
wamingo,

I like it. Once I got the OpenAL set up, it ran very nicely.

Are there any plans to make the source code available?

Cheers,
Jeroen

Share this post


Link to post
Share on other sites
It looks nice indeed, it only runs when i add the -nosound parameter, mayb i''ve got an older version than required.

Share this post


Link to post
Share on other sites
yay finally... :D
Maybe you should try to install the OpenAL version that creative have up here: http://developer.creative.com/articles/article.asp?cat=1&sbcat=31&top=38&aid=46
That''s the one I have installed so could be worth a try...
Of course the sound isn''t really anything to brag about though...
But you can install it for my Next Project - which is due in about 2009...

BigBoy, no sorry, I don''t think I will...
I''d be shameful to release it as it is and it''s horribly hard coded and it''s the worst possible procedure that I''m using really... I think the right way would be to treat it is a grid, but I''m treating it as strings with a position. Each vertical line (64 of them) is just a string with a coordinate moving downwards. It''s horrible... You don''t even see strings ontop of strings, each space for a line is always completely cleared before beginning a new (moves line to top), and that isn''t very matrix like...
But I think for what it''s worth it turned out alright, despite...

Share this post


Link to post
Share on other sites
That looks very cool, you should make it into a screen saver

Luke.

P.S Not a single problem it all ran perfectly on my

Duron 1200
Geforce 4mx 440
Sound Blaster Live.

Hyperdev

"To err is human, to really mess up requires a computer"

Share this post


Link to post
Share on other sites
It seems that for everyone (including me) who had problems running your demo, the solution was to start it with -nosound.

I tihnk you should release your projects with the runtime libraries required to run it (that is if you legally can redistribute them, which I believe is the case for OpenAL). This way you won't have to worry about that again.

PS : by the way... Cool demo

[edited by - trexmaster on January 16, 2004 3:10:09 AM]

Share this post


Link to post
Share on other sites

  • Advertisement