Splatting doesn't work with DDS?

daedar

26-02-2007 14:12:51

Hi,

I've tried to use DDS textures with the plugin but I got this error (runs well with JPGs):


-----------------------------------
Details:
-----------------------------------
Error #: 7
Function: PagingLandScapeOptions::_getAvgColor
Description: You need to define SplatFilename that has at least 3 or 4 bytes componennts (RGB or RGBA).
File: ..\src\OgrePagingLandScapeOptions.cpp
Line: 1582
Stack unwinding: <<beginning of stack>>


I'm using Splatting2 as TextureFormat, and my DDS are Dxt1. Here is the interesting part of the CFG file:


TextureFormat=Splatting2

SplatFilename0=Height0.dds (fine with JPG's)
SplatFilename1=Height1.dds
SplatFilename2=Height2.dds
SplatFilename3=Height3.dds


It would be really fine if we could use DDS textures instead of JPG's one with PLSM2.

Thanks a lot

tuan kuranes

28-02-2007 14:20:35

Strange, can you send me a sample DXT1 file you're using.

Anyway using Splatting2, getavgcolor should only be needed if painting is activated. (send me the cfg file for test too.)

daedar

28-02-2007 17:26:04

You can download the dds texture and the .cfg file here:

http://adoc.g0dsoft.com/maps.zip

I'm using Eihort...

*** French mode on***
Merci Tuan pour ton aide, si tu veux jeter un coup d'oeuil à notre projet c'est ici:
http://adoc.g0dsoft.com
C'est un projet qui a un peu plus de 4 mois d'existance, et on va lacher une alpha version ds 1 mois (tout est pret, réseau, physique, menus, ...). Si tu as quelques conseils/suggestions sur le .cfg, parceque les valeurs ont un peu été prises au hasard :?
*** French mode off***

Thanks a lot !

daedar

09-03-2007 16:05:10

Tuans, have you tried this?

Thx