Welcome, Guest. Please login or register.
Did you miss your activation email?
September 08, 2010, 02:50:48 am
advanced search




Pages: [1]
  Print  
Author Topic: OgreXml+DDS Loading error  (Read 87 times)
Empire Phoenix
Project Advocate
Sr. Member
*
Offline Offline

Posts: 771


View Profile
« on: July 31, 2010, 02:37:33 am »

Well lately (actually since some days weeks) I get:

Code:
WARNING: Cannot locate resource: respawner.mesh.xml0.dds/MIP
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at online.newhorizons.shared.util.Timedmethodinvocation.Update(TimedInvocation.java:73)
at online.newhorizons.shared.util.TimedInvocation.Update(TimedInvocation.java:17)
at online.newhorizons.client.ClientApplication.update(ClientApplication.java:344)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:112)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:162)
at java.lang.Thread.run(Unknown Source)

I wonder why, cause the used texture is named respawner.mesh.xml0.dds
Logged
Momoko_Fan
Moderator
Hero Member
*
Offline Offline

Posts: 2722



View Profile
« Reply #1 on: July 31, 2010, 07:01:35 am »

Is it located in the root directory? Because it is trying to load from an absolute path, I assume the texture name is stored inside a .material file, right?
Logged
Empire Phoenix
Project Advocate
Sr. Member
*
Offline Offline

Posts: 771


View Profile
« Reply #2 on: July 31, 2010, 09:19:24 am »

Actually it is in a J3m, and it exist there, just not the /MOi stuff.

Btw, it seems that several Jme-Demos suffer from a texture laoding problema s well, for example the TestEverything in effects seems to have that problem.
Logged
Momoko_Fan
Moderator
Hero Member
*
Offline Offline

Posts: 2722



View Profile
« Reply #3 on: July 31, 2010, 11:11:24 am »

The /MIP just indicates that mipmaps will be generated for it, it doesn't really mean anything.
The J3M files expect absolute paths, so you gotta add the full path behind it, like models/respawner/respawner.mesh.xml0.dds, instead of just respawner.mesh.xml0.dds
Logged
Tags:
Pages: [1]
  Print  
 
Jump to: