391_driver_view
Decrease the distance of 'near limit' from 30cm to 3cm, which allows all of the car interior to be viewed (without clipping). Also prevented rear view mirror in reverse camera. git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3718 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: bcbdc5169ce6bfeab0dea2d60e4fc04422187cef Former-commit-id: 1fcf792e5c9d6e2c9cb0b8b834847b86754c0930
This commit is contained in:
parent
7b064913b2
commit
6b5a411661
1 changed files with 2 additions and 2 deletions
|
@ -561,7 +561,7 @@ class cGrCarCamBehindReverse : public cGrPerspCamera
|
||||||
float myfovy, float myfovymin, float myfovymax,
|
float myfovy, float myfovymin, float myfovymax,
|
||||||
float myfnear, float myffar = 1500.0,
|
float myfnear, float myffar = 1500.0,
|
||||||
float myfogstart = 1400.0, float myfogend = 1500.0)
|
float myfogstart = 1400.0, float myfogend = 1500.0)
|
||||||
: cGrPerspCamera(myscreen, id, drawCurr, 0, drawBG, 1,
|
: cGrPerspCamera(myscreen, id, drawCurr, 0, drawBG, 0,
|
||||||
myfovy, myfovymin, myfovymax,
|
myfovy, myfovymin, myfovymax,
|
||||||
myfnear, myffar, myfogstart, myfogend) {
|
myfnear, myffar, myfogstart, myfogend) {
|
||||||
}
|
}
|
||||||
|
@ -1493,7 +1493,7 @@ grCamCreateSceneCameraList(class cGrScreen *myscreen, tGrCamHead *cams, tdble fo
|
||||||
75.5, /* fovy */
|
75.5, /* fovy */
|
||||||
50.0, /* fovymin */
|
50.0, /* fovymin */
|
||||||
95.0, /* fovymax */
|
95.0, /* fovymax */
|
||||||
0.3, /* near */
|
0.03, /* near */
|
||||||
600.0 * fovFactor, /* far */
|
600.0 * fovFactor, /* far */
|
||||||
300.0 * fovFactor, /* fogstart */
|
300.0 * fovFactor, /* fogstart */
|
||||||
600.0 * fovFactor /* fogend */
|
600.0 * fovFactor /* fogend */
|
||||||
|
|
Loading…
Reference in a new issue