Archived

This topic is now archived and is closed to further replies.

Ayman Najjar

Designing a level

Recommended Posts

Hello there I''m working in a simple 3d rpg game I''ve done too many things, but there is too many things to do But, when I''m building a level, I draw in source code, which mean I draw boxes, quads and load ms3d polygons I''ve found this way takes too much of time. I''ve heared of BSP and Octree, and The engine I''m using allows loading Octree and BSP, but I have some questions . Are worlds designed in bsp or octree textured, I mean that should I apply textures manually on them in my source code ? or when I design the level using editor I can apply textures in it. . Is there any BSP and/or Octree editor,so I can design my levels using it ? Thats all, Sorry of my bad english Regards

Share this post


Link to post
Share on other sites
BSP and Quadtrees are just spatial partitioning methods, ways to organise your scene based on physical locations. They don''t care how you actually create your scene, be it either from an external editor or hard-coded in your source files. Likewise they don''t care about what kind of information you''ve got along with your geometry data, you can apply textures, lighting or even a bananna count along with it if you really want to.

You don''t need to look for a bsp or quadtree editor, you just need an external geometry editor and to generate your bsp/quadtree from that data (either on level load or a preprocessing step).

Share this post


Link to post
Share on other sites
Forget about BSP''s and quadtrees for now. It looks like you dont have the beginnings of a Map file format which is what you need. You will need to write a map format, (probably a class) with functionality to load from a file, and write to a file. You can then write a builder for the map file

Share this post


Link to post
Share on other sites