{"id":13439358,"url":"https://github.com/CKchaos/scn2pointcloud_tool","last_synced_at":"2025-03-20T08:30:52.312Z","repository":{"id":65763147,"uuid":"84625305","full_name":"CKchaos/scn2pointcloud_tool","owner":"CKchaos","description":"The toolbox implements the data conversion from CAD models (such as .obj/.off file) to point cloud(surface voxels) with RGB value and labels.","archived":false,"fork":false,"pushed_at":"2018-07-25T15:03:31.000Z","size":18552,"stargazers_count":64,"open_issues_count":0,"forks_count":16,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-08-01T03:29:11.310Z","etag":null,"topics":["c-plus-plus","cad-models","point-cloud","pointcloud","python"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CKchaos.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-11T05:06:07.000Z","updated_at":"2024-06-26T17:57:39.000Z","dependencies_parsed_at":"2023-02-08T17:31:53.888Z","dependency_job_id":null,"html_url":"https://github.com/CKchaos/scn2pointcloud_tool","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CKchaos%2Fscn2pointcloud_tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CKchaos%2Fscn2pointcloud_tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CKchaos%2Fscn2pointcloud_tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CKchaos%2Fscn2pointcloud_tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CKchaos","download_url":"https://codeload.github.com/CKchaos/scn2pointcloud_tool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221739700,"owners_count":16872775,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c-plus-plus","cad-models","point-cloud","pointcloud","python"],"created_at":"2024-07-31T03:01:13.268Z","updated_at":"2024-10-27T22:30:51.381Z","avatar_url":"https://github.com/CKchaos.png","language":"C++","readme":"# scn2pointcloud_tool Documentation\n\nThe aim of this tool is to achieve data conversion from the format of CAD models, such as .obj/.off file, to the format  of **point cloud with RGB and labels**. The convert result of this tool is as follows.\n\nThe visualization of an OBJ file:\n\n![694shape](694shape.png)\n\nThe visualization of its corresponding output:\n\n![694shape](694cloud.png)\n\nThe tool is designed for SUNCG dataset and based on the data organization of SUNCG dataset, so, for other dataset of CAD models, the tool may be not compatible completely. You can see this [webpage](http://suncg.cs.princeton.edu) and [paper](https://arxiv.org/pdf/1611.08974v1.pdf) for more details about SUNCG dataset.\n\nThe tool is modified from [SUNCGtoolbox](https://github.com/shurans/SUNCGtoolbox), which is modified from GAPS. The original GAPS README is on the bottom.\n\n### Bibtex\n\n If you find this tool useful in your research, please consider citing our [paper](http://arxiv.org/abs/1707.06783) .\n\n```\n@InProceedings{Liu_2017_ICCV,\nauthor = {Liu, Fangyu and Li, Shuaipeng and Zhang, Liqiang and Zhou, Chenghu and Ye, Rongtian and Wang, Yuebin and Lu, Jiwen},\ntitle = {3DCNN-DQN-RNN: A Deep Reinforcement Learning Framework for Semantic Parsing of Large-Scale 3D Point Clouds},\nbooktitle = {The IEEE International Conference on Computer Vision (ICCV)},\nmonth = {Oct},\nyear = {2017}\n} \n```\n\n### Tool Organization\n\n```\ndata_func\n    |-- demo.py - display how to implement the conversion\n    |-- data_module.py - build a link between libdata.so and python function\n    |-- libdata.so - Dynamic Link Library produced by g++\nSUNCGtoolbox\n    |--gaps\n      |-- pkgs - source and include files for all packages (software libraries)\n      |-- apps\n          |--scn2pointcloud - program that implements the conversion algorithm\n      |-- makefiles - unix-style make file definitions\n      |-- vc - visual studio solution files\n      |-- lib - archive library (.lib) files (created during compilation)\n      |-- bin - executable files (created during compilation)\n    |--metadata\n```\n\n**Note**: The organization of SUNCGtoolbox in this repository  is almost same as [SUNCGtoolbox](https://github.com/shurans/SUNCGtoolbox). A number of  class files are modified to achieve the aim of data conversion.\n\n### Usage\n\n##### Compilation\n\n```cmake\ncd SUNCGtoolbox/gaps\nmake clean\nmake\n```\n\n##### Generate Dynamic Link Library\n\n```cmake\ncd SUNCGtoolbox/gaps/apps/scn2pointcloud/\ng++ -shared -fPIC -o libdata.so scn2pointcloud.cpp  -L../../lib/x86_64 -g -lR3Graphics -lR3Shapes -lR2Shapes -lRNBasics -ljpeg -lpng   -lfglut -lGLU -lGL -lX11 -lm -I. -I../../pkgs  -g\n```\n\nIf nothing is wrong, you will get a file named libdata.so, the method to use this file is described in data_func.\n\n### GAPS README\n\nGAPS Users -\n\nThis directory contains all code for the GAPS software library.\nThere are several subdirectories:\n\n    pkgs - source and include files for all packages (software libraries).\n    apps - source files for several application and example programs. \n    makefiles - unix-style make file definitions\n    vc - visual studio solution files\n    lib - archive library (.lib) files (created during compilation).\n    bin - executable files (created during compilation).\n\nIf you are using linux or cygwin and have gcc and OpenGL development\nlibraries installed, or if you are using MAC OS X with the xcode\ndevelopment environment, you should be able to compile all the code by\ntyping \"make clean; make\" in this directory.  If you are using Windows\nVisual Studio 10 or later, then you should be able to open the\nsolution file vc.sln in the vc subdirectory and then \"Rebuild\nSolution.\"  For other development platforms, you should edit the shared\ncompilation settings in the makefiles/Makefiles.std to meet your needs.\n\nTo write a program that uses the GAPS pkgs, then you should include\n\"-I XXX/gaps/pkgs\" in your compile flags (CFLAGS) and \"-L\nXXX/gaps/lib\" in your link flags (LDFLAGS), where XXX is the directory\nwhere you installed the gaps software.\n\nThe software is distributed under the MIT license (see LICENSE.txt)\nand thus can be used for any purpose without warranty, any liability,\nor any suport of any kind.\n\n- [Tom Funkhouser](http://www.cs.princeton.edu/%7Efunk/)\n\n","funding_links":[],"categories":["C++"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCKchaos%2Fscn2pointcloud_tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCKchaos%2Fscn2pointcloud_tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCKchaos%2Fscn2pointcloud_tool/lists"}