Tim, I just double-checked your R2T code and it renders to a seperate surface which it then displays.
What I am trying to do here is change the image's texture which is why I need the blt... unless I have missed something.
<edit> In fact, I think we're doing the same thing. My render surface displays correctly and can be drawn. However, I need to then blt the contents of that surface to the image surface.
Does anybody know if this is right...
?
What I am trying to do here is change the image's texture which is why I need the blt... unless I have missed something.
<edit> In fact, I think we're doing the same thing. My render surface displays correctly and can be drawn. However, I need to then blt the contents of that surface to the image surface.
Does anybody know if this is right...
Local src[]=[0,0,ImageWidth(image),ImageHeight(image)] Local dest[]=[0,0,ImageWidth(image),ImageHeight(image)] dest[2]:+dest[0] dest[3]:+dest[1] ' Do the blit from the dummy rendertarget to the image surface. TD3D7ImageFrame(image.frame(frame)).surface.Blt dest,mysurf,src,0,Null
?