Thanks for the reply. Maybe there is a way to change UVW coordinates
of the mesh on coding level, so I'll remap faces to use bigger part of
the associated texture?

On 23 мар, 02:59, Dave <[email protected]> wrote:
> Textures are associated with Materials.  You'll need to apply a
> different Material to different subsections of the mesh.
>
> The way to do this is to...
> a) build separate SubGeometry pieces for the portions of the terrain
> that you want to have a different Texture
> b) add those SubGeometry pieces with Mesh.geometry.addSubGeometry()
> c) retrieve the list of SubMeshes back from Mesh, and find out which
> SubMesh refers to the SubGeometry you added.
> d) apply the BitmapMaterial to the SubMesh you discovered.
>
> SubMeshes are the 'lowest' entity in the Away3D that you can associate
> a material with.  The API's around this functionality are very
> incomplete, I've found (it's alpha software).
>
> Terrain itself is a huge discipline in CG, and I would study some
> papers before building too much on your own.
>
> -Dave

Reply via email to