Page 2 of 3

Posted: Sat Feb 04, 2006 2:26 pm
by MikeR
This is a great idea. As a tech demo, I wouldn't get tooo extravagant. It needs to show off Irrlicht.
I would like to see one thing in the programming that's different from the one we have now....
Regular Irrlicht Programming. Not windows programming.
In other words...

Instead of this:

Code: Select all

#ifdef _WIN32
INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT )
#else
int main()
#endif
{
	bool fullscreen = false;
	bool music = true;
	bool shadows = false;
	bool additive = false;
	bool vsync = false;

	video::E_DRIVER_TYPE driverType = video::EDT_DIRECT3D9;

	CMainMenu menu;

#ifndef _DEBUG
	if (menu.run(fullscreen, music, shadows, additive, vsync, driverType))
#endif
	{
		CDemo demo(fullscreen, music, shadows, additive, vsync, driverType);
		demo.run();		
	}	

I'd like to see it in this format:

Code: Select all

int main()
{
	// ask if user would like shadows

	char i;
	printf("Please press 'y' if you want to use realtime shadows.\n");

	std::cin >> i;
	bool shadows = (i == 'y');

	// ask user for driver

	video::E_DRIVER_TYPE driverType;

	printf("Please select the driver you want for this example:\n"\
		" (a) Direct3D 9.0c\n (b) Direct3D 8.1\n (c) OpenGL 1.5\n"\
		" (d) Software Renderer\n (e) Apfelbaum Software Renderer\n"\
		" (f) NullDevice\n (otherKey) exit\n\n");

	std::cin >> i;

	switch(i)
	{
		case 'a': driverType = video::EDT_DIRECT3D9;break;
		case 'b': driverType = video::EDT_DIRECT3D8;break;
		case 'c': driverType = video::EDT_OPENGL;   break;
		case 'd': driverType = video::EDT_SOFTWARE; break;
		case 'e': driverType = video::EDT_SOFTWARE2;break;
		case 'f': driverType = video::EDT_NULL;     break;
		default: return 1;
	}	

	// create device and exit if creation failed

	IrrlichtDevice *device =
		createDevice(driverType, core::dimension2d<s32>(640, 480),
		16, false, shadows);

	if (device == 0)
		return 1; // could not create selected driver.
All of the Irrlicht examples eccept for the techdemo and win 32 are like the latter.

Posted: Sat Feb 04, 2006 8:02 pm
by Quall
Heh, I think the tech demo would be more extensive if it read the config from an xml doco with irrxml rather than the cmd prompts.

Posted: Sat Feb 04, 2006 8:57 pm
by jonasrf
Id like to see the project documented, at least a little bit.

Posted: Sat Feb 04, 2006 9:24 pm
by MikeR
jonasrf wrote:Id like to see the project documented, at least a little bit.
I think that's part of what this remake is all about. Making a techdemo that actually shows off Irrlicht, and commented so that it makes an easy place for Newbies to go look.

Posted: Sat Feb 04, 2006 9:35 pm
by Eternl Knight
That is how I understood it too. It would be released along with the examples (like "Demo is now). If it could be coded in such a way that each person can code a room, it would be possible to make a mini-tutorial for each feature pretty easily. One feature/room - one tutorial.


--EK

Posted: Sun Feb 05, 2006 12:21 am
by Other
Great idea!!!

Shader water surface would be also very cool!

Posted: Sun Feb 05, 2006 5:49 am
by Emil_halim
well, i see all of us has suggested and feeded his own idea, great....

is there any one start to do this project till now, if we continue making a wishs we will not do any thing.

so we need some one to start this demo then we adding our ideas.

Posted: Sun Feb 05, 2006 4:54 pm
by TheRLG
Well I think we first need to make a set list of features that will be displayed, then come up with a coding standard for each person's chunk.

p.s. showing off the ability to have numerous types of cameras would be great, like F1 for FPS, F2 for third person, F3 for RTS, etc..etc..

Posted: Sun Feb 05, 2006 7:59 pm
by bitplane
hey I like the idea of this, count me in if you need an extra pair of hands :)

Posted: Sun Feb 05, 2006 8:21 pm
by MikeR
I've started making a basic outline. I'm using the bsp map that the original demo uses.
I need the Irrlicht sound that came with the original tho. Does anyone have it? I can't find it anymroe.

Posted: Mon Feb 06, 2006 4:02 am
by MikeR
Ok, well I found an older version of Irrlicht that I forgot I had that had the irrlicht sound in it.

-->{link}This is the start of a New Demo for Irrlicht<-- The zip file is complete with readme, and all files including a dev-cpp project file. If someone wants to take this and continue/modify it to include some other things from the suggestions here, please do. Please remember, this is just a beginning.
I think a new demo should be a project made by more than one person.
Anyone who adds to this world, please add your name to the top of the main.cpp and in the readme.

Files included:

Dev-cpp project file
main.cpp
I used the regular Irrlicht0.14.0 files and dll. No changes.
Audiere.dll
Irrlicht media folder

In this world:
bsp file loaded from the irrlicht zip file archive
1 particle emitter simulating fire.
1 sound file using audiere

Posted: Mon Feb 06, 2006 4:54 am
by Eternl Knight
Thanks MikeR. I'll look at adding some stuff to it myself tonight :)

--EK

Posted: Fri Feb 10, 2006 9:47 am
by Guest
So where is it? ;)

Hope it's still happening but please loose the stupid syndey model and put something fresh in.

Posted: Fri Feb 10, 2006 10:22 am
by MasterD
Also this seems to have allready started, I would like to say, that in my opinion it could be two techdemos:

1. "Simple" Techdemo: With features allready available with a "basic" Irrlicht version, maybe some Sound and 1-3 additional Shaders
2. "advanced" Techdemo: With features you are talking about, ODE, custom Irrlicht extensions, etc.; maybe constructing on the base of the first one

The reason why I would make this cut:
An interested person, who sees this advanced demo could be annoyed, seeing that for the features he expected, he needs to add severel Irrlicht extensions (also some without recompile needed), ODE support, and other stuff.

Anyhow, this is just a thought, any new Techdemo, showing off cool Irrlicht features in one Application is _very_ nice! (also if ODE, Raknet, Audiere, I-dont-know-what.dll used)

Posted: Fri Feb 10, 2006 8:30 pm
by AlexL
Personaly, the whole idea sounds really nice; The suggested audio, physics, networking, ect.

But then, if one were to do this, wouldn't it be looked at as more of their pet project then an Irrlicht tech demo? In my opinion, if a techdemo showing off Irrlicht is going to be made; lets keep it to just the Irrlicht library and work that up to it's fullest. It's not my project, and I will download and enjoy it either way :) But why not work on showing off what *just* Irrlicht can do and not bloat it down with other things?