#74 tilesort (state): mip-map MAX_LEVEL not propagated

closed-fixed
5
2006-04-28
2005-04-13
Chris Greenhalgh
No

tilesort relies on state tracker to propagate changes to
texture parameters. State tracker does not propagate
(diff) changes in BASE_LEVEL or MAX_LEVEL.
Symptom: causes textures to fail to appear in a LOD
mode is chosen but not all LODs are provided and
MAX_LEVEL is set low to signal this. E.g. Java3D with
X3D loader for any texture by default.

I think there is also a bug in checking dirty for this
aswell.

A version of state_tracker/state_texdiff.c which fixes this
(for me) is attached. However it also has some
additional changes to reduce unnecessary calls to
ActiveTextureARB which are probably not required for
correctness.

Discussion

  • fixes

     
    Attachments
    • labels: 344243 --> Tilesort SPU
     
  • Brian Paul
    Brian Paul
    2006-04-28

    • status: open --> closed-fixed
     
  • Brian Paul
    Brian Paul
    2006-04-28

    Logged In: YES
    user_id=983

    I'm checking in the Base/MaxLevel fix but leaving the rest
    alone. The file's changed quite a big in the past year and
    I don't want to risk breaking anything.

    Please feel free to open a new report with the
    ActiveTextureARB optimization, relative to current code.

    Thanks.