[vtkusers] 1.processing slow on hollow object, 2.how to get smooth surface?
vaibhav agarwal
vaibhav_19842002 at yahoo.co.in
Mon Mar 12 11:49:26 EDT 2007
Hi,
i have a human colon (curved solid tube kind)
structure.
When i render the solid tube, it give very fast
response on user interaction.
I needed the hollow structure of it, so i kept only 1
voxel thick outer shell and removed all inside voxels.
But now its response is very slow on user interection.
Can somebody explain why it is happening so?
Also surface is quite rough, how can i get smooth
surface??
i am using Medical1.tcl from examples primarily.
-------------------------------------
//read image//
vtkContourFilter skinExtractor
skinExtractor SetInputConnection [v16 GetOutputPort]
skinExtractor SetValue 0 50
vtkPolyDataNormals skinNormals
skinNormals SetInputConnection [skinExtractor
GetOutputPort]
skinNormals SetFeatureAngle 60.0
vtkPolyDataMapper skinMapper
skinMapper SetInputConnection [skinNormals
GetOutputPort]
skinMapper ScalarVisibilityOff
vtkActor skin
skin SetMapper skinMapper
//camera//
//render//
-----------------------------------------
Any help is appretiated. Thank You.
Vaibhav
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121
More information about the vtkusers
mailing list