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.

Min/Max settings for Camera Angles

Home Forums Puzzles Min/Max settings for Camera Angles

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #56959
    mirza
    Participant

    Hello, i have a question about setting for horizontal and vertical min and max angles. I have json file in my folder in which iam setting values and for vertical angles it work like it should but for some reason it wont work for horizontal angles.

    Theres a screenshot of my puzzles for this in attachment.

    Besides this i made a call for those procedures. Is there something i did wrong or?

    #57132

    Hi, it seems that the screenshots didn’t get attached. Can you post them again?

    Co-founder and lead developer at Soft8Soft.

    #57133
    mirza
    Participant

    Hey, yeah ofc i will post them again, but now i have different issue with them. Iam using Orbit camera, and i made puzzle to be able to change angle rotation value. It works but when i rotate it and then zoom in and zoom out it goes to one or other angle instantly.
    Link to the video:

    https://drive.google.com/file/d/1RS9-U5ffthMrL2H417AdpHYgmMe_W26y/view?usp=sharing

    When i load my app and try to zoom in and out it works well, but if i rotate the model it goes crazy :D

    Attachments:
    You must be logged in to view attached files.
    #57165

    I couldn’t reproduce this issue and I also don’t see anything wrong with your puzzles. Can you provide a link to the app or to a simple example to reproduce it?

    Co-founder and lead developer at Soft8Soft.

    #57166
    mirza
    Participant

    I can upload this app to the V3D network to show you, but as you could see in the video it goes a bit crazy :D

    here goes : https://v3d.net/cc0

    So when you load the app try to scroll in and out and it will work fine, but if you rotate camera a bit and then scroll in or out it will snap to one of the min or max angles.

    Thanks for the help Ivan

    #57167

    It looks like this bug was fixed not long ago. But I guess you use a bit outdated 3.9.1 version. Can you try with the latest 4.1.1? You can just replace the v3d.js file in the project folder with the one from the latest verge3d SDK to test that.

    Co-founder and lead developer at Soft8Soft.

    #57171
    mirza
    Participant

    Thank you Ivan, you are a life saver. I tried to update verge3d, but had like million problem with app, so i reversed it to 3.9.1. But it seems that everything works now, so far at least.

    Now i have another problem, so i had to reexport gltf’s and i did that and now i have another error which will be attached to this post.

    So now i cannot read data from json like i could on 3.9.1

    Attachments:
    You must be logged in to view attached files.
    #57174
    #57198
    mirza
    Participant

    Yeah,that was it. Figured it yesterday but forgot to reply here for that. Thank you very much for help guys. Now everything works like a charm.

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