Jump to content
  • Advertisement


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


Enviroment map taken with digital camera

This topic is 5645 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 folks, I am currently working on a "virtual studio" project, that is basically about viewing a 3d scene through a "virtual view" being an LCD display suspended on a motion sensitive platform - which controls the 3d scene camera coordinates and viewing angle. So the LCD screen is like a "view" into a 3d scene. I am using DX9 and would like to implement a majority of all those eye candies possible with DX9 VS and PS tricks. One idea that i had was to take pictures of the environment (the studio) with a digital camera, where that suspended LCD screen is, and compile them into an environment map to implement reflections and specular highlights on the models that are to be viewed in 3d scene. Now my question is, I have a digital camera which perspective angle is around 40~45 deg horizontal and 3/4 of that vertical. (its also got 6x optical zoom), but for the cube env texture i need 90 deg perspective. So what do i do? Is there a way to get the env map with this camera or not? Any kind of suggestions are welcome.. Thank you Alex Babkin Alias|Wavefront Department of research

Share this post

Link to post
Share on other sites
All you have to do is a little bit "puzzling" with pictures.

In other words: You get the same result if you glue two 45 aperture degree pictures taken from the same center origin but one with the camera rotated 45 degs as with one single picture taken from a camera with 90 deg aperture.

As long as you don''t leave the center origin you can glue all pictures taken from any camera you want, you will always get the same result cause the physical perspective never changes, only the clipping.

Best is you make overlapping pictures and shift them into each other in "photoshop" or something. You may include markers into the real world to help you finding the 90 degree sections for a cube map and/or to fit the picture into each other.

All that is only true if you don''t have a somehow strange camera objective that does distort the picture in any way other than the normal perspective distortion.

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!