Jump to content

  • Log In with Google      Sign In   
  • Create Account

Division by zero when using vertex array


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 Jappie   Members   -  Reputation: 122

Like
Likes
Like

Posted 09 January 2002 - 10:43 PM

When I try rendering a terrain (from heightmap) using a vertex array, I get a floating-point division by zero whenever the z-coordinate passes a certain value. Rendering is fine when I use a simple brute-force approach. I made sure the generation of the vertex coordinates is correct, and when I move around the landscape not crossing that particular z-border, everything is rendered correctly as well. I also made sure there are no other divisions that could make a difference. Any ideas? ----------------------------- Jappie BabJap Productions "There''s no such things as bugs; they''re just unintentional extra features"

Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS