计算机科学 ›› 2020, Vol. 47 ›› Issue (11A): 266-270.doi: 10.11896/jsjkx.200200029

• 计算机图形学&多媒体 • 上一篇    下一篇

基于OBJ模型的三维彩色切片技术研究

邢敬普1, 李凤岐1, 王胜法2, 王祎2, 宗贵升3, 范永刚1   

  1. 1 大连理工大学软件学院 辽宁 大连 116620
    2 大连理工大学国际信息与软件学院 辽宁 大连 116620
    3 深圳七号科技有限公司 广东 深圳 518000
  • 出版日期:2020-11-15 发布日期:2020-11-17
  • 通讯作者: 李凤岐(lifengqi@dlut.edu.cn)
  • 作者简介:solvc@mail.dlut.edu.cn
  • 基金资助:
    国家重点研究计划(2016YFB1101100);国家重点研发计划子课题(2017YFB1107704);中央高校基本科研费(DUT19ZD209)

Study on 3D Color Slicing Technology Based on OBJ Model

XING Jing-pu1, LI Feng-qi1, WANG Sheng-fa2, WANG Yi2, ZONG Gui-sheng3, FAN Yong-gang1   

  1. 1 School of Software Technology,Dalian University of Technology,Dalian,Liaoning 116620,China
    2 International School of Information Science & Engineering,Dalian University of Technology,Dalian,Liaoning 116620,China
    3 Shenzhen 7th Technology Co.,Ltd.,Shenzhen,Guangdong 518000,China
  • Online:2020-11-15 Published:2020-11-17
  • About author:XING Jing-pu,born in 1995,postgra-duate.His main research interests include 3D printing and slicing algorithm.
    LI Feng-qi,born in 1974,Ph.D,professor,is a member of China Computer Federation.His main research interests include 3D printing,intelligent software systems and blockchain.
  • Supported by:
    This work was supported by the National Key R&D Program of China (2016YFB1101100),Subproject of National Key Research & Development Program(2017YFB1107704) and Fundamental Research Funds for the Central Universities(DUT19ZD209).

摘要: 近年来,随着3D打印技术的不断进步,彩色3D打印正成为行业的普遍需求。然而作为目前3D打印领域模型描述的标准文件格式,STL文件并不存储三维模型的颜色信息,无法满足彩色3D打印对模型信息提取和切片处理过程的新需求。在此背景下,选取OBJ彩色模型作为彩色切片技术的研究对象,解析其文件结构,提取其中保存的模型几何和颜色相关信息,并进行切片过程优化处理;结合OBJ模型的具体特点,在传统拓扑切片算法的基础上,提出基于模型连续性的彩色切片算法,给出了算法的整体流程步骤。应用该算法的切片处理提高了分层处理的效率,得到了模型的分层轮廓信息,完成了彩色切片的处理过程。实验结果证明该技术可对OBJ模型进行彩色切片处理,其效果良好,稳定可靠。

关键词: 3D打印, OBJ模型, 彩色切片

Abstract: In recent years,with the continuous progress of 3D printing technology,color 3D printing is becoming the general demand of the industry.However,as the standard file format of 3D printing field model description,STL file does not retain the color information of 3D model,which cannot meet the new requirements of color 3D printing for model information extraction and slice processing.In this context,the OBJ color model is selected as the research object of color slicing technology.Its file structure is analyzed,and the model geometry and color related information stored therein are extracted and optimized for slicing.Combined with the specific characteristics of OBJ model,the color slicing algorithm based on model continuity is proposed on the basis of traditional topological slicing algorithm,and the whole flow of the algorithm is given.The slice processing of the algorithm improves the efficiency of the layered processing,obtains the layered contour information of the model,and completes the processing of the color slice.The experimental results prove that the technology can perform color slice processing on the OBJ model with good effect,stability and reliability.

Key words: 3D printing, Color slicing, OBJ model

中图分类号: 

  • TP311
