Move ImageData To Make Center As Origin Point

We can find that vtkImageActor object will display image with controling its position with the bottom left corner of the image by the default way. Test project: Result: How to make the image’s center as actor’s position? Just as rewrite 3D model to make center as (0,0,0), related post: https://www.weiy.city/2022/01/rewrite-file-to-move-3d-model-to-origin-point/ Read more…

VTK WASM Error – Cannot read properties of null (reading ‘bindRenderbuffer’) at _glBindRenderbuffer

Sometimes we need to change canvas for VTK WASM 3D window.Updating renderer window and renderer is neccessary if we don’t restart all data loading.The related post is Change Canvas For VTK WASM Project. I got the following error info on the web page if do vtkSDL2OpenGLRenderWindow::Render before m_RenderWindow = newWin; (update the old rendererWindow variable). Read more…

Tex To PDF
: convert the Latex file which suffix is tex to a PDF file

X