Howto:Dynamic Liveries via Canvas: Difference between revisions

Jump to navigation Jump to search
Line 5: Line 5:


== Example ==
== Example ==
{{Note|This assumes that you're using the ogel aircraft and that the face texture can be looked up using the name '''Head'''.}}
{{Note|This assumes that you're using the ogel aircraft and that the face texture can be looked up using the name '''Head'''.
The map shown here is just an example, this could obviously be anything, including raster/svg images, custom OpenVG/ShivaVG paths, osgText etc.
To implement a dirt texture, you'd want to use the corresponding texture ID and then overlay a static dirt texture using some kind of random scheme, e.g. by adding texture maps/sub regions to the exhaust area. See [[Canvas Image]] for details.  }}


<syntaxhighlight lang="nasal">
<syntaxhighlight lang="nasal">

Navigation menu