Jump to content
  • Advertisement
Sign in to follow this  

Reconstruction of sphere-like object based on two sets of data (H&V)

This topic is 3998 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

Hello everybody, while this questions seems to be extreamly easy at first look, I've been trying to solve it for a few days without any luck. I have two sets of data, one for horizontal and one for vertical planes. This data looks like angle = value 1 = 10.1 2 = 10.0 ... 359 = 10.1 Something like this I need to reconstruct the original object which can look like this or this I am aware of the fact, that reconstruction will not be 100% accurate and that I need to interpolate between known value. I have an article which describes this situation and offers following solution Unfortunantly this doesn't work. Maybe because the article a bit incorrect when it comes to second data set(fact that second set is in 0-360, not 0-180 range is completly ignored, in article, but seems to affect given formula). So I need to solve problem of getting a value of function F(h_angle,v_angle) = ?, by using known vectors from this angles. check this image I can use my backgroung math library and VectorLerp function from it, which do linear interpolation, but i need to know how to express proportion of two vectors. Thx in advance.

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.

GameDev.net 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!