Page 1 of 3

Please test my app!

Posted: Mon Sep 20, 2004 6:21 pm
by afecelis
Hi guys. I just uploaded my version of the splitscreen tutorial.
It's got several interesting there to try out.

Arrow keys to navigate and "F" to toggle fullscreen. Careful, it's pretty hardware demanding so if you run it and things r slow with the 4 screens hit "F" and things should get a bit better. Careful again, when toggling back to splitscreen things will be even slower!!!!

Alt+F4 to quit.

Interesting things in it:
Based on Max Winkel's splitscreen tutorial
Using Zdimitor's My3d format and loader
Music from the Gasoline demo by RECREATION : 'GASOLINE 2' : 2001, composed by Spector
http://www.danielpatton.com/afecelis/sr ... Screen.zip

thnx for any comments!

ps. Source to come out soon!

Posted: Mon Sep 20, 2004 7:29 pm
by erSitzt
Looks very nice, in splitscreen-mode i got about 60 fps when i start it, but the fps are decreasing over the time (2-3 minutes).
In the end i only got 14 fps

Whats the polygoncount ?

Posted: Mon Sep 20, 2004 7:45 pm
by afecelis
thnx!!!

well, sydney is the typical Irrlicht sydney (342 verts, 679 faces); the level itself (including the pipes) is: verts: 4888, faces: 9688.

the level itself is not too complex for Irrlicht to render. What makes it slower is the dynamic light casting shadows.

When you say "in the end" you mean after toggling fullscreen mode?

thnx for posting. Btw, interesting signature !! :D

Posted: Mon Sep 20, 2004 7:59 pm
by bal
I think there is something seriously wrong. My FPS started at 45 and kept on going down until it went really slow. It's like you add something every frame... In fullscreen mode everything is normal, except for the 40 FPS around the dynamic shadow :). Else on the map I get 70-180 FPS.

Beautiful design btw :).

Posted: Mon Sep 20, 2004 9:06 pm
by Tyn
afecelis wrote:thnx for posting. Btw, interesting signature !! :D
Envy, it's a right bastard ;)

Posted: Mon Sep 20, 2004 9:11 pm
by jox
Nice, you made Sydney dance! :)

But, yea, it's getting slooooow! When I start and instantly switch to fullscreen I get like 105 fps. But after a while it's getting constantly slower, even without switching to splitscreen. It's going down to about 15 fps. Without doing anything (not even moving around...).

Posted: Mon Sep 20, 2004 9:29 pm
by erSitzt
i checked mem consumption, but it is at approx. 83.000 all the time....

Posted: Mon Sep 20, 2004 9:31 pm
by jox
Yea I checked that too... In the beginig it was going up to over 100MB that I though damn it's got a leak. But then it went and stayed down around that 83 or so...

Posted: Tue Sep 21, 2004 12:01 am
by afecelis
thnx for all the comments guys.

I'm uploading the source so that you guys can check it. Please let me know if there are any leaks, or if anything's wrong with my code.

cheers!

http://www.danielpatton.com/afecelis/sr ... Screen.zip

perhaps it might also be a slowdown in the new renderer

Posted: Tue Sep 21, 2004 2:20 am
by etcaptor
Look nice, but on my pc runs slow -3-5 fps. /Dynamic shadows/
What do you think for node selection in miltiple views :D ?

I lost whole night, but results are fortuitously.

Posted: Tue Sep 21, 2004 2:39 am
by afecelis
Thanks Etcaptor!

I just uploaded a newer version here:
http://www.danielpatton.com/afecelis/sr ... Screen.zip

It hasn't gotten the fps dropdown fixed but I tried to add some additional stuff. This is the first try I play around with event receivers so I know I made a lot of mistakes.

Checking how the "F" key toggles fullscreen on and off I decided to try to add my own stuff, mainly:
M to switch to Maya camera mode
N to return to normal FPS cam
W to switch to wirframe rendering (busy afternoon, huh?)

Now here's the funny part. You'll have to hit the "M" twice to get the Maya cam to work,; same for "N" to get the fps cam to work. Now F is the only one that still works fine, I mean the toggling thing. Finally, W switches to wireframe, but then it never toggles back to textured rendering; so if you guys feel like experimenting with the app, leave "W" for the end, lol!

so I need help again! I'm including my sources in case you can check my main.cpp file, laugh a bit of my errors and give me any hints on how to make evrything toggle properly and improve my coding skills!

so, I'm counting on you, my new friends, I'd appreciate it if you could help me make my test app better!!!!
:D :D :D :D :D

ps. And the rendering still behaves the same! :cry:

Posted: Tue Sep 21, 2004 2:49 am
by afecelis
@Etcaptor: I didn't understand your question very well, but I think you were asking what I want the splitscreen thingie for?

well, I want to create my own version of 3dsmax!!!! lol!!!! :D

kidding, but I want to use it to display an architectural project, have it ready for a customer so that he can check it in top, side, and front view, and then if he decides, toggle to full screen and take a walkthru around it!!!

interesting, right?

but I still got a lot to learn. Specially GUI stuff. But I'm getting there, I'm getting there. Today for the first time ever, I understood the API and found some solutions from using it!!! :D That can only mean that my brain is understanding something!!!

so, definitely, for what I want to display performance it's a must, so I'm counting on you guys to beta test my stuff and report everything you guys can!!!

thnx!! and cheers!

Posted: Tue Sep 21, 2004 3:19 am
by afecelis
hey guys, it's not that I'm bored or anything, but usually when I'm awake, thinking stuff, most of you are sleeping!!!! So the forums are all for me alone!!!

h ehe hehe !!!

I was thinking, perhaps this test app could be "3dmark 2006" !!!!!

loooooooooooooooooooooolllll :shock: :shock: :shock:

Posted: Tue Sep 21, 2004 8:45 am
by puh
afecelis: I've found the reason why FPS drops after some time - IParticleEmitter has wrong lifetimeMin and lifetimeMax value (see line 189 of main.cpp) - you have 2020, 2000, e.g. particles never disappear. Just change it to 1000, 2000, and FPS always remains same.

Code: Select all

	scene::IParticleEmitter* emb = ps->createBoxEmitter(core::aabbox3d<f32>(-7.00f,0.00f,-7.00f,7.00f,1.00f,7.00f),
			core::vector3df(0.00f,0.03f,0.00f),100,250,
			video::SColor(0,0,255,100), video::SColor(0,255,255,100),1000,2000,0);
Great map, by the way, afecelis, you are the Artist!

Posted: Tue Sep 21, 2004 9:07 am
by mm765
afecelis, when you feel lonely because no one else seems to be awake, visit us in the irc-channel..theres almost always someone awake :D