Results 1 to 4 of 4

Thread: Environment mapping

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2001
    Location
    Yorkshire, UK
    Posts
    21

    Cool Environment mapping

    I have a nice big landscape, and I'm adding a plane as a kind of water level. Problem is, it looks pretty pants, so I thought a little reflectiveness would be nice. So, how do you apply environment mapping to an object?

    Any ideas? The DX SDK examples only cover it in C++ and I'm not quite understanding the SDK help stuff.

    Thanks
    100% of drink driving incidents are alcohol related.

  2. #2
    Zaei
    Guest
    I dont know. When I get home, and have some code availible, as well as my trusty SDK, I will see what I can cook up for you.

    Do you know how to at least read C++ code? If not, I recommend trying to at least figure out what some simple stuff does. It will help you in programming overall, not just in DirectX. You can ask questions in the C++ forums here if you need some help.

    Z.

  3. #3
    Fanatic Member Matt_T_hat's Avatar
    Join Date
    Dec 2001
    Location
    '76 Male Body Evil-Errors: 666
    Posts
    774

    Talking this may be the answer you seek

    I came across this in a tutorial I found, I can't remember the URL but here is the VB bit minus huge BMP.

    flip the bitmap you want to reflect 180 and apply some of these principles. check out ripple at about 6 or 7 :-)

    hope this helps, BTW am quite happy to play test it for you later if you want.
    Attached Files Attached Files
    ?
    'What's this bit for anyway?
    For Jono

  4. #4
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    What you also could do is instead using a plane for your water level, you could make it a matrix of points and have ripple effects.
    "Can't" and "shouldn't" are two totally separate things.

    All questions should be answered. All answers should be true. That is why I post.

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