User Tools

Site Tools


ig.creator:assets:materials:mappings

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ig.creator:assets:materials:mappings [2014/10/05 11:38] – created eb_igig.creator:assets:materials:mappings [2024/04/04 08:04] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Assets/Materials/Mappings ======
  
 +Here, a Mapping describes how a Texture should be applied to a Geometry, i.e. the UV coordinates of that geometry.
 +
 +Our Mapping model corresponds to the [[http://doc.x3dom.org/author/Texturing/TextureTransform.html|X3D/X3DOM Texture Mapping]] but without the //center// attribute. Also there is no //metadata// attribute.
 +
 +A Mapping can be applied to both Materials and Geometry instantiation. If it's applied to both, the Geometry mapping has higher priority than the Material mapping. Hereby the mappings are merged on attribute level, i.e. the Material mapping may define the scaling while the Geometry mapping adds some offset or rotation.