Re: Bug with PFDMESH_RETESSELLATE ?

New Message Reply Date view Thread view Subject view Author view

Marcus Barnes (marcus++at++multigen.com)
Mon, 16 Sep 1996 14:17:55 -0700


On Sep 16, 12:24pm, Lionel Maiaux wrote:
> Subject: Bug with PFDMESH_RETESSELLATE ?
>
> I think I found a bug in the libpfdu mesher with the retessalate option on.
>
> I have 2 adjacent quads mapped with the same texture but with "mirrored"

[munch asci art showing mesh results that break texture mapping]

> In this case, texture coordinates are interpollated between vertices 2 and 3
> from (1,0) to (1,1), so 's' coordinate doesnt change !
>
> Should it be possible to choose systematically the correct way of
> retesselation

This is a known bug in the pfdTMesher.c that was reported a while ago. The
mesher doesn't consider texture coordinates when processing polygons. It can
reorder vertices to continue a strip, like you showed, but such a reordering
must first check the the resulting texCoords will retain the equivalent
mapping. It can also remove coincident vertices by hashing the position (only),
thereby loosing unique texCoords.

I expect (hope) it'll be fixed in the Performer 2.2 release (looking at 2.0.2 I
see it's still broken).

Regards.

--
   ____ ___  ____  _    Marcus Barnes, Member Technical Staff
  / __ `__ \/ __ `( )   MultiGen Inc. 550 S. Winchester Blvd. STE 500
 / / / / / / /_/ / /    San Jose CA 95128 WEB: http://www.multigen.com
/_/ /_/ /_/\__, /_/     PH:1-408-556-2654 FX:1-408-261-4102
          /____/        EMAIL: marcus++at++multigen.com
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:53:32 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.