Questions tagged [xtk]

The X Toolkit (XTK) is a WebGL framework for Scientific Visualization.

XTK is a WebGL framework providing an easy-to-use API to visualize scientific data on the web. No background or knowledge in Computer Graphics is required.

158 questions
0
votes
1 answer

sprite feature in XTK

Is it possible to add sprite feature in XTK ? I need to render large number of point data. I was able to render it as X.displayable.types.POINTS. But it would be great if i can render the points with texture. I am looking for something similar to…
George Neil
  • 357
  • 1
  • 4
  • 14
0
votes
1 answer

apply new layer to a slice of a volume webgl

i have two volumes (.nrrd) of different qualities. the user can browse through the layers. if a key is pressed i want to load the slice of the volume with better quality. my volume is similar to this one: lesson 10 xtk i've…
p0rter
  • 961
  • 2
  • 13
  • 28
0
votes
1 answer

Different mesh visualization WebGL

I'm wondering why the mesh in lesson 10 looks more three-dimensional then mine. My meshes look like they have no surface and no depth. Here is an example picture: Any suggestions? I don't see if there is a difference in loading the meshes (xtk's…
p0rter
  • 961
  • 2
  • 13
  • 28
0
votes
1 answer

simple color assignment not working in XTK with GWT (mesh.color = [0.7,0,0])

@haehn Hi Haehn (XTK) I'm using edge-XTK with GWT and trying to render a simple STL. However XTK code fails at the line where we assign color to the mesh. mesh.color = [0.7,0,0] // this line fails Error message emitted by XTK code: "Invalid…
0
votes
1 answer

XTK build Issue

When I tried to build the latest code [ master ]. I am getting lot of warnings as follows and the generated xtk.js is not working. *-----------------------* Compiling Code …
George Neil
  • 357
  • 1
  • 4
  • 14
0
votes
1 answer

Maximum number of points XTK can render?

As per [http://lessons.goxtk.com/09/][1] [1]: http://lessons.goxtk.com/09/ i need to use a .vtk file with 15,000 points. It took too long to load the points and finally firefox crashes. Is there any work around ?
George Neil
  • 357
  • 1
  • 4
  • 14
0
votes
1 answer

X.file api does not exist

The api link to it is dead. Not sure the plan for it, but it's a good idea to have a file object that holds loaded file so that images and colortables don't have to be loaded every time it is needed.
0
votes
1 answer

Dynamically setting colortable to volume

The following snippet doesn't seem to do anything after the volume was rendered. volume.colortable.file = file; volume.modified(); r.render(); Also, placing volume.colortable.file = file; after r.add(volume) causes a "y is undefined" error. The…
0
votes
0 answers

(re-) activating slices of 3d-volume WEBGL

when i try to switch between the directions (x,y,z), i get an uncommon result. when i reactivate the layer(s) of a direction which has been set to visible = false before (1), it looks like this if i change the visiblity to true (2). this example…
p0rter
  • 961
  • 2
  • 13
  • 28
0
votes
1 answer

HTML5 file api support in XTK

Is there a way or plan for reading files (images or color tables) from the local file system?
0
votes
1 answer

Volume.slicing_() not found

Got "Error: volume.slicing_ is not a function" when trying to experiment with this method. It is in the api doc and source code at http://api.goxtk.com/symbols/src/_Users_d_Projects_X_objects_volume.js.html.
0
votes
1 answer

disabling mouse events and progress bar

how can i disable the mouse events? i want to use very simple mouse events on meshes and slices of a volume and use some ajax-calls there so the integrated events are not needed. how can i disable the progress bar? i've read it somewhere... is…
p0rter
  • 961
  • 2
  • 13
  • 28
0
votes
2 answers

Keyboard Events in r.interactor

i think i'm getting familiar with this library. 1) i want to do a volume rendering like in lesson 10 i want to check whether the user pressed "v" and run a function this is what i have tried: window.onload = function() { var r = new…
p0rter
  • 961
  • 2
  • 13
  • 28
0
votes
1 answer

Is XTK done for multi renderers viewing?

Lessons 07 tended to give me the idea that we can load one object in many renderers to see it from different views. However I've many issues with it : the property dirty is a property of the object and its attributes and is not a function of the…
Ricola3D
  • 2,402
  • 17
  • 16
0
votes
1 answer

How to get smooth shading?

Using XTK, I tried to load an STL file. The shading is NOT smooth. What all modifications I need to do to get smooth shading?
George Neil
  • 357
  • 1
  • 4
  • 14
1 2 3
10
11