CopySurface(src, dest, left, right, top bottom)

Blitz3D Forums/Blitz3D Programming/CopySurface(src, dest, left, right, top bottom)

jfk EO-11110(Posted 2007) [#1]
Can somebody tell me what this undocumented command is for?

CopySurface(src, dest, left, right, top bottom)

(or alike parameters). Seems it's not a mesh surface is it?


DJWoodgate(Posted 2007) [#2]
Does not seem to be highlighted here. Are you sure it is not a user library function?


Mikele(Posted 2007) [#3]
It is from Tom's dx7 library but I don't have any idea how CopySurface works.


markcw(Posted 2007) [#4]
CopySurface is for rendering to a texture.

I had a search and this is the relevant thread.

render2texture & DDS CopySurface:
http://www.blitzbasic.com/Community/posts.php?topic=62050

Also, another of Tom's dx7 extensions.

Bump Mapping demo & source:
http://www.blitzbasic.com/Community/posts.php?topic=62128


jfk EO-11110(Posted 2007) [#5]
Ok, I see, thanks!


puki(Posted 2007) [#6]
I forgot all about this thing.

Someone knock something up and post it - I'm far too busy playing Company of Heroes.