trlsmax / imgui-vtk

test on how to integrate vtk into glfw + imgui project
MIT License
108 stars 27 forks source link

error during CMake and compiling error in VS2019 #1

Closed hduonggithub closed 3 years ago

hduonggithub commented 4 years ago

image

image

Please help! Thanks

trlsmax commented 4 years ago

GLFW3_LIBRARY should be the file path of glfw library, eg : E:/projects/glfw-3.3.2.bin.WIN64/lib-vc2019/glfw3dll.lib 微信截图_20200915133709

hduonggithub commented 4 years ago

Hi @trlsmax,

It works perfectly now. image

hduonggithub commented 4 years ago

Hi @trlsmax

Have you heard about this modification (https://github.com/PointCloudLibrary/pcl/issues/3831) made to Point Cloud Library (PCL). It modified the VTK and added imgui in PCL module for GUI instead of using Qt. Do you think it is possible to add your changes in here to the VTK in PCL module?

Here is what they said: image

trlsmax commented 4 years ago

Hi I'm sorry I haven't used PCL before. Code in here just let VTK render into texture and draw the texture in background. Maybe you can try to find a way to let PCL render into texture and draw it in background or IMGUI window. Good luck.

hduonggithub commented 4 years ago

Hi @trlsmax

Sorry for another question.

How can I import and display my point cloud into this Viewer? I am trying to find a way to replace the sphere?

trlsmax commented 4 years ago

Just add actor into renderer

hduonggithub commented 4 years ago

Hi @trlsmax

Thanks for prompt reply. Can you please provide a bit more details? Like where in the code I should modify. Thanks!

trlsmax commented 3 years ago

Please read doc of vtk for how to render object. I'll close this now.