Near should be a fairly small number (1? ... 0.1?). Far should be greater than the distance to the farthest point in the model from the camera. If you have calulated a bounding sphere, you can probably just add the sphere's diameter to the distance between the camera and the lookat point. (You can use radius, but only if the lookat point is the center of the sphere.)
Simple renderer in .net with SharpGL (openGL)
« Next Oldest | Next Newest »
Users browsing this thread: 16 Guest(s)