[1] HALEEM A,JAVAID M.Additive Manufacturing Applications in Industry 4.0:A Review[J].Journal of Industrial Integration &Management,2019,4(4):1930001.
[2] SINGH O P,AHMED S M,AHMED A M,et al.Modern 3D Printing Technologies:Future Trends and Developments[J].Recent Patents on Engineering,2015,9(2):129-135.
[3] WANG F Y.From social computing to social manufacturing:the coming industrial revolution and new frontier in cyber-physical-social space [J].Bull Chin Acad Sci,2012,27:658-669.
[4] CHENG Y L,CHANG C H,KUO C.Experimental study on leveling mechanism for material-jetting-type color 3D printing[J].Rapid Prototyping Journal,2020,26(1):11-20.
[5] YANG G,LIU W J,WANG W,et al.Research on the Rapid Slicing Algorithm Based on STL Topology Construction[J].Advanced Materials Research,2010,97(101):3397-3402.
[6] WANG Y G.3D model file input and processing in OpenGL in 3ds and OBJ format[J].Electronic World,2013(6):86-87.
[7] WANG J F,YAO G Q.Input and processing of OBJ format in OpenGL[J].Computer Knowledge and Technology,2011 (10):187-190,193.
[8] LU Z W.Importing and Processing of OBJ Model Files in OpenGL[J].Scientific and Technological Information,2013(7):94-95,124.
[9] WANG B,SUN W.Research on texture mapping method of new OBJ file based on OpenGL[J].Computer and Digital Enginee-ring,2015(8):135-138.
[10] REN S,WANG Z,XU Z C,et al.An information hiding algorithm based on texture mapping of OBJ 3D model [J].Journal of Beijing University of Posts and Telecommunications,2019(1):127-129.
[11] OLIVEIRA M M,BISHOP G,MCALLISTER D.Relief Texture Mapping[J].ACM SIGGRAPH Computer Graphics,2000(6):359-368.
[12] XU H W,JING W H,LI M J,et al.A slicing model algorithm based on STL model for additive manufacturing processes[C]//Proceedings of 2016 IEEE Advanced Information Management,Communicates,Electronic and Automation Control Conference (IMCEC 2016).2016:1647-1650.
[13] LI Z L,LIANG D,LI D C,et al.Research on fast hierarchical processing algorithm based on information inheritance [J].Journal of Xi'an Jiaotong University,2002,36(1):43-46.
[14] ROCK S J,WONZY M J.Generating topological informationfrom a bucket of facets [C]//Proceedings of Solid Freeform Fabrication Symposium Proceedings.1992:251-258.
[15] ZHANG Z,JOSHI S.An improved slicing algorithm with efficient contour construction using STL files[J].The International Journal of Advanced Manufacturing Technology,2015,80(5/6/7/8):1347-1362.
[16] XIAO H B,ZHOU Y Q,LIU M J,et al.Approach to Optimize STL Model for 3D Laser Machining[C]//Proceedings of 2017 2nd International Conference on Computational Modeling,Simulation and Applied Mathematics(CMSAM 2017).2017:192-196.
[17] ZHU J,GUO G,YAN Y N.Research on the fast layering algorithm based on model continuity in rapid prototyping manufacturing [J].China Mechanical Engineering,2000(5):77-82,86.
[18] HU H W,ZHANG L C,ZHANG J F,et al.Fast slicing algorithm of surface color AMF model [J].Journal of Computer Aided Design and Graphics,2017,29(11):2108-2116.
[1] 徐涌鑫, 赵俊峰, 王亚沙, 谢冰, 杨恺.
时序知识图谱表示学习
Temporal Knowledge Graph Representation Learning
计算机科学, 2022, 49(9): 162-171. https://doi.org/10.11896/jsjkx.220500204
[2] 王子凯, 朱健, 张伯钧, 胡凯.
区块链与智能合约并行方法研究与实现
Research and Implementation of Parallel Method in Blockchain and Smart Contract
计算机科学, 2022, 49(9): 312-317. https://doi.org/10.11896/jsjkx.210800102
[3] 曾志贤, 曹建军, 翁年凤, 蒋国权, 徐滨.
基于注意力机制的细粒度语义关联视频-文本跨模态实体分辨
Fine-grained Semantic Association Video-Text Cross-modal Entity Resolution Based on Attention Mechanism
计算机科学, 2022, 49(7): 106-112. https://doi.org/10.11896/jsjkx.210500224
[4] 熊罗庚, 郑尚, 邹海涛, 于化龙, 高尚.
融合双向门控循环单元和注意力机制的软件自承认技术债识别方法
Software Self-admitted Technical Debt Identification with Bidirectional Gate Recurrent Unit and Attention Mechanism
计算机科学, 2022, 49(7): 212-219. https://doi.org/10.11896/jsjkx.210500075
[5] 潘志勇, 程宝雷, 樊建席, 卞庆荣.
数据中心网络BCDC上的顶点独立生成树构造算法
Algorithm to Construct Node-independent Spanning Trees in Data Center Network BCDC
计算机科学, 2022, 49(7): 287-296. https://doi.org/10.11896/jsjkx.210500170
[6] 李瑭, 秦小麟, 迟贺宇, 费珂.
面向多无人系统的安全协同模型
Secure Coordination Model for Multiple Unmanned Systems
计算机科学, 2022, 49(7): 332-339. https://doi.org/10.11896/jsjkx.210600107
[7] 黄觉, 周春来.
基于本地化差分隐私的频率特征提取
Frequency Feature Extraction Based on Localized Differential Privacy
计算机科学, 2022, 49(7): 350-356. https://doi.org/10.11896/jsjkx.210900229
[8] 叶跃进, 李芳, 陈德训, 郭恒, 陈鑫.
基于国产众核架构的非结构网格分区块重构预处理算法研究
Study on Preprocessing Algorithm for Partition Reconnection of Unstructured-grid Based on Domestic Many-core Architecture
计算机科学, 2022, 49(6): 73-80. https://doi.org/10.11896/jsjkx.210900045
[9] 赵静文, 付岩, 吴艳霞, 陈俊文, 冯云, 董继斌, 刘嘉琪.
多线程数据竞争检测技术研究综述
Survey on Multithreaded Data Race Detection Techniques
计算机科学, 2022, 49(6): 89-98. https://doi.org/10.11896/jsjkx.210700187
[10] 陈鑫, 李芳, 丁海昕, 孙唯哲, 刘鑫, 陈德训, 叶跃进, 何香.
面向国产异构众核架构的CFD非结构网格计算并行优化方法
Parallel Optimization Method of Unstructured-grid Computing in CFD for DomesticHeterogeneous Many-core Architecture
计算机科学, 2022, 49(6): 99-107. https://doi.org/10.11896/jsjkx.210400157
[11] 王毅, 李政浩, 陈星.
基于用户场景的Android 应用服务推荐方法
Recommendation of Android Application Services via User Scenarios
计算机科学, 2022, 49(6A): 267-271. https://doi.org/10.11896/jsjkx.210700123
[12] 傅丽玉, 陆歌皓, 吴义明, 罗娅玲.
区块链技术的研究及其发展综述
Overview of Research and Development of Blockchain Technology
计算机科学, 2022, 49(6A): 447-461. https://doi.org/10.11896/jsjkx.210600214
[13] 蒋成满, 华保健, 樊淇梁, 朱洪军, 徐波, 潘志中.
Python虚拟机本地代码的安全性实证研究
Empirical Security Study of Native Code in Python Virtual Machines
计算机科学, 2022, 49(6A): 474-479. https://doi.org/10.11896/jsjkx.210600200
[14] 袁昊男, 王瑞锦, 郑博文, 吴邦彦.
基于Fabric的电子病历跨链可信共享系统设计与实现
Design and Implementation of Cross-chain Trusted EMR Sharing System Based on Fabric
计算机科学, 2022, 49(6A): 490-495. https://doi.org/10.11896/jsjkx.210500063
[15] 陈钧吾, 余华山.
面向无尺度图的Δ-stepping算法改进策略
Strategies for Improving Δ-stepping Algorithm on Scale-free Graphs
计算机科学, 2022, 49(6A): 594-600. https://doi.org/10.11896/jsjkx.210400062
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!