Environment mapping

Member
Posts: 21
Joined: 2004.11
Post: #1
Hi
I'm new to Environment mapping and want som advice.

I've finsihed modeling a piano, and i want it to reflect some objects on the piano

Tnx
Quote this message in a reply
Member
Posts: 260
Joined: 2005.05
Post: #2
When you say "some objects", do you mean other objects in the scene or objects drawn in a texture?
Quote this message in a reply
Member
Posts: 21
Joined: 2004.11
Post: #3
I mean other objects in the scene
Quote this message in a reply
Member
Posts: 567
Joined: 2004.07
Post: #4
erm, I think that's cube mapping, not environment mapping... Enviroment mapping reflects object even if they're in back of the object; it's a bit screwed up.

It's not magic, it's Ruby.
Quote this message in a reply
Member
Posts: 260
Joined: 2005.05
Post: #5
I'd say MACnus wants multipass rendering. Even so, I suggest that you start with static environment mapping, with a pre-rendered texture. That's the old standard way, pretty simple to do, and OpenGL has support for it built-in. Have you read the "Sphere map" section in the red book? Once you have that running, you can consider multipass.
Quote this message in a reply
Sage
Posts: 1,199
Joined: 2004.10
Post: #6
Right, reflecting other objects in the scene will require stuff like rendering the scene into a cubemap texture. Start simple, like Ingemar says.
Quote this message in a reply
Member
Posts: 21
Joined: 2004.11
Post: #7
I'v got static enironment mapping.
Can you point me to a tutorial on multipass rendering, i cant find any on google.

Tnx for helpSmile
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Environment Background With OpenGL spinner 14 10,167 Oct 19, 2006 06:38 AM
Last Post: ThemsAllTook
  dynamic environment mapping orange144 6 4,168 Jul 7, 2004 06:13 PM
Last Post: tod_baudais
  Character Environment Collision Detection NYGhost 1 2,581 Sep 30, 2003 09:05 AM
Last Post: MacFiend
  Cube Environment PowerMacX 3 3,033 Aug 7, 2003 09:36 PM
Last Post: MattDiamond