Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

3 Dimensional Chat / Question about objects in game levels

Author
Message
FugueDude
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: London, England
Posted: 17th Mar 2009 18:33
OK, let's say I've made a level in a 3D world creation program...

What I was wondering is whether the conventional way to add objects such as trees to this world is to import them into the level creation program so they become part of the world itself, or simply to load them in and place them as separate objects in DB Pro.

If there is no 'conventional way' to do it, are there any advantages/disadvantages to both methods?

Thanks in advance for any advice!
QuothTheRaven
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 17th Mar 2009 19:05
Loading and placing. This way you can do a bunch of things:

- You can animate objects separately, like trees swaying in the wind, without having to animate the entire level object itself
- You can clone a base model to save memory and loading time instead, so you can make 20 trees by cloning one instead of loading all 20 saved in the level model
- Something else I can't remember!

FugueDude
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: London, England
Posted: 17th Mar 2009 19:13
Thanks, I thought that would be the best way. Which is good seeing as Cartography Shop seemingly can't import models!

Quote: "- Something else I can't remember!"


Lol, does anyone else know what this could be?
prasoc
16
Years of Service
User Offline
Joined: 8th Oct 2008
Location:
Posted: 17th Mar 2009 20:02
Probably that you can add LOD code (level of detail) so the further away you are, the lower poly it gets and lags less.
QuothTheRaven
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 17th Mar 2009 22:26
Quote: "Lol, does anyone else know what this could be?"
\
I made up the first two on the spot (but they are valid). I wasn't reading from a definitive list or anything.

FugueDude
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: London, England
Posted: 28th Mar 2009 14:39
OK, thanks

Sorry to post again after such a long time, but I was just wondering whether anyone knows of a good way of finding out the coordinates of where you want the objects... maybe there is some kind of program I could use? Or should I just use trial and error?

I have cartography shop 4 but it doesn't seem to have a feature like this.
AndrewT
17
Years of Service
User Offline
Joined: 11th Feb 2007
Location: MI, USA
Posted: 28th Mar 2009 14:45
Just make a world editor which allows you to place down objects, then saves there coordinates in a text file, then you read the file in-game and place the objects accordingly.

Image All
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: Home
Posted: 28th Mar 2009 18:41
That was the way that I did it with the first level editor I ever made

Basically make your own, it will suit your needs best; mine was just a simple DBP program that loaded the specified world model, and then move a 3D cursor around with the mouse, and you could click to place an object (and everytime you did it would save the coordinates in a text file). Then in my game engine I had it load the text file as the level, and then load all the text file's specified models/objects and place them at the specified coordinates to make up the game world.


Remember those old guys? They made epic renders, I think one of them was called DaVinci, and all they used was MS Paint. Sometimes it's just skill....
FugueDude
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: London, England
Posted: 28th Mar 2009 19:10 Edited at: 28th Mar 2009 19:14
Thanks for the advice, I will get to work on writing one now

I have written a 2D platformer level editor before, but I have a feeling this is going to be hard
Bursar
16
Years of Service
User Offline
Joined: 17th Sep 2008
Location:
Posted: 29th Mar 2009 02:47
It's not overly hard. Check out the newsletters from a few months back. One of the Bruce Lee game tutorials had a section on creating a level editor.

I've used the basics from that code to write a couple of editors for my projects. Once you get stuck into it, it's not too bad.

Login to post a reply

Server time is: 2024-11-25 05:11:50
Your offset time is: 2024-11-25 05:11:50