I'm adapting Lesson 5 from here, which takes a skull vtk object and displays it rotating in a circle. I want to change it so instead of accessing the .vtk
object at http://x.babymri.org/?skull.vtk
, it reads from a local file. Is this possible? I downloaded an exact copy of the skull.vtk and tried things like skull.file = file:///C:/Users/myName/Desktop/XTKtest/downloadedSkull.vtk;
, but I didn't get anywhere. Is there an alternate way to do this?
Thanks in advance, I am super new to XTK and JavaScript in general...
No comments:
Post a Comment