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.

Smooth zoom and rotate

Home Forums General Questions Smooth zoom and rotate

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #56165
    felix
    Customer

    Hello. How can I have smooth navigation (And zoom) like in this example? I looked at code-example but I’m not a programmer and I don’t understand anything about it. I use Blender as 3D software.

    https://cdn.soft8soft.com/demo/examples/index.html#webgl_animation_keyframes

    Thank you.

    Attachments:
    You must be logged in to view attached files.
    #56171
    xeon
    Customer

    Just use a simple orbit camera with the center of you object as the target. The zoom and rotate will automatically be setup.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #56173
    felix
    Customer

    I know that, I’ve already done it like this. But the navigation that is automatically set up is a little jerky and hard, not as smooth as in the project I attached.
    Thanks.

    #56178
    kdv
    Participant
    app.controls.rotateSpeed = 1.2;
    app.controls.rotateInertia = 0.25;
    app.controls.zoomSpeed = 5;
    app.controls.zoomInertia = 0.25;

    change these parameters as you like

    https://v3d.net/b8v – zoom/rotate inertia 0.25

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #56182
    felix
    Customer

    I’m so sorry, but I don’t know where to put them :wacko: . I am new in this world of script and verge3D :cry:

    #56183
    kdv
    Participant

    Open the puzzle editor, Advanced -> exec script

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #56185
    felix
    Customer

    Really cool!
    Thank you very much! :yahoo:

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