Interesting things happend here...
I think the new year brings a lot of good news for glscene engine...
As for me ...I try to save an image from TGlMaterialLibrary... to a memory stream... but i cant do it...
so i try this... [code]
strm: TMemoryStream;.......
strm:= TMemoryStream.Create; Matlib.Materials.GetLibMaterialByName('genesis').Material.Texture.Image.AsBitmap.SaveToStream(strm)... [code]
Not working ...
Any example ... or point how to figure that...
Interesting things happend here...
I think the new year brings a lot of good news for glscene engine...
As for me ...I try to save an image from TGlMaterialLibrary... to a memory stream... but i cant do it...
so i try this...
[code]
strm: TMemoryStream;.......
strm:= TMemoryStream.Create; Matlib.Materials.GetLibMaterialByName('genesis').Material.Texture.Image.AsBitmap.SaveToStream(strm)...
[code]
Not working ...
Any example ... or point how to figure that...
Thank you...
Related
Code: code
Hi
It's normal stream is not implemented for all texture image type in glscene.
But what your idea for making this ?