We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

How to set camera parameter in puzzle?

Home Forums Puzzles How to set camera parameter in puzzle?

Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #42015
    Gerome Gan
    Customer

    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.

    #42036

    The 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.

    #42046
    Gerome Gan
    Customer

    Ok got it. So far that solved it for me Thanks.

    #42459
    Ralf
    Customer

    In 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

    #42480

    You can use snap puzzle for inncative camera.

    Co-founder and lead graphics specialist at Soft8Soft.

    #42544
    Ralf
    Customer

    Okay, 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

    #42545
    Ralf
    Customer

    I finally managed to change the orbit-cam limits by exec script puzzel. :yahoo:

    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;
    
    #42554
    Gerome Gan
    Customer

    If 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.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.