multitexture

Blitz3D Forums/Blitz3D Programming/multitexture

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

what i said was to answer :

i know that multitextured meshes have a surface for each texture


And sorry but that is totally wrong.

And If you want to texture tris with different textures, it 's not what we call "Multitexturing" .
=> here you need to have one surface for each material you want to use.
add a brush to the surface, and use PaintSurface to apply the brush to the surface. (like said jfk )

But something strange in what jfk says :

An easier solution is to load the mesh with LoadAnimMesh, this will make a child for every surface / object in the scene


In any way, i have never seen we can get surface using FindChild ...
you're maybe right, but when I export a b3d Scene, and i load it, every surfaces of the scenes are contained in each mesh i have exported. using for the Meshes, but i have to use GetSurface ( Child , Index of the surface ) to get the surface.

Maybe i misunderstood ... Let me know .