Results 1 to 2 of 2

Thread: BSP Tree 3D

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2011
    Location
    Gwalior India
    Posts
    14

    BSP Tree 3D

    Has anybody implemented BSP Tree algorithm in VB or VB.net for z sorting in
    3D Engine? . Please help me how to do this. Actually I am building 3D engine in pure VB.net whose link is
    http://www.vbforums.com/showthread.php?t=669000

  2. #2
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: BSP Tree 3D

    I don't think I have time to go through the steps but I'm gonna link you my favorite eBook that has it in pure C++ (mixed with a little DirectX but was only need for memory addressing to access the video card to draw pixels blazing fast so its not needed) over in Chapter 13 where it says Binary Space Partion. It can easily be ported to VB.Net and is very accurate. The book teaches you how to create a full blown 3D engine which I once ported to pure VB6 using their direct memory addressing concept. Drawing pixels using that was 1000 times faster than using the SetPixelV API and even more faster than PSet. Was able to flood an entire screen of 640x480 at 60 FPS. The book is 49 megs but I also own the real book and its huge. It even covers perspective correct texture mapping which I also once done in VB6. You can download the book here:

    Tricks of the 3D Game Programming Gurus-Advanced 3D Graphics and Rasterization - 0672318350.pdf - 48.22MB

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width