Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    HarshitJn
    @HarshitJn
    now sudo make right?
    pranav
    @pranavkantgaur
    @HarshitJn yuo
    yup*
    HarshitJn
    @HarshitJn
    Yeah! Clean Log files :D
    done with sudo make install
    pranav
    @pranavkantgaur
    @HarshitJn ok..
    so now run a CGAL example
    @HarshitJn After that take code from CDTGenerator repo and give it a try.
    @HarshitJn I will be leaving from office in 5 mins. from now.
    @HarshitJn example working?
    HarshitJn
    @HarshitJn
    @pranavkantgaur Ok! Its compiling
    pranav
    @pranavkantgaur
    @HarshitJn can you see the binary now?
    HarshitJn
    @HarshitJn
    Its taking a lot of time in sudo make
    pranav
    @pranavkantgaur
    @HarshitJn its becuase there are multiple files which are getting compiled...there will be multiple binaries in the end.(if all went well of course :))
    HarshitJn
    @HarshitJn
    @pranavkantgaur Its building all examples again. I did cmake ../ in examples/Straigh_Skeleton_2
    pranav
    @pranavkantgaur
    @HarshitJn stop it
    HarshitJn
    @HarshitJn
    did that
    meanwhile cdtgenerator built :D
    pranav
    @pranavkantgaur
    @HarshitJn you need to do cmake -DCGAL_DIR=$HOME/CGAL-4.6.2 and then make
    HarshitJn
    @HarshitJn
    I did cmake .. and make
    pranav
    @pranavkantgaur
    @HarshitJn ok congrates...your hard work paid off :) :smile:
    HarshitJn
    @HarshitJn
    More yours than mine. I just followed what you said :D
    pranav
    @pranavkantgaur
    @HarshitJn But you kept patience...that is the key...I am going now...will be back at 10:00 PM
    HarshitJn
    @HarshitJn
    @pranavkantgaur Yeah! okay!
    Bye
    and Thanks :D
    pranav
    @pranavkantgaur
    @HarshitJn bye...it was nice collaboration:)
    @HarshitJn I enjoyed it.
    pranav
    @pranavkantgaur
    @HarshitJn any progress in running CDTGenerator?
    HarshitJn
    @HarshitJn
    Sir I ran cmake .. and make. I got a binary file named cdtGenerator in build/src.
    I ran it on cube.ply and it gave me following output:
    Constraint segment recovery starts...
    Segment recovery iteration: #0
    Segment recovery iteration: #1
    Segment recovery iteration: #2
    Skipping explicit local degeneracy removal, CGAL performs symbolic perturbation by default!!
    Constraint facet recovery starts...
    Constraint facets recovered!!
    Removing exterior tetrahedrons from output mesh...
    Exterior tetrahedrons removed successfully...output mesh saved in outputMesh.ply!!
    HarshitJn
    @HarshitJn
    @pranavkantgaur I think it is working perfectly fine.
    pranav
    @pranavkantgaur
    @HarshitJn try sphere. ply... That is where the problem is :(
    HarshitJn
    @HarshitJn
    @pranavkantgaur ok
    HarshitJn
    @HarshitJn
    @pranavkantgaur It is doing facet recovery iterations.
    @pranavkantgaur Can you please check your e-mail.
    pranav
    @pranavkantgaur
    @HarshitJn has it terminated?
    @HarshitJn actually that is where the problem is... I feel that we need to simplify the implementation.... It seems to be a case of combinatorial explosion.
    HarshitJn
    @HarshitJn
    @pranavkantgaur Not completed yet. Now its removing exterior tetrahedrons.
    pranav
    @pranavkantgaur
    @HarshitJn ok... Try comparing the facet recovery implementation with algorithm in paper... I am doing the same.... I suspect that I have implemented some steps in naive manner.... Resulting in slow code.
    HarshitJn
    @HarshitJn
    @pranavkantgaur IMO although facet recovery is slow but it got over in around 10 minutes. The removing exterior tetrahedrons is not terminating from last 4 hours.
    pranav
    @pranavkantgaur
    @HarshitJn ya... And there is no possibility of infinite loop in that... I think it's just that number of iterations in a loop are very large
    pranav
    @pranavkantgaur
    @HarshitJn have you recieved my mail yesterday?
    HarshitJn
    @HarshitJn
    @pranavkantgaur Yup.
    pranav
    @pranavkantgaur
    @HarshitJn Precisely, in the last function(removing exterior Tetrahedrons), I need to check whether given a 2-dimensional PLC(in simple words say a hollow body made up of triangles), check if a given tetrahedron lies inside/outside it....Now why it is becoming so computationally intensive is because I need to check this for all tetrahedrons of output mesh(i.e. cdtMesh).
    @HarshitJn Do you think there can be a more efficient approach for this than the one implemented in isCellOutsidePLC()?
    pranav
    @pranavkantgaur
    @HarshitJn I have also once asked this problem on CS Stack exchange: http://cs.stackexchange.com/questions/26237/testing-whether-a-tetrahedron-lies-inside-a-polyhedron
    HarshitJn
    @HarshitJn
    @pranavkantgaur There is one optimisation we can do, instead of calculating the centroid of the plc(endpoint 2) each time for a 3-cell we can put that calculation inside the removeExteriorTetrahedrons() function and pass it as a parameter to isCellOutsidePLC() function.
    pranav
    @pranavkantgaur
    @HarshitJn I have done that.... Sync to the updated master.
    pranav
    @pranavkantgaur
    I am back