摘要
针对三维模型标签的显示,分析已有处理的不足,提出一种基于RTT(Render To Texture)的三维模型标签实时显示的解决思路:在三维模型上确定显示标签的目标区域,用RTT相机对标签预渲染到帧缓存中,从帧缓存中提取出二维纹理映射到三维模型上的目标区域,采用OSG(Open Scene Graph)实现对三维模型标签的实时显示,具有良好的真实感。
For the display of 3D model label,the insufficient of the existing processing is analyzed,and a new solution of3 D model label real-time display based on render to texture(RTT) is proposed. The target area of display label is determined on the 3D model, and the label is pre-rendered into the frame-buffer by RTT camera. The 2D texture extracted from frame-buffer is mapped to the target area on 3D model. The real-time display of 3D model label was realized by using open scene graph(OSG),and has good reality sense.
出处
《现代电子技术》
北大核心
2015年第20期55-58,共4页
Modern Electronics Technique