Planar Mapping ?

Blitz3D Forums/Blitz3D Programming/Planar Mapping ?

jfk EO-11110(Posted 2007) [#1]
Is there any sourcecode about planar UV mapping for Blitz3D? Thanks.


DJWoodgate(Posted 2007) [#2]
Blitz 3d Samples\Birdie\UV mapping perhaps.


Tom(Posted 2007) [#3]
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.




jfk EO-11110(Posted 2007) [#4]
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