Posted 14 February 2013 - 11:21 PM
I am in the process of my Game Engine, I want implement a system of streaming to create big maps or terrain so i need a system of stream to avoid overloading of memory,cpu.
For example: my terrain will be the size of 100x100km or more. and more the entities,objects,etc will need very powerfull machine to run.
I need a streaming system to avoid this. and see the more used, easy to learn is OpenCL and OpenMP(Another think is, i using OpenCL to my physics system with Bullet Engine).
So what recommend me OpenCL or OpenMP and can tell me about tips,reviews,experience,problems,Who is more difficult?. using this streaming languages ,Another think that round my head is about OpenCL is can work with CPU?. so can use that too so for example: a person don´t have a very good GPU so can use the CPU.
Also don´t there a OpenCL SDK or IDE official of Khronos Group only the company Intel,IBM,Nvidia,AMD have a SDK(Here can see more http://en.wikipedia....ormant_products) then exits a tools or something to programming with OpenCL and my same code can use the AMD,Nvidia Cards and CPU, if don´t exits can programming in the Nvidia SDK(Because i have Card Nvidia) and later my code can use the AMD card or need modify in SDK of AMD, later pass to have SDK of IBM to use in CPU, But using this process i complicating things and for game engine is no usefull.
Soo with OpenMP don´t have this type of problem if can´t use OpenCL.
Thanks for looking more to help me, Sorry if i wrong writing, I still learning English and don´t write very well.
Posted 15 February 2013 - 03:46 PM
What you really need is an algorithm to efficiently stream large texture data. One of the most popular techniques is to create mipmaps of your textures. Using some sort of mipmap LOD calculation, you will sample terrain data from the highest quality (slowest) to the lowest quality (fastest) textures. In some implementations, such as Bing Maps, they work from the bottom up. It will show you the lowest mipmap level first and then work its way up to the higher quality textures over time. This method of streaming allows for quick traversal of areas without bogging down the system by constantly loading the high quality data first.
Here are some links.
1. GPU Gems Geo Clipmaps (how to efficiently render terrain)
2. Deep Zoom (a system for mipmapping large textures)
Posted 16 February 2013 - 03:19 AM
And what question, i think for my system of physics i using Bullet Engine, I see Bullet engine can combine with OpenCL, You think well be good to use with OpenCL?
And sorry for bothering but you know where can find more books about render terrain and streaming and if can posible books about create a terrain landscape generator 3D
Thx again for the help.
Posted 16 February 2013 - 06:46 PM
I don't have any books I can recommend you. I mostly read white papers and online journals, academic type stuff. Maybe someone around here can recommend you something, or try Amazon.
Posted 17 February 2013 - 01:44 AM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users