Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: stencil shadow volume

  1. #1

    stencil shadow volume

    until know i used projective stencil shadows, but they work only with planes like a floor or wall. So i decided to take the step to stencil shadow volumes. But to no avail yet. Are the some tutorials that explain the topic in plain english?

    I tried looking at the stencil shadow volume example from http://www.codesampler.com/oglsrc.htm but that only seem to be able to cast shadows from a plane? I would like to cast a shadow volume from one mesh on another mesh.
    http://3das.noeska.com - create adventure games without programming

  2. #2

    stencil shadow volume

    Try Googleing on the topic. There's a Delphi demo of it at Delphi3d http://www.delphi3d.net/download/stencilshadows.zip

  3. #3

    stencil shadow volume

    i know that demo, but i dont understand it, i dont need a demo, i need some documentation that explains what is going on in plain english.

    Also googling led me to numerous examples i even tried implementing some, but i get no shadows out of them other then with the supplied mesh. There must be something special on that mesh. As casting with a complicated mesh needs some extra do, the delphi3d demo does that, but i cannot quit follow it. It is supposed to find a siloutte using edges?
    http://3das.noeska.com - create adventure games without programming

  4. #4

    stencil shadow volume

    I stopped trying to get shadows working, i do get something that sometimes looks good (zpas), but not always. So i propably need zfail, but i cannot seem to be able to implement that.

    Is there some good explanation on how to create an silhoutte? I looked at the nehe tutotial on the subject, but it seems that the tutorial is different from the supplied sourcecode?

    Is not there a shadow volume tutorial for dummies or the likes?
    http://3das.noeska.com - create adventure games without programming

  5. #5

    stencil shadow volume

    ive also got the nehe demo in front of me (delphi and c++) but ive got my mesh structure as vertex array, normal array, and the indexes to them in a face record. im stuck on the connectivity (doesnt help that all the comments in the delphi version arent english )

    noeska, mabey we can work together to get both our codes working well :lol:

  6. #6

    stencil shadow volume

    yes, would be ok. But i cannot spend time on it in the next week. Also i still do not understand connectivity yet fully. Tomorow i will dig up my code so far on the subject. Be aware that it uses gl3ds.
    http://3das.noeska.com - create adventure games without programming

  7. #7

    stencil shadow volume

    my mesh structure is based on TFile3DS (is ures similar?) so it shouldnt be too big a problem

  8. #8

    stencil shadow volume

    http://3das.noeska.com - create adventure games without programming

  9. #9

    stencil shadow volume

    if you're interested, i found this tutorial very good:

    http://developer.nvidia.com/object/S..._Tutorial.html
    If you save your data in a proprietary format, the owner of the format owns your data.
    <br /><A href="http://msx80.blogspot.com">http://msx80.blogspot.com</A>

  10. #10

    stencil shadow volume

    most of the nvidia sdk stuff doesnt run on my r 9700

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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