起重运输机械Issue(1):111-114,4.
基于UDP数据驱动的OSG三维场景基础框架实现
摘要
Abstract
In the paper, the implementation of client-driven 3 D scene framework using UDP multicast data under C/S architecture is discussed, which provides the client-side with low coupling and high operation efficiency in design.According to the design idea, 3 D graphics rendering engine OSG is adopted to build 3 D scenes on MFC platform. For receiving and processing three-dimensional data, the UDP multicast group is added, the network data sent from the server is received in a blocking way, the data is stored in the cache object, and then the data in the cache object is deployed to form a real-time con?guration of the scene to drive the movement of the 3 D model and other operations to realize real-time change and update of the three-dimensional scene. Compared with the design pattern without data cache objects, the design pattern is more standardized, the rendering ef?ciency is improved, and it also has a strong application value in actual projects.关键词
C/S架构/OSG/UDP组播/多线程Key words
C/S architecture/OSG/UDP multicast/multithreading分类
机械制造引用本文复制引用
吴娱,陈涤新..基于UDP数据驱动的OSG三维场景基础框架实现[J].起重运输机械,2019,(1):111-114,4.基金项目
北京市科技计划课题科技成果转移转化项目"物流自动拣选成套设备研制"(Z171100002317013) (Z171100002317013)