Friendlyskies AoI Forum

You are not logged in.

Announcement

#1 January 4, 2010, 1:46 pm

mayid
42
From: Argentina
Registered: March 29, 2009,
Posts: 1004
Reputation :   
Website

Can't open PM files anymore

I was working on a character, and having certain kind of error. So i decided to close AOI and restart again. But suddenly i can't open files with PM meshes anymore. This alert shows with a red alert:

[img]http://aoi-castellano.com.ar/img_al_foro/errores/error_pm.jpg[img]

And the red alert is:

java.lang.ArrayIndexOutOfBoundsException: -1
    at java.util.Vector.elementAt(Unknown Source)
    at artofillusion.Scene.getTexture(Scene.java:949)
    at artofillusion.texture.LayeredMapping.readFromFile(LayeredMapping.java:336)
    at artofillusion.object.Object3D.<init>(Object3D.java:491)
    at artofillusion.polymesh.PolyMesh.<init>(PolyMesh.java:5549)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)

   

Reported 7 time(s).

Here's the file i was working on.
http://aoi-castellano.com.ar/img_al_for … _movil.aoi

I already tried to download PM from repository, but first i should manually erase the copy a have. The SP manager is not able to erase any plugin because it always says it's in being used.

The error i was having with my scene was related to the position of the objects. That's not a new issue for me, but this time was getting me annoying. When trying to change the texture, or the mesh, or the skeleton track, the character just moved out of the place it was, so i had to place it again in it's place...

Don't know why. But something like that used to happened me on the dragon scene i modeled last month. Sometimes when opening a file, things where out of the place i'd assigned them... Maybe because of the skeleton track... i don't really know.

Last edited by mayid (January 4, 2010, 4:44 pm)


Comunidad en español:
www.aoi-castellano.com.ar/ForoBB/index.php
Comunidad de aprendizaje.

Offline

 

#2 January 4, 2010, 4:39 pm

mayid
42
From: Argentina
Registered: March 29, 2009,
Posts: 1004
Reputation :   
Website

Re: Can't open PM files anymore

Solved by moving the PM plugin to another folder and reinstalling it from SP.


Edited: no, no, it's not solved. It worked for an scene but not for the one i posted here. This is weird because i don't thinks i altered the character in any sense so to make it stop loading...

AS you can see, the little guy is gone:
http://img13.imageshack.us/img13/3268/errorif.png

But at least i recovered the others PM meshes.

Last edited by mayid (January 4, 2010, 5:01 pm)


Comunidad en español:
www.aoi-castellano.com.ar/ForoBB/index.php
Comunidad de aprendizaje.

Offline

 

#3 January 5, 2010, 9:33 am

mayid
42
From: Argentina
Registered: March 29, 2009,
Posts: 1004
Reputation :   
Website

Re: Can't open PM files anymore

Today a complete erased my 2.7.2 and 2.8.1 aoi versions, and then reinstalled 2.8.1. But the problem persists.

It's weird, because i think the mesh is quite good, so i can comprehend why i cannot load it. Even more: the original file with the african guy cannot be opened neither. So, it's not a problem with a single file, but with the one that contains the same character also.

sad


Comunidad en español:
www.aoi-castellano.com.ar/ForoBB/index.php
Comunidad de aprendizaje.

Offline

 

#4 January 5, 2010, 12:40 pm

Vidiot
2000 posts? Insane.
From: Hamburg
Registered: November 3, 2004,
Posts: 2019
Reputation :   

Re: Can't open PM files anymore

Sounds like the mesh is weired somehow.
Maybe - if you post the scene (you did at SF already?) Peter, or in this case Francois can take a look at it and maybe help to solve the problem.


Don´t start chasing rainbows - get caught by them.
Deutsches Portal für Art of Illusion

Offline

 

#5 January 5, 2010, 12:54 pm

mayid
42
From: Argentina
Registered: March 29, 2009,
Posts: 1004
Reputation :   
Website

Re: Can't open PM files anymore

Maybe - if you post the scene (you did at SF already?) Peter, or in this case Francois can take a look at it and maybe help to solve the problem.

Yes, i posted the scene both in here and in SF. But i repeat: the same character is present in different files, and it was working good, till suddenly i just cannot open any of the files whit the character.


Can someone please check if any of this files can be opened without problems?

http://aoi-castellano.com.ar/img_al_for … _movil.aoi

http://aoi-castellano.com.ar/img_al_for … ricano.aoi

Last edited by mayid (January 5, 2010, 1:07 pm)


Comunidad en español:
www.aoi-castellano.com.ar/ForoBB/index.php
Comunidad de aprendizaje.

Offline

 

#6 January 5, 2010, 3:23 pm

Siri
Forum Android
Registered: December 19, 2008,
Posts: 173
Reputation :   

Re: Can't open PM files anymore

Hi Mayid,

.... I got an error message for both files and the polymesh is >unreadable<. To bad!
I wish I had better news.

Kind regards

Siri


I'm a featherless friend of Blue cool

Offline

 

#7 January 5, 2010, 3:40 pm

mayid
42
From: Argentina
Registered: March 29, 2009,
Posts: 1004
Reputation :   
Website

Re: Can't open PM files anymore

Well... they are good news in a sense. Now i know that the problem are the files. Maybe the ones i was editing before the mess. But the core and the plugins are certainly not the problem, so ¡'ll  just remake the character.


