Skip to main content
gamedev.net
🔒 Locked

Quadratics Question

Started by Natz Feb 1, 2003 at 5:32 PM 1 replies 200+ views
Original Post
Natz
Natz
Hello all, I''m writing an application that will require a selection indicator over a potentially rough/uneven section of land (land surveyor type application).. I''m looking to accomplish the effect the trainz land surveyor has (http://www.auran.com/trainz, you can see a sample of what im trying to accomplish at this link http://www.auran.com/trainz/moviez/th_surveyor1.jpg) My problem is in determining the best way to do a circular "selection indicator" that would mold to the land.. ive noticed that the trainz indicator is not perfect but it serves its purpose.. If anyone has any suggestions they are very much welcomed. Thanks! Nat
Nat
beaton_john
beaton_john
Find the points that you want to draw. What i would do is use sin/cos functions to find a ring of points, then find the closest point on the height map. Once you have the xyz values for the points, simply draw a line loop
Natz
Natz
yeah im doing that now but it''s quite slow.. I''ll just find another alternative.

Nat
Nat

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.