PDA

View Full Version : Pyramid Texture Coords



GoatNat
04-23-2001, 07:17 AM
Real quick one, for a pyramid object generating the texture coordinates. the base is easy but for the sides of the pyramid what would be the best approach? im assumming the bottoms of the sides would be (1,0) and (1,1) respectively but the top peice (being halfway in between the 2) would that be (0.5, 0.5)? or is there a way i can specify 2 "imaginary" points to snap the texture to?

Thanks
Nat

mango
04-24-2001, 03:14 PM
It depends on what you want. One solution could be:

lower left corner - (0,0)
lower right corner - (1,0)
top corner - (0.5, 1.0)