Tagged: camera puzzle
- This topic has 7 replies, 3 voices, and was last updated 3 years, 5 months ago by Gerome Gan.
-
AuthorPosts
-
2021-06-14 at 8:02 am #42015Gerome GanCustomer
A little help please??
I have a camera with a certain parameter limit (3ds max).
The camera tweens to another location.
Once it arrive at the new location, is there a way to reconfigure a new parameter limit for it?
This way, I can tween the camera around the scene with different set of parameter limit.
No, using active camera will not do as I want to have the animated camera tweening effect.
Currently my solution is to tween the camera to another camera and swap the camera once it arrived.
Thanks in advance.
2021-06-15 at 6:50 am #42036Mikhail LuzyaninStaffThe only way is to create multiple amount of Cameras in the scene with different params and switch between them.
Co-founder and lead graphics specialist at Soft8Soft.
2021-06-15 at 7:50 am #42046Gerome GanCustomerOk got it. So far that solved it for me Thanks.
2021-07-01 at 3:45 pm #42459RalfCustomerIn my case this didn’t solve the problem.
I have several Orbit-Cams with different parameters. It is possible to tween from one cam to another.
Because the startposition has to be defined, I have to reset the orbit-cams somewhere.
The only way I found is to reset the active cam by tween in 0 sec. The causes a flicker if the cam was moved before.
Is it possible to tween or reset an inactive cam. This would solve the flicker.Thanks Ralf
2021-07-02 at 10:07 am #42480Mikhail LuzyaninStaffYou can use snap puzzle for inncative camera.
Co-founder and lead graphics specialist at Soft8Soft.
2021-07-05 at 10:36 am #42544RalfCustomerOkay, I tried snap and it works perfect for the Cam-position. Is it possible to set the ‘lookAt’ of an inactive camera as well?
thanks, Ralf
2021-07-05 at 2:40 pm #42545RalfCustomerI finally managed to change the orbit-cam limits by exec script puzzel.
app.controls.enableZoom = true; app.controls.enablePan = false; app.controls.minDistance = 10; app.controls.maxDistance = 15; //console.log(app.controls.getPolarAngle()); // in case you are lost app.controls.minPolarAngle = 0.6; app.controls.maxPolarAngle = Math.PI; //console.log(app.controls.getAzimuthalAngle ()); app.controls.minAzimuthAngle = - Infinity; app.controls.maxAzimuthAngle = Infinity;
2021-07-06 at 3:40 am #42554Gerome GanCustomerIf you are talking about (for example). Tweening Camera1 to camera2 then do a switch active to camera2.
But now the Camera1 position is no longer at it’s previous default position. I had problem with resnapping it back to it’s original position. As “snap” camera target cause a bug where the camera clipping plane value will change (I have created another post for this).
Instead of using snap puzzle, I copy the original camera1 positon+target XYZ value in 3ds max and use “set position” puzzle.
-
AuthorPosts
- You must be logged in to reply to this topic.