Coder Social home page Coder Social logo

edge support about vtk-js HOT 10 CLOSED

kitware avatar kitware commented on July 20, 2024
edge support

from vtk-js.

Comments (10)

martinken avatar martinken commented on July 20, 2024 1

The missing triangles should be fixed now in master.

from vtk-js.

jourdain avatar jourdain commented on July 20, 2024

You may need to load a polyfill?
Is the following example here working or not?

from vtk-js.

martinken avatar martinken commented on July 20, 2024

I just visited the example page on edge (Windows 10 x64) and it worked for me. There was a bug that caused edge to not work that was fixed last week some time. Maybe that is hitting you? Failing that what platform are you on?

from vtk-js.

doczoidberg avatar doczoidberg commented on July 20, 2024

also win 10 x64. the strange thing is with opened developer tools it works but not without the tools open.

Microsoft Edge 38.14393.0.0

from vtk-js.

martinken avatar martinken commented on July 20, 2024

I found the issue. Ala

http://stackoverflow.com/questions/7742781/why-does-javascript-only-work-after-opening-developer-tools-in

Basically the console object does not exist unless the dev tools are open. So any calls to it crash. We need to make sure we do not use console if it doesn't exist.

from vtk-js.

jourdain avatar jourdain commented on July 20, 2024

@martinken we should replace all our console.xxx() calls to our vtk[Debug|Info|Error|Warn]Macro and make sure we guard those methods accordingly.

I can try to get a stab at it but it may only happen during the weekend unless you want to do it sooner. ;-)

from vtk-js.

jourdain avatar jourdain commented on July 20, 2024

Should be fixed now. Could you confirm and close the issue if that's the case?

from vtk-js.

doczoidberg avatar doczoidberg commented on July 20, 2024

it is rendered now but I found 2 other issues now.

  1. rendering ist not correct. there are some polys of the cone transparent.
  2. touch does not manipulate view. (this works on android, but not on my surface)

from vtk-js.

martinken avatar martinken commented on July 20, 2024

The missing triangles is a different issue I believe, although probably edge specific. It is on my near term list to look at. I think it is probably a quick fix. (touch I have no idea on though)

from vtk-js.

martinken avatar martinken commented on July 20, 2024

Touch events have to be turned on in edge ala

for touch API, you have to activate a flag on Edge : in the address bar, enter about:flags and press enter. In the section Touch, you can enable touch events with the corresponding dropdown

I just tested them on my surface and them seem to be working so I'm closing this one.

from vtk-js.

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.