Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


file format for maps


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 altay   Members   -  Reputation: 132

Like
0Likes
Like

Posted 16 September 2012 - 02:47 PM

Hi guys,
I'm working on a game project and I need file format to use maps. The file format which I need can store geometric data as octree or it can enable to use octree.
Is there an octree-supported file format?

Thanks,
Altay.

Edited by altay, 23 September 2012 - 07:11 PM.


Sponsor:

#2 toasterthegamer   Members   -  Reputation: 238

Like
1Likes
Like

Posted 17 September 2012 - 10:41 AM

The best answer I can give you is to make your own. Besides doing that I don't really know of any map format that supports octrees. A quick google search reveals this: http://octomap.sourceforge.net/ Not sure if that's what you are looking for or not.

#3 L. Spiro   Crossbones+   -  Reputation: 14197

Like
1Likes
Like

Posted 19 September 2012 - 05:04 AM

An octree is a run-time structure that is created and maintained dynamically. It does not belong in a file, nor can it be used to “store geometric data”.
You will have to be more specific accurate about what you want, and you should probably read up on what octrees are.


L. Spiro
It is amazing how often people try to be unique, and yet they are always trying to make others be like them. - L. Spiro 2011
I spent most of my life learning the courage it takes to go out and get what I want. Now that I have it, I am not sure exactly what it is that I want. - L. Spiro 2013
I went to my local Subway once to find some guy yelling at the staff. When someone finally came to take my order and asked, “May I help you?”, I replied, “Yeah, I’ll have one asshole to go.”
L. Spiro Engine: http://lspiroengine.com
L. Spiro Engine Forums: http://lspiroengine.com/forums

#4 MrOMGWTF   Members   -  Reputation: 440

Like
1Likes
Like

Posted 19 September 2012 - 09:46 AM

Just make it yourself. Be creative :)
You can use xml parser for making your life easier. Example map format:
<map>
<objects>
<object type="light" position="0.0 10.0 5.0" color="1.0 1.0 1.0" />
<object type="geom" position="0.0 0.0 10.0">
<verticies ="blah blah" />
</object>
</objects>
</map>


#5 altay   Members   -  Reputation: 132

Like
0Likes
Like

Posted 23 September 2012 - 07:06 PM

An octree is a run-time structure that is created and maintained dynamically. It does not belong in a file, nor can it be used to “store geometric data”.
You will have to be more specific accurate about what you want, and you should probably read up on what octrees are.


L. Spiro


I think you misunderstood me. I just want to store octrees in my map file for quicker loading times. But I didn't know that octree generating in run time is quick.

Just make it yourself. Be creative
You can use xml parser for making your life easier. Example map format:

<map>
<objects>
<object type="light" position="0.0 10.0 5.0" color="1.0 1.0 1.0" />
<object type="geom" position="0.0 0.0 10.0">
<verticies ="blah blah" />
</object>
</objects>
</map>

BSP file format made me lazy Posted Image but I think I have to do it..

Edited by altay, 23 September 2012 - 08:04 PM.


#6 MrOMGWTF   Members   -  Reputation: 440

Like
1Likes
Like

Posted 24 September 2012 - 06:34 AM


An octree is a run-time structure that is created and maintained dynamically. It does not belong in a file, nor can it be used to “store geometric data”.
You will have to be more specific accurate about what you want, and you should probably read up on what octrees are.


L. Spiro


I think you misunderstood me. I just want to store octrees in my map file for quicker loading times. But I didn't know that octree generating in run time is quick.

Just make it yourself. Be creative
You can use xml parser for making your life easier. Example map format:

<map>
<objects>
<object type="light" position="0.0 10.0 5.0" color="1.0 1.0 1.0" />
<object type="geom" position="0.0 0.0 10.0">
<verticies ="blah blah" />
</object>
</objects>
</map>

BSP file format made me lazy Posted Image but I think I have to do it..


Well, good luck! It's not hard, I'm making my 3d model file format right now :)

Edited by MrOMGWTF, 24 September 2012 - 06:35 AM.





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS