Files
OpenSceneGraph/src/osg
Robert Osfield fb4d6b16f9 From Jan Peciva, "attaching Matrix_implementation fix for two problems:
- using m.getPerspective( fovy, tmp, tmp, tmp ) to get only FOV does not work.
The reason is that getPerspective is taking tmp as reference - thus all the three variables points to the same memory location. Then, zNear (third parameter) is used inside the method, while zNear content was spoiled by zFar that was written to the same place, resulting in fovy set to nan. I consider that it is the right of programmers to use 3 times tmp as parameter and I fixed the code in the method. I have done the same for getFrustum and getLookAt.

- I fixed makeFrustum to accept infinite zFar. (Some graphics techniques like shadow volumes require placing zFar to infinity to avoid visual artifacts.)"

Note from Robert Osfield, change the local near & far variable names to temp_near and temp_far MS Visual Studio has a record of using near and far names.
2010-11-01 13:57:44 +00:00
..
2010-10-29 08:31:54 +00:00
2008-10-27 13:09:43 +00:00
2007-12-04 14:44:21 +00:00
2006-07-18 15:21:48 +00:00
2010-10-06 15:33:43 +00:00
2006-07-18 15:21:48 +00:00
2006-07-18 15:21:48 +00:00
2007-08-10 17:44:54 +00:00
2009-01-07 11:24:47 +00:00
2006-07-18 15:21:48 +00:00
2010-10-28 15:52:52 +00:00
2006-07-18 15:21:48 +00:00
2009-02-03 17:14:34 +00:00
2006-07-18 15:21:48 +00:00
2006-07-18 15:21:48 +00:00
2006-07-18 15:21:48 +00:00
2006-07-18 15:21:48 +00:00
2006-07-18 15:21:48 +00:00
2006-07-18 15:21:48 +00:00
2006-10-30 12:14:00 +00:00
2009-11-23 09:53:08 +00:00