Angus Dorbie (dorbie++at++bitch.reading.sgi.com)
Wed, 23 Aug 1995 13:11:18 -0600
I'm not sure I follow you, this polygon is in 3D so you should make it the
size of your building and in the correct place. The coordinate system you use
is arbitrary so pick a scale, an arbitrary rendering unit of 1m is fairly
typical but you could use banannas per furlong and it would still work.
If youre inserting the polygon into an existing database you could read the
position information displayed in the perfly GUI to get an idea of
where and how big your building should be.
To ensure decent quality with varying polygon sizes use a BILINEAR texture
magnigication filter and a MIPMAP_TRILINEAR texture minification filter. This
will make the texture VS polygon size less of an issue for you.
If youre making the building an arbitrarily long way away and want it to have
an appropriate size then use ratios. If you know the angle you want it to
subtend then tan (theta/2) = (half poly size) / distance, where theta is
the angle you require and the polygon is oriented towards where you expect
the eye to be.
I hope the answer you want is here somewhere.
-- Angus Dorbie, Silicon Graphics Ltd, UK dorbie++at++reading.sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:49 PDT