Geometric Computing in Python (part 1: geometry processing and visualization)

Пікірлер: 32

  • @AJ-et3vf
    @AJ-et3vf Жыл бұрын

    great video. thank you

  • @wipperod
    @wipperod Жыл бұрын

    Hi, do you maybe have some advice on how to use igl library inside pycharm?

  • @ghalyahmad1225
    @ghalyahmad1225 Жыл бұрын

    In several literatures, it showed that point cloud processing involve fourier transform, but i wanna know from you what is the importance of fourier transform in point cloud and 3d processing itself?

  • @wipperod
    @wipperod Жыл бұрын

    Does anybody have any advice on how to the iterations on the Laplace smoothing as jpgs? I want to make a gif showing the smoothing of the mesh using Laplacian, but I can't figure out how to save the plots so I can animate the transformation?

  • @luisbarba9532
    @luisbarba9532 Жыл бұрын

    im looking to use an stl file to create a mesh grid and use as boundary conditions for a simulation. Could this be used for it?

  • @weapoNNNNN
    @weapoNNNNN2 жыл бұрын

    Hi ! Nice content. I have a question. From a mesh ,can i calculate the height and the width? Particulary i have a mesh and I want to estimate the volume, so i need the height and width but dont know how to do it!

  • @zsjiang

    @zsjiang

    Жыл бұрын

    Hi Yes. If you know the point array of the mesh V (N by 3), then the row-wise max, and row-wise min are the two diagonal corners of the bounding box, and you can get a box volume there. If you want to compute the precise volume, it is also quite simple: add an arbitrary point to construct a tetmesh, then use igl::volume

  • @xinkuang2890
    @xinkuang28902 жыл бұрын

    Hello,Where did "igl" 、“meshplot” get form? The third-party library was not found

  • @zsjiang

    @zsjiang

    2 жыл бұрын

    Hi, the installation can be done through the conda-forge channel. Specifically: `conda install -c conda-forge igl meshplot`

  • @xinkuang2890

    @xinkuang2890

    2 жыл бұрын

    Thanks

  • @zsjiang

    @zsjiang

    2 жыл бұрын

    It is in the `conda-forge` channel, and you could install with `conda -c conda-forge igl meshplot`

  • @suryavaraprasadalla8511
    @suryavaraprasadalla85112 жыл бұрын

    I am using Jupyter Notebook in a Conda environment in windows 10 in Brave browser and edge: import igl import meshplot as mp import numpy as np v, f = igl.read_triangle_mesh("./earth.ply") k = igl.gaussian_curvature(v, f) mp.plot(v, f, k, return_plot = True) OUTPUT: it is not displaying the mesh. it is just outputs the location it stored in memory like above. Please help me.

  • @zsjiang

    @zsjiang

    2 жыл бұрын

    Hi Surya, my guess is that the jupyter widget is somehow not correctly set up. Please follow the quickstart section here pythreejs.readthedocs.io/en/stable/, since our visualizing ability is based on threejs

  • @zahrakheyrollahi3161
    @zahrakheyrollahi31616 ай бұрын

    How can you make a skeleton fat with this method?

  • @et4493
    @et4493 Жыл бұрын

    Hi! Very nice and informative video! I have a question, what kind of format can this procedure work with?

  • @zsjiang

    @zsjiang

    Жыл бұрын

    In general, we can work with all triangle meshes. Specifically we provide readers for .obj, .ply, .off, etc, but you can easily convert other format as well, with github.com/nschloe/meshio

  • @et4493

    @et4493

    Жыл бұрын

    @@zsjiang got you. Can it open gmsh files? If yes, how?

  • @zsjiang

    @zsjiang

    Жыл бұрын

    @@et4493 You can use meshio to open gmsh files. As long as you get to V,F matrices, you can use meshplot to visualize.

  • @et4493

    @et4493

    Жыл бұрын

    @@zsjiang understood, thank you very much!!

  • @khotaquick1401
    @khotaquick14012 жыл бұрын

    hi this is awsome and actually im having a classe that is similler to this called algorithme geometrie and speaking of that i actually have a probleme to install open3D in Annaconda so i cant visualise any mesh that i imorpt in, where in google colab i succeed installing open3d somehow but the visualisation doesnt work. so if there is any solutions u can suggest to me i'll be listening . thanx.

  • @zsjiang

    @zsjiang

    2 жыл бұрын

    Hi, Thanks for the interest. I am not using open3D, but meshplot here, and in google colab, I could make it work with a few additional lines. github.com/skoch9/meshplot/issues/29#issuecomment-965770934

  • @zsjiang
    @zsjiang2 жыл бұрын

    Most of the 3D models in the video can be found from github.com/libigl/libigl-tutorial-data

  • @NickZup96

    @NickZup96

    2 жыл бұрын

    thank you!!

  • @wipperod
    @wipperod2 жыл бұрын

    Hello, can you please explain how to set up the python settings and install the libraries in order to get the code to work? Or can you point me to the place where I can find such a tutorial? Thanks in advance

  • @zsjiang

    @zsjiang

    2 жыл бұрын

    It is in the `conda-forge` channel, and you could install with `conda -c conda-forge igl meshplot`. You can visit here for more info geometryprocessing.github.io/geometric-computing-python/.

  • @wipperod

    @wipperod

    2 жыл бұрын

    @@zsjiang Thank you. I have just one more question. I was able to make the same first mesh you have made in this video, but I am unable to load the bunny. When I write the commands you have written in this video, I get the error that says that bunny.off was not found. I found the github library that you have posted in the comments and I found the bunny.off code. Now, can you please explain where to I need to save that file bunny.off in my computer in order for the function read_triangle_mesh to be able to read it?

  • @zsjiang

    @zsjiang

    2 жыл бұрын

    @@wipperod Hi, the file you are running is a jupyter notebook, if you put the bunny in the same path, it should be able to find. Alternatively, you can supply the full path like `igl.read_triangle_mesh(/Users/name/meshes/bunny.off)` and it should work.

  • @wipperod

    @wipperod

    2 жыл бұрын

    @@zsjiang Thank you for your response. In the meantime, I managed to figure it out. I simply uploaded the bunny.off file in the file section on the Jupyter Notebook and everything works fine. I managed to plot the bunny. But, it seems to me that I have to do that for every .off file because the igl.read_triangle_mesh won't read the .off files that are not extracted from the whole file of meshes you have made available on GitHub. For example, when I called the function read_triangle_mesh("beetle.off"), it returned an error saying that "beetle.off" was not found. Howevere, when I uploaded the beetle.off file by itself in Jupyter Notebook, the function mentioned above worked just fine.

  • @zsjiang

    @zsjiang

    2 жыл бұрын

    @@wipperod For each of the meshes, you want to work with, beyond what we have as examples, they should be stored in your local disk in a directory. And once you have the path of the directory, you can visualize them then. For a list of example meshes, you can also try to clone github.com/libigl/libigl-tutorial-data to your local disk.