Forum Discussion
geekmaster
12 years agoProtege
Learning Modern 3D Graphics Programming
Free online book: Learning Modern 3D Graphics Programming http://www.arcsynthesis.org/gltut/ This book is intended to teach you how to be a graphics programmer. It is not aimed at any particular gr...
ganzuul
12 years agoHonored Guest
Bookmarked! :D
I have been playing with this today;
http://mikolalysenko.github.io/Isosurface/
It has a terrain generator in miniature. When you edit testdata.js to make the terrain bigger you slam face-first into how slow JavaScript is for this kind of work. - It's actually a lot slower than I expected, but all the work can be moved to the GPU for a massive speed-up.
Another interesting thing I got confirmed today; GPU's deal natively with float vec4 and whenever you transfer data from the GPU RAM it pads that last float in the array with 1s if it's unused. Since data transfer is the biggest bottleneck in GPU computation and most of your vectors (XYZW) and textures (RGBA) leave 25% of the memory bandwidth unused, there is a lot of potential to tap here. E.g you could include a bumpmap in the texture alpha channel, or make your vertices exist in space-time instead of only space!
I have been playing with this today;
http://mikolalysenko.github.io/Isosurface/
It has a terrain generator in miniature. When you edit testdata.js to make the terrain bigger you slam face-first into how slow JavaScript is for this kind of work. - It's actually a lot slower than I expected, but all the work can be moved to the GPU for a massive speed-up.
Another interesting thing I got confirmed today; GPU's deal natively with float vec4 and whenever you transfer data from the GPU RAM it pads that last float in the array with 1s if it's unused. Since data transfer is the biggest bottleneck in GPU computation and most of your vectors (XYZW) and textures (RGBA) leave 25% of the memory bandwidth unused, there is a lot of potential to tap here. E.g you could include a bumpmap in the texture alpha channel, or make your vertices exist in space-time instead of only space!
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 6 months ago
- 3 months ago
- 2 years agoAnonymous