Post your Irrlicht gameplay video here

Post your questions, suggestions and experiences regarding to Image manipulation, 3d modeling and level editing for the Irrlicht engine here.

Re: Post your Irrlicht gameplay video here

Postby greenya » Mon Aug 20, 2012 8:49 am

No shaders, that is something which i'm looking forward to learn, but in this example - no shaders. Indeed, it works with both software renderers and Direct3D8 only, don't know why Direct3D9 not works :? , somehow it renders about a half of the screen tiles and crashes with texture locking. (and of cause it doesn't work with OpenGL at all, cause it is not thread-safe).

There are 10 threads in this demo (9 of them dynamically starts and exists (or aborts)):

+ main thread where actually created device and running it
    - here we call Generate() any time we want to regenerate fractal view, it aborts 1+8 threads if needed, calculates new fractal window for each tile, marks each tile as "not ready" and start new tile manager thread;
    - here we call DrawAll() for fractal, it draws all tiles which are ready);
+ tile manager thread (watches for tile generator threads, when there is free one - loads it with next tile to generate);
+ 8 single tile generator threads (each one generates a small tile: locks texture, generates, ready to be aborted anytime and unlock texture at "finally" "try-catch"s part /* this is important */);

On my i7 it loads CPU on 100% while generating tiles. Each tile is 64x64 texture. Tiles created once and sorted in the way: who is closer to the center of the screen - goes first /* after this invention, fractal browsing became much more comfortable (before this, i generated all from left to right and from top to bottom - quite boring) */. All the calculation is done using "double" type, it gives a bit more ability to zoom-in in comparison to "float". Also I don't clear the background in driver.BeginScene(), that adds some smooth and also some traces when you move.
User avatar
greenya
 
Posts: 943
Joined: Sun Jan 21, 2007 1:46 pm
Location: Ukraine

Re: Post your Irrlicht gameplay video here

Postby hybrid » Mon Aug 20, 2012 11:12 am

Could you use another soundtrack, youtube won't play this in Germany :-(
hybrid
Admin
 
Posts: 13943
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany

Re: Post your Irrlicht gameplay video here

Postby greenya » Mon Aug 20, 2012 12:01 pm

Yeah, didn't noticed that before.
Changed the track for last two videos...
Well, now video has a bit another mood, but fractal generation still multi-threaded 8)
User avatar
greenya
 
Posts: 943
Joined: Sun Jan 21, 2007 1:46 pm
Location: Ukraine

Re: Post your Irrlicht gameplay video here

Postby Mel » Mon Aug 20, 2012 1:39 pm

Looks very nice :)

f** off shaders and video cards! :lol:
http://santiagong.daportfolio.com/
"There is nothing truly useless, it always serves as a bad example". Arthur A. Schmitt
User avatar
Mel
Competition winner
 
Posts: 1783
Joined: Wed May 07, 2008 11:40 am
Location: Granada, Spain

Re: Post your Irrlicht gameplay video here

Postby hendu » Mon Aug 20, 2012 4:14 pm

They did fractals in shaders on dx8 already, going back to cpu now feels a bit backwards :P
hendu
 
Posts: 1556
Joined: Sat Dec 18, 2010 12:53 pm

Re: Post your Irrlicht gameplay video here

Postby greenya » Mon Aug 20, 2012 5:33 pm

Well, i like multi-threading a lot. I feel like i can use all the power of modern cpu, which is impossible using single thread and you don't see any speed up on very fast cpus. Good about Mandelbrot set is that it is very easy to implement parallel computing, since each single pixel gets calculated separately and even the order doesn't matter. But yes, i believe in shaders it is not hard to implement at all, all the algorithm consists of loops and simple math... the only thing is to pass into shader set of arguments.

P.S.: maybe someday i will do it on shaders :)
User avatar
greenya
 
Posts: 943
Joined: Sun Jan 21, 2007 1:46 pm
Location: Ukraine

Re: Post your Irrlicht gameplay video here

Postby REDDemon » Thu Aug 23, 2012 5:39 pm

I like fractals :) *thumbs up*
OpenGL is not hard. What you have to do is just explained in specifications. What is hard is dealing with poor OpenGL implementations.
User avatar
REDDemon
 
Posts: 831
Joined: Tue Aug 31, 2010 8:06 pm
Location: Genova (Italy)

Re: Post your Irrlicht gameplay video here

Postby greenya » Tue Sep 11, 2012 12:18 am

One more small video using Irrlicht Lime:
http://www.youtube.com/watch?v=wNsVmyvJsQM
An implementation of simplified A* pathfinding algorithm.
User avatar
greenya
 
Posts: 943
Joined: Sun Jan 21, 2007 1:46 pm
Location: Ukraine

Re: Post your Irrlicht gameplay video here

Postby Granyte » Fri Oct 26, 2012 4:22 am

Here we go an entire procedural galaxy generated on the fly

http://www.youtube.com/watch?v=wbNGoUSjY6I

the current star count should be around 250 billion
Granyte
 
Posts: 515
Joined: Tue Jan 25, 2011 11:07 pm

Re: Post your Irrlicht gameplay video here

Postby Mel » Fri Oct 26, 2012 9:23 am

Nice... but the Kenny G. music XDDDD
http://santiagong.daportfolio.com/
"There is nothing truly useless, it always serves as a bad example". Arthur A. Schmitt
User avatar
Mel
Competition winner
 
Posts: 1783
Joined: Wed May 07, 2008 11:40 am
Location: Granada, Spain

Re: Post your Irrlicht gameplay video here

Postby Granyte » Fri Oct 26, 2012 9:45 am

i just could not resist putting it in background XD
Granyte
 
Posts: 515
Joined: Tue Jan 25, 2011 11:07 pm

Re: Post your Irrlicht gameplay video here

Postby hendu » Fri Oct 26, 2012 12:39 pm

Hey, don't flak Guru Josh, that's good music :P
hendu
 
Posts: 1556
Joined: Sat Dec 18, 2010 12:53 pm

Re: Post your Irrlicht gameplay video here

Postby greenya » Thu Nov 15, 2012 11:21 pm

Generating eye-catching stuff with Irrlicht Lime:
http://www.youtube.com/watch?v=CH_F7nl-38Y
User avatar
greenya
 
Posts: 943
Joined: Sun Jan 21, 2007 1:46 pm
Location: Ukraine

Re: Post your Irrlicht gameplay video here

Postby Mel » Fri Nov 16, 2012 9:21 am

Your music... *reads comments*... Is very nice... :lol:

Very cool effects :)
http://santiagong.daportfolio.com/
"There is nothing truly useless, it always serves as a bad example". Arthur A. Schmitt
User avatar
Mel
Competition winner
 
Posts: 1783
Joined: Wed May 07, 2008 11:40 am
Location: Granada, Spain

Re: Post your Irrlicht gameplay video here

Postby greenya » Fri Nov 16, 2012 7:56 pm

So, Mel, did you understand what you see and why you see what you see (what the generation pattern for the movement) ? :o)
User avatar
greenya
 
Posts: 943
Joined: Sun Jan 21, 2007 1:46 pm
Location: Ukraine

PreviousNext

Return to Everything 2d/3d Graphics

Who is online

Users browsing this forum: No registered users and 0 guests