Re #294 Fixed forgotten road F2 cam (ahead the windshield, car not visible) in r4136
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4258 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: a0740cb29fc07867ced9fc1d2a1e30d1df4f8374 Former-commit-id: e75be9ec9705046fd96abe1b16f29649a4ea51f7
This commit is contained in:
parent
84e8d456c4
commit
db6deede93
1 changed files with 5 additions and 5 deletions
|
@ -1554,7 +1554,7 @@ grCamCreateSceneCameraList(class cGrScreen *myscreen, tGrCamHead *cams,
|
||||||
GF_TAILQ_INIT(&cams[c]);
|
GF_TAILQ_INIT(&cams[c]);
|
||||||
id = 0;
|
id = 0;
|
||||||
|
|
||||||
/* cam F2 = just outside the car; camera fixed to car */
|
/* cam F2 = just outside the car, behind; camera fixed to car */
|
||||||
cam = new cGrCarCamBehindFixedCar(myscreen,
|
cam = new cGrCarCamBehindFixedCar(myscreen,
|
||||||
id,
|
id,
|
||||||
1, /* drawCurr */
|
1, /* drawCurr */
|
||||||
|
@ -1587,7 +1587,7 @@ grCamCreateSceneCameraList(class cGrScreen *myscreen, tGrCamHead *cams,
|
||||||
cam->add(&cams[c]);
|
cam->add(&cams[c]);
|
||||||
id++;
|
id++;
|
||||||
|
|
||||||
/* cam F2 = inside, from the driver's eye, withOUT head movements (driver's view) */
|
/* cam F2 = inside, from the driver's eye, without head movements (driver's view) */
|
||||||
cam = new cGrCarCamInsideDriverEye(myscreen,
|
cam = new cGrCarCamInsideDriverEye(myscreen,
|
||||||
id,
|
id,
|
||||||
1, /* drawCurr */
|
1, /* drawCurr */
|
||||||
|
@ -1629,7 +1629,7 @@ grCamCreateSceneCameraList(class cGrScreen *myscreen, tGrCamHead *cams,
|
||||||
95.0, /* fovymax */
|
95.0, /* fovymax */
|
||||||
0.3, /* near */
|
0.3, /* near */
|
||||||
fixedFar ? fixedFar : 600.0 * fovFactor, /* far */
|
fixedFar ? fixedFar : 600.0 * fovFactor, /* far */
|
||||||
300.0 * fovFactor, /* fogstart */
|
fixedFar ? fixedFar : 300.0 * fovFactor, /* fogstart */
|
||||||
fixedFar ? fixedFar : 600.0 * fovFactor /* fogend */
|
fixedFar ? fixedFar : 600.0 * fovFactor /* fogend */
|
||||||
);
|
);
|
||||||
cam->add(&cams[c]);
|
cam->add(&cams[c]);
|
||||||
|
@ -1651,7 +1651,7 @@ grCamCreateSceneCameraList(class cGrScreen *myscreen, tGrCamHead *cams,
|
||||||
cam->add(&cams[c]);
|
cam->add(&cams[c]);
|
||||||
id++;
|
id++;
|
||||||
|
|
||||||
/* cam F2 = behind the car, very near */
|
/* cam F2 = behind the car, very near, looking forward */
|
||||||
cam = new cGrCarCamBehind(myscreen,
|
cam = new cGrCarCamBehind(myscreen,
|
||||||
id,
|
id,
|
||||||
1, /* drawCurr */
|
1, /* drawCurr */
|
||||||
|
@ -1670,7 +1670,7 @@ grCamCreateSceneCameraList(class cGrScreen *myscreen, tGrCamHead *cams,
|
||||||
cam->add(&cams[c]);
|
cam->add(&cams[c]);
|
||||||
id++;
|
id++;
|
||||||
|
|
||||||
/* cam F2 = behind the car, near */
|
/* cam F2 = behind the car, near, looking forward */
|
||||||
cam = new cGrCarCamBehind(myscreen,
|
cam = new cGrCarCamBehind(myscreen,
|
||||||
id,
|
id,
|
||||||
1, /* drawCurr */
|
1, /* drawCurr */
|
||||||
|
|
Loading…
Reference in a new issue