Coder Social home page Coder Social logo

threejs-atlas-viewer's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mcd8604 dhinkris

threejs-atlas-viewer's Issues

raw NRRD file does not read

Description of the problem

Raw formatted NRRD format won't read.

NRRD0004
'# Complete NRRD file format specification at:
'# http://teem.sourceforge.net/nrrd/format.html
type: short
dimension: 3
space: left-posterior-superior
sizes: 512 512 33
space directions: (1.171875,0.000000,0.000000) (0.000000,1.171875,0.000000) (0.000000,0.000000,-10.000000)
kinds: domain domain domain
endian: little
encoding: raw
space origin: (-300.000000,-230.000000,1415.500000)

XXXXX binary data starts on this line XXXXX

file size (17.301.897) bytes. Gives error:

SCRIPT5084: Invalid offset/length when creating typed array
NRRDLoader.js (309,3)

Apparently the header is incorrectly stripped from the _data passed there. The file reads OK in Seg3D2, but not in Slice Drop.

Three.js version
Dev
r78
...

Browser
All of them
Chrome
Firefox
Internet Explorer

OS
All of them
Windows
Linux
Android
IOS

Hardware Requirements (graphics card, VR Device, ...)

Non-hardware specific

Minor bug with clicking meshes

Error produced when left-clicking or right-clicking on the scene meshes and no key modifiers (ctrl/alt/shift) are active:

objectSelectorProvider.js:32
Uncaught The given object is not selectable
_select @ objectSelectorProvider.js:32
select @ objectSelectorProvider.js:62
onSceneMouseUp @ app.js:422

Quick fix: Change line 422 of app.js:
objectSelector.select(object);
to
objectSelector.select(object.atlasStructure);

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.