Not logged in, Join Here! or Log In Below:  
News Articles Search    

Submitted by Alex Chan, posted on July 31, 2000

Image Description, by Alex Chan

This lightmap demo is a part of my 3D Engine, The "BASIC", up to now it does support
  • BSP rendering
  • Lightmap (as you can see)
  • Fast Collision Detection
  • Particle System
  • Map Editor
  • Use both Direct3D and OpenGL for hardware support
  • BMP, TGA, PCX textures
  • I am know working on the shadow, can anyone tell me something about this?


    Image of the Day Gallery


    Message Center / Reader Comments: ( To Participate in the Discussion, Join the Community )
    Archive Notice: This thread is old and no longer active. It is here for reference purposes. This thread was created on an older version of the flipcode forums, before the site closed in 2005. Please keep that in mind as you view this thread, as many of the topics and opinions may be outdated.
    Nate Miller

    July 31, 2000, 09:57 AM

    Is this shot really dark or is it just me?

    Nate Miller

    Kyle Kestell

    July 31, 2000, 10:31 AM

    hey m|d - it does look kindof dark, and the lightmaps seem to blend oddly with the textures. The crate in the middle almost looks bump mapped too, but thats probobly just the texture.

    - kyle (sol)


    July 31, 2000, 10:42 AM

    more light. pretty nice though.

    Alex Taylor

    July 31, 2000, 07:16 PM

    Quite nice. For simple shadows, use your collision detection from each light source to each texel in the light map. Probably the hardest part is working out where a texel lies in world space. But I'm sure if you think about it, it's not that hard at all.

    If your collision detection isn't really suited to that use, use a simple ray casting algorithm. If your BSP tree is built before lighting is performed, use the BSP to accelerate the ray casting.

    This thread contains 4 messages.
    Hosting by Solid Eight Studios, maker of PhotoTangler Collage Maker.