Skip to content

r76 blender exporter camera  #8820

@pontiffpublishing

Description

@pontiffpublishing
Description of the problem

Hi, Thank you for this great framework.

I upgrade to r76 to fix another problem and all my exported blender scenes no longer rendered right.

From the same blender file, a camera exported with the r76 addon gives this:

        "name":"Camera",
        "uuid":"DE0714B3-5D16-30EF-9A0A-6C5D6DD394B9",
        "matrix":[-1,0,0,0,0,0,1,0,0,1,0,0,0,5,0,1],
        "visible":true,
        "type":"PerspectiveCamera",
        "far":100,
        "near":0.1,
        "aspect":1.77778,
        "fov":35

While the r75 exporter addon gives this definition

        "name":"Camera",
        "uuid":"DE0714B3-5D16-30EF-9A0A-6C5D6DD394B9",
        "matrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,5,1],
        "visible":true,
        "type":"PerspectiveCamera",
        "far":100,
        "near":0.1,
        "aspect":1.77778,
        "fov":35

to get the camera to work right, I have to replace the r76 "matrix" definition with the r75 definition.

Hope this helps.

...

Three.js version
  • Dev
  • [x ] r76
  • ...
Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
OS
  • [] All of them
  • [ x] Windows
  • Linux
  • Android
  • IOS
Hardware Requirements (graphics card, VR Device, ...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions