Jump to content
  • Advertisement
Sign in to follow this  

projection texture of fisheye picture

This topic is 3776 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, i need to project a fisheye texture onto a geometric model, i was thinking of doing it the following way. I click corresponding points in both the fisheye picture and the 3d model. Then i create a unit sphere of the picture( by converting polar coordinates to directions) i calculate and store the angles between these vectors(and the origin(0,0,0). Now in the 3d model i need to rotate/translate somehow that their directions crosses all the corresponding points and where and where the directions intesect eachother, that is the origin of the fisheye picture, from there i can map project the vertices back on the sphere. Am i doing it right, and if so how can i easily solve this, i've been reading some stuff about least squares to minimine translation/rotation parameters regards Paul

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!