<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
home
Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

idan

Environment mapping

This topic is 6618 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi there! i made a liitle 1st person game and i have a little problem i need to know how to do environment mapping (i am not sure how it is called) i have a 3d object and i want to warp it with a single texture like in Nehe''s Ship Demo and Goblet Demo thanks in advance

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster







 

                  
alt="xlogonewsc1.gif (6496 bytes)">height="160" alt="xlogonewsc2.gif (5140 bytes)">width="100" height="160" alt="xlogonewsc3.gif (4890 bytes)">          







   
                            



    Read
the interview about Xtreme and what we think of Hasbro at 

    www.digitalgamedeveloper.com.



NeCron had
time to
co-author a
new book:
Game
Programming Gems
.



        size="2" face="Arial">       color="#FFFFFF" size="3" face="Arial">The NeXt Xtremecolor="#00FF00" size="3" face="Arial"> Gsize="3" face="Arial">ames Devcolor="#FFFFFF" size="3" face="Arial">eloper''s face="Arial">Conference


                               
Resurrection 2000color="#FFFFFF" size="2" face="Arial">

 

                                         src="xtremgif/armageddonsymbol1.gif" alt="RESURRECTION LINK" border="0" width="150" height="127">   

    Is scheduled for
color="#00FF00" size="2">October face="Arial" color="#00FF00" size="2">2000face="Arial"> at the Santa Clara Concolor="#FFFFFF" size="2" face="Arial">vention center in color="#00FF00" size="2">

    Si
licon Valley
Caface="Arial">lifornia.



    If you are havingface="Arial" color="#00FF00" size="2"> troubleface="Arial"> with the CDcolor="#FFFFFF" size="2" face="Arial"> from "Tricks of
the Windows Game 

    Programming Gurus
".
Help is on the way.



                                            src="xtremgif/twgpg.jpg" width="125" height="156" alt="twgpg.jpg (6212 bytes)">



    A new CD is
available from Macmillan Computer Publishing and
everyone

    will get a new CD for free if you have a corrupt copy.





                              color="#00FF00" size="2">NEW!!! Section
Section
AREA 51size="2" face="Arial">.x

                                      href="area51x.htm" target="middle">Area 51.xborder="0" width="160" height="62">





                                                    href="http://www.amazon.com/exec/obidos/ASIN/0764503375/qid=924116983/002-0695810-4244853">src="xtremgif/dumb.gif" alt="Windows Game Programming for Dummies" border="0" width="100"
height="125">

                              The
Best Sellingcolor="#C0C0C0" size="2" face="Arial"> Game Book on
color="#00FF00" size="2">Amazon.com!





             
               
             
                 
  src="xtremgif/belmlog2.gif" alt="Belm Design Group" align="baseline" border="0"
width="132" height="132">




                href="http://www.game-developer.com" target="_top">alt="Dungeon Crawl Game Developers" border="0" width="400" height="66">



                                                     alt="sweet.oblivion" border="0" width="200" height="34">





                                           href="http://www.ideasoftware.com/index.htm" target="_top">src="xtremgif/idealogo.gif" alt="Idea Software" border="0" width="146" height="85">



                                                href="http://www.gpg.home.pages.de" target="_top">alt="Game Programmers Guild" border="0" width="212" height="79">

                                             color="#FFFFFF" size="2" face="Arial Narrow">

                            



<table border="0">
<tr>
<td rowspan="2">                                                  <!-- LiveCounter Classic Java counter -->
width="90" height="20">



<!-- LiveCounter Classic CGI backup counter -->src="http://www.xgames3d.com/cgiexe/livecntr.cgi?0+6" width="15" height="20"> src="http://www.xgames3d.com/cgiexe/livecntr.cgi?1+6" width="15" height="20"> src="http://www.xgames3d.com/cgiexe/livecntr.cgi?2+6" width="15" height="20"> src="http://www.xgames3d.com/cgiexe/livecntr.cgi?3+6" width="15" height="20"> src="http://www.xgames3d.com/cgiexe/livecntr.cgi?4+6" width="15" height="20"> src="http://www.xgames3d.com/cgiexe/livecntr.cgi?5+6" width="15" height="20">


</td>
</tr>
</table>




      Last
Modified 8/21/2000 by Lord NecRon & Mistress-X.


</body>
</html>

Share this post


Link to post
Share on other sites
Don''t know what''s up with above post...

But anyway...
A simple method to do some simple environment mapping, is to use the vertex normals. It must be a smooth/round object.
You can transform your normals to world space, and only use the x & y part of the vector as texture coords.
(ps: better not translate these vertex normals to world space: only rotation)

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!