# 3D Huge mesh rendering

I am writing a program, that as input, I have a huge (10^6 elements) 3d mesh (with hexagonal shaped elements), and I want to realtime render it, but not as real-time as a game. It just can show the scene and rotate, zoom and pan. The most important point is, I don't need any special lighting nor any shadows. Also, the objects to render are static, and they do not move. My object hasn't any textures.

I've read about ray tracing methods, but I don't know if there is any good libraries for this purpose, or I have to implement everything by myself.

Thanks a lot.

• Need a lot of parameters clarified before any meaningful answer can be arrived at. What is "huge?" By "mostly structured" do you mean it's triangulated, and by "cubic" do you mean cubic surfaces or just a bunch of rectangles? Pick a speed this has to run at, "not a game" doesn't help much but "interactive" or "strictly canned playback" would. What screen resolution do you need, 2048 or HD, NTSC etc? Is this textured, you don't have lights so color must come from somewhere. Finally, do you need realistic rendering or just something that looks like the model? – Patrick Hughes Apr 7 '12 at 20:36
• Does 'cubic shaped elements' mean that your mesh is actually made up of voxels? Are you trying to render something like a minecraft voxel world? – Samaursa Apr 8 '12 at 1:45
• @PatrickHughes: thanks for answer, I updated the question. – Keyhan Asghari Apr 8 '12 at 5:58
• @Samaursa: No, they are not in size of a voxel. I think each of them should be divided into voxels – Keyhan Asghari Apr 8 '12 at 5:59
• 10^6*10^6*10^6 elements = 1,000,000,000,000,000,000 elements. Is this the number of vertices? Definitely going to need an expected render time on that... – doppelgreener Apr 8 '12 at 9:57

• Is there any libs or anything else like POVray written in java? – Keyhan Asghari Apr 8 '12 at 11:12