On čt 23. července 2009, Robert Bragg wrote: > > If there is functionality missing in Cogl, I would be more interested in > improving Cogl than finding ways to work around it via direct GL calls. > > Binding 1D and 3D textures is a valid feature request for Cogl, but so > far I haven't been able to work through what it would take to expose in > a nice and compatible way. If you could come up with a proposal or > better still patches :-) for Cogl I think that's the only way we will be > able to reliably support your use-case. >
I don't know Cogl internals much, but I can try to create something. At the first look I think that the best way to add this would be: - add 3rd dimension to CoglBitmap - add new methods to CoglBitmap and CoglTexture that takes 3 dimensions - the original methods would assume depth = 1 - the texture dimension (GL_TEXTURE_3D or GL_TEXTURE_2D) would be determined by the method used for creating the CoglTexture instance Vladimir -- To unsubscribe send a mail to [email protected]
