Thread: loading/rendering bsp in direct3d

  1. #1
    noone
    Guest

    loading/rendering bsp in direct3d

    does anyone have any sites/samples on this subject?

  2. #2
    Registered User Coder's Avatar
    Join Date
    Aug 2001
    Location
    Cairo, Egypt
    Posts
    128
    You don't need to read/get/download something specifically written for DirectX. BSP is a general algorithm for organizing your geometry. It provides you with an efficient method for culling invisible geometry as well as perform collision detection. Rendering is completely up to you; you just extract the vertex/face information from the BSP and render it using the API you prefer.

    If you've not read a comprehensive BSP guide/tutorial before, you can check the one at GameDev.net

    It's an excellent 72 page PDF file, discussing the usage of BSP trees, and I believe it'll get you going.

    If you still need some example DirectX implementation, you'll have to do some searching.

    There's some Direct3D8/7 ( both versions are available ) based 3D engine at www.Zen-X.net
    I don't know if it uses BSP or not, but there's a good chance it is.

    Additionally, there's the open source OGRE engine, which can be found through a simple google search or a sourceforge search. The engine supports rendering with OpenGL and D3D, and as far as I recall it supports BSP.
    Muhammad Haggag

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Why use Direct3D?
    By m3rk in forum Tech Board
    Replies: 42
    Last Post: 05-22-2009, 09:08 AM
  2. Need help with getting DirectX 9.0 initilization
    By DarkMortar in forum Windows Programming
    Replies: 7
    Last Post: 05-09-2006, 08:58 PM
  3. How to Antialias Direct3D?
    By Deo in forum Game Programming
    Replies: 6
    Last Post: 06-02-2005, 12:14 PM
  4. Creating a 2D GUI using Direct3D
    By codec in forum Game Programming
    Replies: 8
    Last Post: 09-23-2004, 11:57 AM
  5. Direct3D vs. OpenGL
    By PorkyChop in forum Game Programming
    Replies: 22
    Last Post: 12-08-2002, 12:41 AM