Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Bug #824: Tiling in TVMesh.AddWall3D() is Broken
Product:
TV3D SDK 6.5
Language:
C#
Current State:
New
Resolution:
Unconfirmed
Created On:
July 27th, 2008
Last Modified:
July 27th, 2008
Reported By:
brimstone
Horizontal tiling of textures always fails with the TVMesh.ADDWall3D() method. Vertical tiling does seem to work but is dependent upon wheter or not the optional horiztonal tiling is included. It may be a problem with the optional parameters for the last 2-3 parameters in TVMesh.AddWall3d().

mesh = RenderCore.Scene.CreateMeshBuilder();

mesh.AddWall3D(textureIndex, startPoint.x, startPoint.z, endPoint.x, endPoint.z, height, width,
false, true, 0, 1, 15);
mesh.ComputeNormals();
mesh.SetMaterial(materialIndex);
mesh.SetTextureEx((int)CONST_TV_TEXTURETYPE.TV_TEXTURE_NORMALMAP, normalMap);
//mesh.SetTexture(textureIndex);
mesh.SetLightingMode(CONST_TV_LIGHTINGMODE.TV_LIGHTING_BUMPMAPPING_TANGENTSPACE);
mesh.Enable(visible);

Comments:

No comments available.