Giter VIP home page Giter VIP logo

Comments (8)

adizanni avatar adizanni commented on May 17, 2024

Accepted, will work on it.

from floor3d-card.

adizanni avatar adizanni commented on May 17, 2024

Added in new release. Still a manual procedure but works

from floor3d-card.

GaoMax avatar GaoMax commented on May 17, 2024

Hi, great work!
Unfortunately the camera position doesn't work for me: I double click in edit mode and retrieve this:
camera_position: { x: -65.36282549580928, y: 2765.0883765575823, z: -934.2915084651966 }
camera_rotate: { x: -1.5628839344749774, y: 0.00017519740014949184, z: 0.02213807336676118 }
But after I enter it in the Code Editor it turns adds '' around the y coordinate. But even after removing it the camera position is not correct and it adds the ' ' back around the y.
camera_position:
x: -65.36282549580928
'y': 2765.0883765575823
z: -934.2915084651966
camera_rotate:
x: -1.5628839344749774
'y': 0.00017519740014949184
z: 0.02213807336676118

from floor3d-card.

adizanni avatar adizanni commented on May 17, 2024

Yes the 'y' it is to escape a keywork, but it does not bother and it should work. Be advised that it reset the camera position and rotation but not the zoom (yet).

from floor3d-card.

GaoMax avatar GaoMax commented on May 17, 2024

Thanks for the clarification.
If I double click and get the coordinates from an angle and enter them in the config and reload, the picture is off.
If I retrieve the coordinates from the reloaded page the position matches with the ones in the config, but the rotation is wrong.

config:
camera_position: { x: 28.585259575065674, y: 3256.7526642101784, z: -1069.565810623808 } camera_rotate: { x: -1.570795326820248, y: 1.1815363197380246e-8, z: 0.01181511292553725 }

after reload :
camera_position: { x: 28.58525957506562, y: 3256.7526642101784, z: -1069.5658106238081 } camera_rotate: { x: -1.8881136986602536, y: 0.00833883888879998, z: 3.1162072243275625 }

from floor3d-card.

adizanni avatar adizanni commented on May 17, 2024

I may have to retest, I had the impression that the position and rotation were good. Let me check

from floor3d-card.

GaoMax avatar GaoMax commented on May 17, 2024

#17
Is the issue I had! Moving the upper left corner to 0,0 fixed the issue.

from floor3d-card.

adizanni avatar adizanni commented on May 17, 2024

Thanks GaoMax

from floor3d-card.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.