Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Shawn D
21
Years of Service
User Offline
Joined: 15th Jan 2004
Location:
Posted: 1st Mar 2004 01:31
Can i use sphere mapping to create a reflective metalic surface that reflects the objects are around it ?

ShawnD
MikeS
Retired Moderator
22
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 1st Mar 2004 02:55
As far as I know, that's exactly what sphere mapping is.

You certainly can attempt sphere mapping, although it isn't the easiest road for many of us to take. (If you can do it, go for it and post some screens.)



A book? I hate book. Book is stupid.
APEXnow
Retired Moderator
22
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 1st Mar 2004 03:47
Shawn D, sphere mapping is probably not the option for you if you're also trying to create a reflective representation of the objects around your primary objects. You may need to use SET REFLECTION SHADING ON for the primary object. Although this does require a decent video card that supports it.

Sphere mapping requires that you use a texture with a fish eye representation of the surrounding environment, or maybe just using a metalic texture to acheive the metalic look, although it won't reflect the surroundings.

Cube mapping is also a way to map the surrounding area but this requires using six textures, or the same texture repeatedly.

Hope that's useful.

Paul.


Dave J
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 1st Mar 2004 12:19
Perhaps a second camera with a large FOV (130?) that is positioned on the object that needs sphere mapping and points towards the main camera, then use Set Camera To Image to save all output to specified image number, then finally sphere map the object with this image. Sounds so crazy I might just test that right now.


"Computers are useless they can only give you answers."
Dave J
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Feb 2003
Location: Secret Military Pub, Down Under
Posted: 1st Mar 2004 12:47 Edited at: 1st Mar 2004 12:51
Looks fairly decent IMHO, just need to texture it with your normal texture in addition to the sphere map and use it in a full scene with a proper backdrop (and not that ugly green) and it should work well.

Quick demo with source attached below.

Edit: Oh and a note about Set Reflection Shading On, you'll be surprised to find that this works on more computers then you'd expect but it uses up a lot more processor speed.


"Computers are useless they can only give you answers."
APEXnow
Retired Moderator
22
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 1st Mar 2004 15:50
Agreed. Nice idea by the way.


Van B
Moderator
22
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 1st Mar 2004 18:24
I found that for a very reflective metal, you can just nab a screenshot and use that - I used it on some chrome wheels on a terrain with a sky and because of the way the sphere map works, it looked pretty cool and did'nt need very much in terms of extra cameras or objects, just a screenshot applied as a sphere map was all I did.


Van-B


The nature of Monkey was irrepressible!.

Login to post a reply

Server time is: 2025-06-12 11:11:34
Your offset time is: 2025-06-12 11:11:34