CopyMesh/CopyEntity and Textures

Blitz3D Forums/Blitz3D Programming/CopyMesh/CopyEntity and Textures

xmlspy(Posted 2007) [#1]
Scenario: I load a mesh from file which has a texture(s)

Do the copymesh and copyentity functions make a new texture for the newly created mesh? or does it use the same texture on all of them?


Naughty Alien(Posted 2007) [#2]
regarding check over Availvidmem its same texture, but increased number of surfaces


D4NM4N(Posted 2007) [#3]
Im not sure but,
Once a texture is in ram isnt it reused? Ie if i loadmesh 2 separate meshes that reference the same texturename() dont they share the same one?

if not, why not :P


Ross C(Posted 2007) [#4]
I'm sure they do Dan. Same if you copyentity. No new VRAM is used either. It's always been a kind of vague area :o)

If they are copied entities, they all share the same texture, and any modifications you make to that texture, show on all copies.