btw: this was the only picture i could take for the scene. Some things were really wrong with the edition: i added a second white cube to the scene but it never showed itself white on renders... and as i says before, the character used to move out of it's place when trying to change the texture, or some other value... Pretty weird.

http://aoi-castellano.com.ar/img_al_foro/africa/encuentro.jpg

Last edited by mayid (January 5, 2010, 3:42 pm)


Comunidad en español:
www.aoi-castellano.com.ar/ForoBB/index.php
Comunidad de aprendizaje.

Offline

 

#8 January 5, 2010, 4:26 pm

fpgui
Moderator
From: France
Registered: November 2, 2004,
Posts: 958
Reputation :   
Website

Re: Can't open PM files anymore

The problem is definitely in the character. For all I tried, I can't do much as the object is corrupted apparently at texture level : did you set a layered texture ? But error in texturing can result from a corruption earlier in the file. Sorry.


Francois

Offline

 

#9 January 5, 2010, 4:37 pm

mayid
42
From: Argentina
Registered: March 29, 2009,
Posts: 1004
Reputation :   
Website

Re: Can't open PM files anymore

Yes, i set a layered texture for separating the body and the hair.

I'll model the character again, no problem. But the corruptions may happens again due to problems the red alerts shows. So i'd like to find out what is causing so much errors in my aoi installations.


Comunidad en español:
www.aoi-castellano.com.ar/ForoBB/index.php
Comunidad de aprendizaje.

Offline

 

#10 January 5, 2010, 5:09 pm

fpgui
Moderator
From: France
Registered: November 2, 2004,
Posts: 958
Reputation :   
Website

Re: Can't open PM files anymore

Keep an untextured copy of the character in the scene and hide it. Save often, change files for important achievements, like:
file-1.aoi
.
.
.
file-15.aoi


Layered textures can be tricky and a bug can easily slip in. Although I used them once in the lizard uv mapping example without trouble, does anyone had trouble with these ?


Francois

Offline

 

#11 January 5, 2010, 5:27 pm

mayid
42
From: Argentina
Registered: March 29, 2009,
Posts: 1004
Reputation :   
Website

Re: Can't open PM files anymore

does anyone had trouble with these ?

I use them "often".


Comunidad en español:
www.aoi-castellano.com.ar/ForoBB/index.php
Comunidad de aprendizaje.

Offline

 

#12 January 5, 2010, 5:51 pm

Siri
Forum Android
Registered: December 19, 2008,
Posts: 173
Reputation :   

Re: Can't open PM files anymore

Hello Francois,

Yes, I had some trouble with a layered texture a few days ago. I've used two uniform textures for this - a white and a transparent one. I chose face/vertex for mapping. Everything was quite normal at first, but when I've tried to save, everything froze and AoI crashed. Weird, because I use layered textures very often and normaly they work fine.

Kind regards
Siri

There is only a render left, no file or logfile....sorry
http://www.friendlyskies.net/aoiforum/uploads/thumbs/407_androiden-auge.jpg

Last edited by Siri (January 5, 2010, 6:07 pm)


I'm a featherless friend of Blue cool

Offline

 

#13 January 6, 2010, 4:18 pm

mayid
42
From: Argentina
Registered: March 29, 2009,
Posts: 1004
Reputation :   
Website

Re: Can't open PM files anymore

@Francois 

Your probably right about layered textures. I made one. And as soon as i define the faces for black and white in the editor, i started to have problem. See. Trying to editing the second eye it moved out of it place.

Sorry, the picture is not good. But if you read my first comment, i mention strange movement in objects on scene.

Now i have at least 5 files with my model in different stage so i hope i won't lose it. It's a fanny character. Still raw, but it will get funniest.

http://aoi-castellano.com.ar/img_al_foro/africa/ojo.jpg

But how should i paint the lips, by example, withoud layered texture? Making meshes for each part of the character i need to paint? :\

Last edited by mayid (January 6, 2010, 4:19 pm)


Comunidad en español:
www.aoi-castellano.com.ar/ForoBB/index.php
Comunidad de aprendizaje.

Offline

 

#14 January 6, 2010, 4:48 pm

Siri
Forum Android
Registered: December 19, 2008,
Posts: 173
Reputation :   

Re: Can't open PM files anymore

Hi Mayid,

...you can use an image for texturing. Have a look at this article http://www.friendlyskies.net/aoiportal/ … view/22/1/ It is possible to "cut" the mesh into pieces - not really, of course wink - and map an image onto the surface.

Doesn't the eye jump back to its place if you close the editor? scratchchin

Kind regards
Siri


I'm a featherless friend of Blue cool

Offline

 

#15 January 6, 2010, 5:40 pm

mayid
42
From: Argentina
Registered: March 29, 2009,
Posts: 1004
Reputation :   
Website

Re: Can't open PM files anymore

Doesn't the eye jump back to its place if you close the editor

Things get's out of their place after closing the editor, after modifying a keyframe, or altering a texture. At least those things happens with my las scene. For this one i just get scared because i don't won't to loose my model again. http://www.smileydesign.net/smileys/expr31.gif So i closed AOI.

I knew about UV unwrapping, but i never used it because my models are pretty rounded. But maybe i should start to cut them in part anyway.

Thanks Siri!


Comunidad en español:
www.aoi-castellano.com.ar/ForoBB/index.php
Comunidad de aprendizaje.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson