{"title":"基于OpenCL的大规模地形实时渲染","authors":"Xiangkun Guo, Jishen Liu","doi":"10.1109/ICINFA.2016.7832007","DOIUrl":null,"url":null,"abstract":"In this paper, we propose a framework of CPU-GPU coupled computation based on OpenCL (Open Computing Language) for the real-time rendering of large-scale terrain datasets. Firstly, large-scale terrain datasets are divided into terrain chunks with the same size. Then appropriate terrain chunks are loaded into the host memory and the global memory of OpenCL device by 2-level caching mechanism and the quadtree hierarchy of LOD (Level of Detail) model is parallel constructed by OpenCL without intervention of the CPU and the multi-resolution terrain scene is rendered by OpenGL(Open Graphics Library). It is easy for OpenCL to develop program for general purpose computation in the GPU and greatly improve performance in term of execution time. Sharing data between OpenCL and OpenGL can save much memory and reduce data copy or movement. The experimental results have demonstrated that our method greatly reduces the CPU workload and balances the workload between CPU and GPU, and improves the efficiency of constructing of the LOD model and achieves higher frame rates.","PeriodicalId":389619,"journal":{"name":"2016 IEEE International Conference on Information and Automation (ICIA)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Real-time rendering of large-scale terrain based on OpenCL\",\"authors\":\"Xiangkun Guo, Jishen Liu\",\"doi\":\"10.1109/ICINFA.2016.7832007\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In this paper, we propose a framework of CPU-GPU coupled computation based on OpenCL (Open Computing Language) for the real-time rendering of large-scale terrain datasets. Firstly, large-scale terrain datasets are divided into terrain chunks with the same size. Then appropriate terrain chunks are loaded into the host memory and the global memory of OpenCL device by 2-level caching mechanism and the quadtree hierarchy of LOD (Level of Detail) model is parallel constructed by OpenCL without intervention of the CPU and the multi-resolution terrain scene is rendered by OpenGL(Open Graphics Library). It is easy for OpenCL to develop program for general purpose computation in the GPU and greatly improve performance in term of execution time. Sharing data between OpenCL and OpenGL can save much memory and reduce data copy or movement. The experimental results have demonstrated that our method greatly reduces the CPU workload and balances the workload between CPU and GPU, and improves the efficiency of constructing of the LOD model and achieves higher frame rates.\",\"PeriodicalId\":389619,\"journal\":{\"name\":\"2016 IEEE International Conference on Information and Automation (ICIA)\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2016-08-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2016 IEEE International Conference on Information and Automation (ICIA)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICINFA.2016.7832007\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 IEEE International Conference on Information and Automation (ICIA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICINFA.2016.7832007","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
摘要
本文提出了一种基于OpenCL(开放计算语言)的CPU-GPU耦合计算框架,用于大规模地形数据集的实时渲染。首先,将大规模地形数据集划分为大小相同的地形块;然后通过2级缓存机制将适当的地形块加载到OpenCL设备的主机内存和全局内存中,OpenCL在不受CPU干预的情况下并行构建LOD (Level of Detail)模型的四树结构,并使用OpenGL(Open Graphics Library)渲染多分辨率地形场景。OpenCL很容易在GPU上开发通用计算程序,并且在执行时间上大大提高了性能。在OpenCL和OpenGL之间共享数据可以节省大量内存,减少数据复制或移动。实验结果表明,该方法大大降低了CPU的工作负荷,平衡了CPU和GPU的工作负荷,提高了LOD模型的构建效率,实现了更高的帧率。
Real-time rendering of large-scale terrain based on OpenCL
In this paper, we propose a framework of CPU-GPU coupled computation based on OpenCL (Open Computing Language) for the real-time rendering of large-scale terrain datasets. Firstly, large-scale terrain datasets are divided into terrain chunks with the same size. Then appropriate terrain chunks are loaded into the host memory and the global memory of OpenCL device by 2-level caching mechanism and the quadtree hierarchy of LOD (Level of Detail) model is parallel constructed by OpenCL without intervention of the CPU and the multi-resolution terrain scene is rendered by OpenGL(Open Graphics Library). It is easy for OpenCL to develop program for general purpose computation in the GPU and greatly improve performance in term of execution time. Sharing data between OpenCL and OpenGL can save much memory and reduce data copy or movement. The experimental results have demonstrated that our method greatly reduces the CPU workload and balances the workload between CPU and GPU, and improves the efficiency of constructing of the LOD model and achieves higher frame rates.