From: tansel halic (tanselhalic++at++yahoo.com)
Date: 07/11/2005 09:46:01
Hi;
i got confused when i print the following geoset
structure with pfprint.. the structure should have
normals per vertex(it says so
PFGS_NORMAL3=PFGS_PER_VERTEX) but normals are per
gl_prims.does anybody have an idea?.
Primitive: PFGS_FLAT_TRISTRIPS, NON-INDEXED,
pfPrims=3, glPrims=9, verts=15
Attribute Bindings:
PFGS_COLOR4=PFGS_OVERALL
PFGS_NORMAL3=PFGS_PER_VERTEX PFGS_TEXCOORD2=PFGS_OFF
Packed=0
Attribute List Pointers:
PFGS_COORD3: 0x6429af10
PFGS_COLOR4: 0x6429aee0
PFGS_NORMAL3: 0x6429ae50
PFGS_TEXCOORD2: 0x0
PackedAttrs: 0x0
Attribute Index List Pointers:
PFGS_COLOR4: 0x0
PFGS_NORMAL3: 0x0
PFGS_TEXCOORD2: 0x0
PFGS_COORD3: 0x0
Strip Lengths: 4 5 6
Overall Color 0: R: 0.000000 G:
0.000000 B: 0.000000 A: 1.000000
Coord 0: X: 1.219200 Y: -1.024128
Z: 0.661416
Coord 1: X: 1.078992 Y: -0.999744
Z: 0.545592
Coord 2: X: 1.115568 Y: -0.740664
Z: 0.469392
Normal 0: NX: 0.574588 NY: -0.304551
NZ: -0.759669
Coord 3: X: 1.060704 Y: -0.740664
Z: 0.292608
Normal 1: NX: 0.932363 NY: -0.216732
NZ: -0.289354
Coord 4: X: 1.597152 Y: -0.935736
Z: 0.542544
Coord 5: X: 1.450848 Y: -0.740664
Z: 0.582168
Coord 6: X: 1.685544 Y: -0.978408
Z: 0.350520
Normal 2: NX: -0.798780 NY: -0.549187
NZ: -0.245651
Coord 7: X: 1.603248 Y: -0.740664
Z: 0.475488
Normal 3: NX: -0.558611 NY: 0.226105
NZ: -0.798016
Coord 8: X: 1.664208 Y: -0.740664
Z: 0.298704
Normal 4: NX: -0.934091 NY: -0.154030
NZ: -0.322101
Coord 9: X: 1.115568 Y: -0.740664
Z: 0.469392
Coord 10: X: 1.264920 Y: -0.740664
Z: 0.582168
Coord 11: X: 1.219200 Y: -1.024128
Z: 0.661416
Normal 5: NX: 0.573883 NY: -0.305037
NZ: -0.760007
Coord 12: X: 1.450848 Y: -0.740664
Z: 0.582168
Normal 6: NX: 0.000000 NY: -0.269246
NZ: -0.963072
Coord 13: X: 1.426464 Y: -1.024128
Z: 0.661416
Normal 7: NX: -0.000000 NY: -0.269246
NZ: -0.963071
Coord 14: X: 1.597152 Y: -0.935736
Z: 0.542544
Normal 8: NX: -0.490388 NY: -0.195268
NZ: -0.849347
tansel
U.A.M.S.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
This archive was generated by hypermail 2b29 : Mon Jul 11 2005 - 09:46:08 PDT