Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
[fixed] DDS texture
12-03-2019, 05:47 PM (This post was last modified: 12-05-2019 02:02 PM by gap.)
Post: #1
[fixed] DDS texture
Hi,

I suspect that W3D 2.2.4 has problems loading DDS textures with an alpha channel. Take the following model as an example:

https://p3dm.ru/files/avio/air_military_...stuka.html

On opening it on my rig, CPU/memory usage gradually rises to 100% at which point the system starts lagging badly. On removing the textures with an alpha channel, the same model loads just fine.
Reply
12-03-2019, 10:54 PM
Post: #2
RE: DDS texture
Update:
no, it is not the alpha channel nor the texture format. I have just imported in Wings another dds texture with opacity map stored in its alpha channel, and this time I couldn't notice any problem, but every time I try loading the textures from the model I linked above, Wings3D hangs my computer, I wonder why.
Reply
12-04-2019, 09:35 AM
Post: #3
RE: DDS texture
I think it can be a bug dgud fixed recently.
It has the same simptoms and it's related to non-square DDS images. Could it be that?

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply
12-04-2019, 10:35 AM
Post: #4
RE: DDS texture
(12-04-2019 09:35 AM)micheus Wrote:  I think it can be a bug dgud fixed recently.
It has the same simptoms and it's related to non-square DDS images. Could it be that?

Hi micheus,
thank you for your reply!

Answering your question: yes, it can.
The "suspect" textures are non-square actually. On the other hand I remember having used other non-square textures in the recent past with no apparent problems, so this is a little mistery to me.

In any case, if dgud's fix has already been released I would be grateful to you if you pointed me to its download link Smile
Reply
12-04-2019, 12:41 PM
Post: #5
RE: DDS texture
(12-04-2019 10:35 AM)gap Wrote:  Answering your question: yes, it can.
The "suspect" textures are non-square actually. On the other hand I remember having used other non-square textures in the recent past with no apparent problems, so this is a little mistery to me.
Maybe it includes mipmaps.

Quote:In any case, if dgud's fix has already been released I would be grateful to you if you pointed me to its download link Smile
It will be available in the next release - which I think it will be available soon.
In the mean time, in order to you can check if that fix your problem I'm going to make the file available in this link: e3d__dds.beam (you mus to be able to use the File->Install Plug-in or Path for update it. Otherwise, you can placed it in something like this C:\Program Files\wings3d_2.2.4\lib\wings-2.2.4\ebin)

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply
12-04-2019, 10:55 PM
Post: #6
RE: DDS texture
(12-04-2019 12:41 PM)micheus Wrote:  Maybe it includes mipmaps.

Yes, it does.

(12-04-2019 12:41 PM)micheus Wrote:  It will be available in the next release - which I think it will be available soon.
In the mean time, in order to you can check if that fix your problem I'm going to make the file available in this link: e3d__dds.beam (you mus to be able to use the File->Install Plug-in or Path for update it. Otherwise, you can placed it in something like this C:\Program Files\wings3d_2.2.4\lib\wings-2.2.4\ebin)

Thank you sir, the fix works like a charm. I can't wait for the upcoming W3D release!
Reply
12-05-2019, 01:23 AM
Post: #7
RE: DDS texture
Thanks for the feedback.

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply


Forum Jump:


User(s) browsing this thread: 1 Guest(s)