Planar Mapping ?
Blitz3D Forums/Blitz3D Programming/Planar Mapping ?
| ||
Is there any sourcecode about planar UV mapping for Blitz3D? Thanks. |
| ||
Blitz 3d Samples\Birdie\UV mapping perhaps. |
| ||
Use a pivot as your world space object (the pivots X+ and Y+ axis' then represent U and V), then just transform each vert into world space, and use the tformedx() and tformedy() as U & V for that vert. Use cursors & mouse to move/rotate the pivot/cone, SPACE sets the UVs based on the the cones position & rotation. |
| ||
Thanks for your help! I had an idea for something like Radiosity, so I needed planar mapping as it is used by a lightmapper. That said, it seems I am too stupid to extract the planar mapping and packing parts from the YAL open source :o) Currently I am trying to implement a method described at flipcode, that I realize I missed to save a bookmark for - <:o) ^2 Edit: this one: http://www.flipcode.org/cgi-bin/fcarticles.cgi?show=64423 |