If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Lonesome Ducky
Competition winner
Posts: 1123 Joined: Sun Jun 10, 2007 11:14 pm
Post
by Lonesome Ducky » Fri Aug 06, 2010 3:55 am
If the error doesn't cause any problems, I wouldn't worry too much about it.
hybrid
Admin
Posts: 14143 Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:
Post
by hybrid » Fri Aug 06, 2010 11:26 am
Well, .x files should usually close all their braces. So your file (if that's really the end of the file) is corrupt.
RaymondH
Posts: 8 Joined: Thu Aug 05, 2010 9:42 pm
Post
by RaymondH » Fri Aug 06, 2010 2:11 pm
Lonesome Ducky wrote: If the error doesn't cause any problems, I wouldn't worry too much about it.
Having one mesh rendered and already an error. It can only get worse if I ignore it.
Well, .x files should usually close all their braces. So your file (if that's really the end of the file) is corrupt.
Thats not the end of the file. This is just line 41 to 46.
hybrid
Admin
Posts: 14143 Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:
Post
by hybrid » Fri Aug 06, 2010 3:50 pm
Two things to try: Load the .x file with DirectX MeshViewer. This should show if the file is usable at all. Second upload the file for us to test. I guess I can find the reason why it tells you such things.
StaticAres
Posts: 19 Joined: Sun Nov 16, 2008 6:12 pm
Post
by StaticAres » Fri Aug 06, 2010 8:44 pm
http://www.sendspace.com/file/rdcx2d
Right now we are doing all our tests with a simple model made out of boxes and bones. The error was generated based on this model.
In meshviewer the model shows up, but also deformed.
B@z
Posts: 876 Joined: Thu Jan 31, 2008 5:05 pm
Location: Hungary
Post
by B@z » Fri Aug 06, 2010 9:31 pm
its the problem of the mesh file, not the irrlicht. just try and open it with dx mesh viewer.
my suggestion: in blender, select the object, apply/clear->apply scale and rotation (or something like that)
maybe u want to change the object center too.
hybrid
Admin
Posts: 14143 Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:
Post
by hybrid » Fri Aug 06, 2010 9:31 pm
If you mean Microsoft's DirectX Meshviewer, then we cannot help you at all. Broken .x files won't be loaded by Irrlicht.
B@z
Posts: 876 Joined: Thu Jan 31, 2008 5:05 pm
Location: Hungary
Post
by B@z » Fri Aug 06, 2010 9:43 pm
ultimate unwrap cant even load the file.
Microsoft's DirectX Meshviewer shows it, but the figures left leg is as tall as the whole object XD so kinda broken
StaticAres
Posts: 19 Joined: Sun Nov 16, 2008 6:12 pm
Post
by StaticAres » Sat Aug 07, 2010 2:44 pm
Yea, i can confirm that. I also tried to load it in Microsoft DirectX Meshviewer.
B@z, we still need to try your suggestion.
Thanks for all the feedback guys!
StaticAres
Posts: 19 Joined: Sun Nov 16, 2008 6:12 pm
Post
by StaticAres » Sat Aug 07, 2010 11:18 pm
We now know that this is a problem that is not related to the irrlicht engine. But we can't find a solution yet.
The
.x and the
.blend file of our latest model can be found here (
http://www.sendspace.com/file/4i9uqk ).
We think that the bones added to the model are causing the deformation.
hybrid
Admin
Posts: 14143 Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:
Post
by hybrid » Sun Aug 08, 2010 10:38 am
Yes, if the weights are denormalized, Irrlicht (and probably most other loaders) will try to renormalize the weights. This can cause arbitrary deformations of the mesh.
StaticAres
Posts: 19 Joined: Sun Nov 16, 2008 6:12 pm
Post
by StaticAres » Sun Aug 08, 2010 3:10 pm
Is there any way you can describe denormalized weights on the bones? All the weights on the bones are the same on the PlushGuy and they were parented using a default Bone Heat.
B@z
Posts: 876 Joined: Thu Jan 31, 2008 5:05 pm
Location: Hungary
Post
by B@z » Sun Aug 08, 2010 3:32 pm
at the weight paint panel, there is a script for normalizing weights IIRC
StaticAres
Posts: 19 Joined: Sun Nov 16, 2008 6:12 pm
Post
by StaticAres » Sun Aug 08, 2010 4:27 pm
We tried, no succes.
Could you give it a try B@z?
Then we can compare the .blend files and learn from that.
Ravi08
Posts: 249 Joined: Thu Jul 17, 2008 12:25 pm
Post
by Ravi08 » Sun Aug 08, 2010 5:56 pm
ive export an x file and it works for me, send me ur email and il send it to ya.
ivve tried it with the engine and everythings ok except in the console it says:
No finishing semicolon in Mesh Vertex Colors Array found in x file
Line: 52
No closing brace in Mesh Texture Coordinates Array found in x file
Line: 52
"Hey Baby Wobbling Wobbling"
-Russell Peters