Hello, I’m trying to write a texture from bitmap data. I understand that its possible to generate an image from a bitmap and ‘Upload’ it into a texture, but I would like to try a more direct route because the bitmap is imported from a byte array of a jpg and its pixelformat be uploaded, which is an expensive conversion.
So I thought I would take a look at writing a converter in vl for use in beta, but I was wondering but I’m finding it tricky so far.
I did previously (byte → Image but I had to convert the jpg byte to a bitmap convert the pixel format and from then convert to Image which is expensive.
The nicer way would be to convert from bitmap directly to a texture, as seen here. I started writing this a while ago but something else popped up today, so I’ll have to find the appropriate example file, but I tried to get this by importing FeralTic dlls. I either couldn’t understand a step or one of the nodes was missing.