Advertisement Jump to content


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


Environment mapping

This topic is 6713 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
Guest Anonymous Poster

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


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


the interview about Xtreme and what we think of Hasbro at

NeCron had
time to
co-author a
new book:
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">

licon Valley

    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

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

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

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

                                                    href="">src="xtremgif/dumb.gif" alt="Windows Game Programming for Dummies" border="0" width="100"

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

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

                href="" target="_top">alt="Dungeon Crawl Game Developers" border="0" width="400" height="66">

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

                                           href="" target="_top">src="xtremgif/idealogo.gif" alt="Idea Software" border="0" width="146" height="85">

                                                href="" target="_top">alt="Game Programmers Guild" border="0" width="212" height="79">

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


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

<!-- LiveCounter Classic CGI backup counter -->src="" width="15" height="20"> src="" width="15" height="20"> src="" width="15" height="20"> src="" width="15" height="20"> src="" width="15" height="20"> src="" width="15" height="20">


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


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, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!