b3dUVMapCylindrical

Applies cylindrical UV mapping by wrapping texture around Y axis with seam fixing. Takes mesh (surface-based mesh entity). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

mesh Int

Returns

Void

Quick Summary

Applies cylindrical UV mapping by wrapping texture around Y axis with seam fixing. Takes mesh (surface-based mesh entity). Returns nothing.

Technical Exegesis...

Applies cylindrical UV mapping by wrapping texture around Y axis with seam fixing. Takes mesh (surface-based mesh entity). Returns nothing. Validates mesh exists, type is ENTITY_MESH, surface-based, and locked. Calculates Y bounding box (minY, maxY) for height. Computes height (maxY - minY). First pass: for each vertex, calculates angle around Y axis (atan2(Z, X)), normalizes to U = (angle/PI + 1) * 0.5 (maps -PI..PI to 0..1), sets V = 1 - (Y-minY)/height.

Example

Example.bam
; No example implemented yet