Making levels..

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Bluelight
Posts: 31
Joined: Mon Sep 19, 2005 10:25 pm
Location: Norway
Contact:

Making levels..

Post by Bluelight »

Can someone post a example code for making a levels and models with .3ds files?

An show how to make it run fullscreen?


Thanks.. :D
BlueLight
luckymutt
Posts: 453
Joined: Sun Mar 06, 2005 11:56 pm
Location: C-Ville

Post by luckymutt »

levels and models are not made by coding in Irrlicht.
They are made in a modelling program such as 3DsMax or Blender or whatever, and exported as a *.3ds file (or obj, or md2 or whatever)
Irrlicht just imports them.
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Or if you just have something simple like a 3D maze you can generate a .x file in the code and then import it into Irrlicht
Image Image Image
campino
Posts: 24
Joined: Wed Sep 21, 2005 12:57 pm
Location: Germany

Post by campino »

I think he wants to know how to load it and how to make it running fullscreen.

There are some examples in the Irrlicht-File you have downloaded. Look in the folder examples. It is also possible to find the examples in the Internet. Look at irrlicht.sourceforge.net[/url]
Youth-Irrlicht-Coder

There are 10 sorts of people, those who understand binaries and those who don't.
Bluelight
Posts: 31
Joined: Mon Sep 19, 2005 10:25 pm
Location: Norway
Contact:

He he..

Post by Bluelight »

Thanks.. All..
Yeah, I was wondering how to add a .3ds-file made with, let's say Gmax (free version of 3dsmax7 with some limitations) into a world map in the engine..

Or is it no diffrence in makin a model into a map then makin a map like in the terrain example?

I wanna use .3ds-files to make a level and then some more .3ds-files to create building and other models..

And how do I make this work, I mean, how do I apply collision to ground and houses..
How do I make the camera look like a player model from other camera views?

And I did actualy get the engine working fullscreen myself now, so no worry about that..
I also removed the Driver selection thingy and automatically use OpenGL only..

But.. I have one more problem to..
How do I disable the bluring effect or what ever it is that makes the text look like mud instead of letters?
This also applies to image files..
Like the Irrlicht logo in upper left of screen..

And here I have a ScreenShot if enyone wants..
http://www.infernusweb.net/level-view.jpg

Also a nice tutorial on how to make my own skydomes whould be awsome..
I use one mesh, and that's a GeoSphere in 3ds max..
I want to be able to make a skydome with it, and a little dome inside that one with transparency to create the skies on..
So that I can animate skies and skycolor without it affecting each other..

Olso how to make a cool sun/star-effect whould be awsome to get a tutorial on..




Also, the collision stuff is kind of stupid..
In the demo, the camera gets stuck all the time..
How do I resolve this?
I realy need the char or camera to not get stuck, ever..
It's realy important!


Cheers..
BlueLight
Guest

Post by Guest »

All of this is answered in the tutorials or elsewhere in the forums.
add a .3ds-file made with, let's say Gmax (free version of 3dsmax7 with some limitations) into a world map in the engine..
1. not "some limitations"...MANY limitations

2. One of those limitations is that you CANNOT export a *.3ds file

GMax is meant to be used in conjunction with game packs that you buy so that you can add your own content to certain commercial games.

I am not aware of a way to export anything that you can use, but even if you can, it is supposed to be a no-no according to the license.
Bluelight
Posts: 31
Joined: Mon Sep 19, 2005 10:25 pm
Location: Norway
Contact:

Avatar..

Post by Bluelight »

And how do you guys make .jpg avatars?
I dunno for what reason, but it seems the forum rejects .gif files..
I have made my avatar with only 140 colors and 60 * 60 in dimension..
Still when saving to eny other format then .gif, the filesize is very big..
Actualy managed to make a .jpg file as big as 558Kb and when I save as .gif, it's 4Kb or less..

That 558Kb was only by using some weird .jpg settings thoug..
I can make .jpg down to 8Kb..

But that is realy poor qality and is to big filesize..
So why the ? is .gif rejected?
It's 10-times better then .jpg.. :(((
BlueLight
Bluelight
Posts: 31
Joined: Mon Sep 19, 2005 10:25 pm
Location: Norway
Contact:

Post by Bluelight »

Anonymous wrote:All of this is answered in the tutorials or elsewhere in the forums.
add a .3ds-file made with, let's say Gmax (free version of 3dsmax7 with some limitations) into a world map in the engine..
1. not "some limitations"...MANY limitations

