Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


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: 241

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: 16370

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

#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