asafbibas / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

DDS reading issues #375

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try to open one of the sky DDS images in jMonkeyEngine test data
2. An exception will be displayed (see below)

The offending image and the rest of the stack trace can be provided on request.

java.lang.RuntimeException: Illegal side, side not present: 0
at JOGL.DDSImage.getMipMap(Unknown Source)
at JOGL.DDSImage.getMipMap(Unknown Source)
at Model.DDSImageFile.<init>(Unknown Source)
at Model.DDSImageFile.<init>(Unknown Source)
at 
com.jme3.gde.core.properties.TextureBrowser.valueChanged(TextureBrowser.java:303
)
at javax.swing.JTree.fireValueChanged(JTree.java:2917)
at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3376)
at 
javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelection
Model.java:634)
at 
javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelection
Model.java:1092)
at 
javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectio
nModel.java:293)
at 
javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelection
Model.java:187)
at javax.swing.JTree.setSelectionPath(JTree.java:1631)

Original issue reported on code.google.com by ShadowIs...@gmail.com on 1 Aug 2011 at 3:55

GoogleCodeExporter commented 8 years ago
This issue is in the DDS library we use to decode the images and hence out of 
scope for us..

Original comment by normen667 on 1 Aug 2011 at 4:49

GoogleCodeExporter commented 8 years ago
There is no such thing as "out of scope" when it comes to usability issues. The 
LWJGL canvas issue is LWJGL's problem and yet I am putting effort to getting a 
workaround for it. I am reopening this issue and I expect a fix. Consider 
loading the image using jME3's DDS loader and then converting it to a buffered 
image.

Original comment by ShadowIs...@gmail.com on 1 Aug 2011 at 5:20

GoogleCodeExporter commented 8 years ago
We don't have the code.. Its not like we have to change anything in our code 
when the DDS loader library gets fixed (as opposed to the jme3 canvas code 
which in itself contains workarounds for the problems of the lwjgl library)..

Original comment by normen667 on 1 Aug 2011 at 5:37