Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#439 closed task (duplicate)

Make Atlas terrain texture previews work with force_s3tc_enable

Reported by: Philip Taylor Owned by: Philip Taylor
Priority: Should Have Milestone:
Component: Atlas editor Keywords:
Cc: Patch:

Description

The game mostly works on Linux with compressed textures if you set DRI's force_s3tc_enable flag. But the terrain previews in Atlas don't work - they're just black squares. (They do work fine if the libtxc_dxtn library is installed, but it's a pain to expect users to install that.)

(See tools/atlas/GameInterface/Handlers/TerrainHandlers.cpp for the code that reads the textures and sends them to Atlas.)

So Atlas needs to do something different. Maybe the engine should just use its own software S3TC decoder - that would additionally save the cost of loading every terrain texture into a full GL texture, since we only actually need to decode a small chunk of a single mipmap level.

Change History (2)

comment:1 by Philip Taylor, 14 years ago

Resolution: duplicate
Status: newclosed

Duped by #474 (which has a broader scope).

comment:2 by (none), 14 years ago

Milestone: Unclassified

Milestone Unclassified deleted

Note: See TracTickets for help on using tickets.