2. One of those limitations is that you CANNOT export a *.3ds file

GMax is meant to be used in conjunction with game packs that you buy so that you can add your own content to certain commercial games.

I am not aware of a way to export anything that you can use, but even if you can, it is supposed to be a no-no according to the license.

Yeah, but how do I make the .3ds-files into a game level with other models like houses?

I'm not using Gmax.. :p
It was just an example, didnt know you can't export .3ds with it..
BlueLight
Guest

Post by Guest »

also, it is not a version of 3dsmax7...it is a VERY stripped down version of 3dsmax4
Joe_Oliveri
Posts: 448
Joined: Tue Oct 05, 2004 3:24 am
Location: Boston, MA

Post by Joe_Oliveri »

I would use the DeleD Editor for levels. It seems to work really well and it's free!

http://www.delgine.com
Irrlicht Moderator || Game Designer
Learn the basics at </dream.in.code>
Bluelight
Posts: 31
Joined: Mon Sep 19, 2005 10:25 pm
Location: Norway
Contact:

Post by Bluelight »

Ok, now I'm sick of this forum errors..

I have now tried to upload the avatar using all kind of browsers and all kind of filetypes..

When I try to link to url, I get no connection error..
And when I try to upload a picture, I get this:

Warning: copy(./images/avatars/12158047704331ae53417d4.gif): failed to open stream: Read-only file system in /home/groups/i/ir/irrlicht/htdocs/phpBB2/includes/usercp_avatar.php on line 239

Warning: Cannot modify header information - headers already sent by (output started at /home/groups/i/ir/irrlicht/htdocs/phpBB2/includes/usercp_avatar.php:239) in /home/groups/i/ir/irrlicht/htdocs/phpBB2/includes/page_header.php on line 475

Warning: Cannot modify header information - headers already sent by (output started at /home/groups/i/ir/irrlicht/htdocs/phpBB2/includes/usercp_avatar.php:239) in /home/groups/i/ir/irrlicht/htdocs/phpBB2/includes/page_header.php on line 477

Warning: Cannot modify header information - headers already sent by (output started at /home/groups/i/ir/irrlicht/htdocs/phpBB2/includes/usercp_avatar.php:239) in /home/groups/i/ir/irrlicht/htdocs/phpBB2/includes/page_header.php on line 478

Do send this error messages to hell and activate the url function..
It doesnt even make the server load bigger even if filesize IS big..
So what the hell is the problem???
Last edited by Bluelight on Wed Sep 21, 2005 7:13 pm, edited 1 time in total.
BlueLight
luckymutt
Posts: 453
Joined: Sun Mar 06, 2005 11:56 pm
Location: C-Ville

Post by luckymutt »

This has been discussed on the forums recently.
Sourceforge is having an issue with avatars.
Anyone who currently has an avatar will lose it if they try and modify it, and no one can put a new avatar up.

This is something that has to do with sourceforge, not Irrlicht.

http://irrlicht.sourceforge.net/phpBB2/ ... atar#49833
Bluelight
Posts: 31
Joined: Mon Sep 19, 2005 10:25 pm
Location: Norway
Contact:

Making levels..

Post by Bluelight »

I still don't know how to use a .3ds -file made with 3dsmax7 or AutoCAD into a ground/level mesh..

Like in the terrain tutorial..
There a .bmp file is used to make the displacement of the ground map..
I wanna use a .3ds -file with the mesh already made, and turn that into the mesh wich is supposed to be the terrain..

I don't know if regular objects/inn-door environments are the same as ground meshes..

Also a tutorial on how to make a cool skydome, instead of a skybox whould be cool..

Like making a skydome from a GeoSphere or Hemisphere..

But first of all... How do I make levels from .3ds -files..?
And then add buildings from .3ds -files, and then making proper collision detection and animation.. And how to fix the problem that sometimes moving across a mesh will othen cause the camera or other object to get stuck..

It is not good at all getting stuck like that..!
BlueLight
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

Well, have a search on the forum and a look at the tutorials, all is explaned there !!!

3ds files are exactly used like any othe 3d-format (*.x, *.ms3d, ...), just load it...
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Bluelight
Posts: 31
Joined: Mon Sep 19, 2005 10:25 pm
Location: Norway
Contact:

:)

Post by Bluelight »

Yeah, I found a way to use it, but it's not a terrain node or what it's called..
So I can't apply collision to it without errors.. :p
Last edited by Bluelight on Thu Sep 22, 2005 2:03 pm, edited 1 time in total.
BlueLight
Post Reply