PDA

View Full Version : Arrays of images



pelotoescogorciao
01-26-2011, 06:58 PM
Pls, support arrays of images and let us to use image handlers in structs.
Thanks.

pelotoescogorciao
01-27-2011, 12:36 PM
Imagine a programmer wants to write a renderer with multiple materials. Each material could have a reference to a texture. Without arrays of images or without having the chance to use an image handler in a struct... how is he supposed to implement that?

Imagine somebody want to write a 3d engine in OpenCL using their own rasterizer. Imagine each light has a reference to an image used as a bitmap projector....

It's a big problem ! You must allow us to use image handlers in structs or image arrays. Without that, none of the cases I described can be implemented in an easy way.

yoavhacohen
01-31-2011, 01:26 AM
+1