Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Pages: [1] 2

Author Topic: is there ANY way to get rid of "missing objects"?  (Read 12748 times)

CoriDavis

  • Sr. Member
  • ****
  • Posts: 553
  • SammyJ Studios
    • View Profile
    • SammyJStudios.net
is there ANY way to get rid of "missing objects"?
« on: October 20, 2010, 05:59:15 pm »

This is getting really annoying, first there were only 50-something because I imported the skeleton from the cursed horse, but now there's 115!  I imported again so I could make another character! is there any way possible to make it stop giving me that notification?
Logged

lynn22

  • Sr. Member
  • ****
  • Posts: 591
    • View Profile
    • 3D Animation
Re: is there ANY way to get rid of "missing objects"?
« Reply #1 on: October 21, 2010, 03:49:25 am »

Yes, clean up your file.
First make a backup in case something goes wrong.
Then in Scene mode, wireframe, any view where you see everything, click on each item in the list left of the timeline and if nothing is highlighted in your scene > Edit > delete element.
Logged

CoriDavis

  • Sr. Member
  • ****
  • Posts: 553
  • SammyJ Studios
    • View Profile
    • SammyJStudios.net
Re: is there ANY way to get rid of "missing objects"?
« Reply #2 on: October 21, 2010, 03:47:40 pm »

Yeah, but that wouldn't work, the objects aren't there because when I imported the figure/skeleton from the cursed horse, I told it not to import the massive number of objects that were attached to it.  now it says they're missing, and I can't get rid of them.
Logged

lynn22

  • Sr. Member
  • ****
  • Posts: 591
    • View Profile
    • 3D Animation
Re: is there ANY way to get rid of "missing objects"?
« Reply #3 on: October 21, 2010, 04:31:25 pm »

Then you will have to backup one step.
Save the file (A) that you want to import under a new name and clean out everything that you don't want to import in the other file (B), then import.
You may have to delete all previous imports which show missing objects in file (B) first before importing the cleaned up file, or start file (B) from scratch.
Logged

CoriDavis

  • Sr. Member
  • ****
  • Posts: 553
  • SammyJ Studios
    • View Profile
    • SammyJStudios.net
Re: is there ANY way to get rid of "missing objects"?
« Reply #4 on: October 21, 2010, 06:12:02 pm »

aww man... I don't want to start over.. it took me forever on the weight painting
Logged

Raxx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1482
    • View Profile
Re: is there ANY way to get rid of "missing objects"?
« Reply #5 on: October 22, 2010, 03:02:46 am »

  • Make a new object in object mode with the same name as one of the objects that's missing.
  • Place a big sphere in it, go to figure mode.
  • Select the sphere(s) and delete them.
  • In object mode, rename the sphere object to the next object that's missing
  • Go back to figure mode and delete the sphere
  • Etc.

The alternative is to open the .an8 file in notepad and delete them manually.

In the figure code block there are namedobject blocks. Just delete each of the namedobject blocks that don't belong
Code: [Select]

figure { "figure01"
  bone { "root"
    length { 10 }
    bone { "bone01"
      length { 32.071 }
      namedobject { "object01"
        name { "namedobject01" }
        material { " -- default --" }
      }
      namedobject { "object01"
        name { "namedobject02" }
        base {
          origin { (33.04 0.73421 0) }
        }
        material { " -- default --" }
      }
      bone { "bone02"
        length { 23.822 }
        namedobject { "object02"
          name { "namedobject03" }
          base {
            origin { (28.341 12.628 0) }
          }
          material { " -- default --" }
        }
      }
    }
  }
}

Say we don't want namedobject01 that's attached to bone01, delete that block:

Code: [Select]

figure { "figure01"
  bone { "root"
    length { 10 }
    bone { "bone01"
      length { 32.071 }
      namedobject { "object01"
        name { "namedobject02" }
        base {
          origin { (33.04 0.73421 0) }
        }
        material { " -- default --" }
      }
      bone { "bone02"
        length { 23.822 }
        namedobject { "object02"
          name { "namedobject03" }
          base {
            origin { (28.341 12.628 0) }
          }
          material { " -- default --" }
        }
      }
    }
  }
}
Logged

CoriDavis

  • Sr. Member
  • ****
  • Posts: 553
  • SammyJ Studios
    • View Profile
    • SammyJStudios.net
Re: is there ANY way to get rid of "missing objects"?
« Reply #6 on: October 25, 2010, 03:30:47 pm »

oooh! the text one seems MUCH easier than the sphere, and it won't involve me starting over, i'll do it that way, thanks. I really hope it works!  So I go to the file and right click> open with> notepad, i'm guessing?

----
Ok, it didn't work. it says 172 missing items, and I tried getting rid of the "namedobject" part

Started with-
            bone { "Spine 2"
              length { 45 }
              orientation { (-0.10376 0 0 -0.99460) }
              dof { "X" -10  0 10  }
              influence { 0.25000 6.75 18 0.75000 6.75 18}
              namedobject { "Vertebrae"
                name { "namedobject14" }
                base {
                  origin { (0 -0.46032 -1.9164) }
                  orientation { (0.68835 0 0 0.72537) }

took out-
            bone { "Spine 2"
              length { 45 }
              orientation { (-0.10376 0 0 -0.99460) }
              dof { "X" -10  0 10  }
              influence { 0.25000 6.75 18 0.75000 6.75 18}
              namedobject { "Vertebrae"
                name { "namedobject14" }                base {
                  origin { (0 -0.46032 -1.9164) }
                  orientation { (0.68835 0 0 0.72537) }

Saved and opened file, still says 172 missing items.  So I figured, maybe there was a typo and I was supposed to take out the whole
              namedobject { "Vertebrae"
                name { "namedobject14" }

which crashed my file so I had to copy and rename my backup to reset it.
Now what?
« Last Edit: October 25, 2010, 05:30:40 pm by CoriDavis »
Logged

Raxx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1482
    • View Profile
Re: is there ANY way to get rid of "missing objects"?
« Reply #7 on: October 25, 2010, 06:46:01 pm »

Go from namedobject {"vertebrae to its closing } several lines down. That bracket should be on the same horizontal location as the start of "namedobject" and be right before the next "namedobject"

Example of two namedobject blocks sitting on top of each other (delete one or the other, up to the ending bracket for whatever block you want to delete):

      namedobject { "object01"
        name { "namedobject01" }
        material { " -- default --" }
      }

      namedobject { "object01"
        name { "namedobject02" }
        base {
          origin { (33.04 0.73421 0) }
        }
        material { " -- default --" }
      }
Logged

CoriDavis

  • Sr. Member
  • ****
  • Posts: 553
  • SammyJ Studios
    • View Profile
    • SammyJStudios.net
Re: is there ANY way to get rid of "missing objects"?
« Reply #8 on: October 25, 2010, 07:02:49 pm »

oooh, ok! so I delete all of the text from "namedobject { "object01" to the end?
Logged

Raxx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1482
    • View Profile
Re: is there ANY way to get rid of "missing objects"?
« Reply #9 on: October 25, 2010, 07:10:13 pm »

Just to make sure we're clear:
      |----Lines up vertically
      namedobject { "object01" <-Starting point of the unwanted object
      | name { "namedobject02" }
      | base {
      |   origin { (33.04 0.73421 0) }
      | }
      | material { " -- default --" }
      } <-Ending point of the unwanted object
      |----Lines up vertically
Delete all of that block in order to remove the object from your figure. Then move on to the next unwanted object's block.
« Last Edit: October 25, 2010, 07:13:07 pm by Raxx »
Logged

CoriDavis

  • Sr. Member
  • ****
  • Posts: 553
  • SammyJ Studios
    • View Profile
    • SammyJStudios.net
Re: is there ANY way to get rid of "missing objects"?
« Reply #10 on: October 25, 2010, 07:20:33 pm »

ok, i'll double check it again. i'll try this again to make sure it's perfectly right because apparently it wasn't when I tried it last time, it crashed again

--- Ok, so I got rid of that. it didn't crash, but it still says there's 172 missing objects. it's not going away
« Last Edit: October 25, 2010, 07:27:25 pm by CoriDavis »
Logged

Raxx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1482
    • View Profile
Re: is there ANY way to get rid of "missing objects"?
« Reply #11 on: October 25, 2010, 07:44:53 pm »

Eh, email me the file and tell me what objects on the figure you wish to keep...
Logged

CoriDavis

  • Sr. Member
  • ****
  • Posts: 553
  • SammyJ Studios
    • View Profile
    • SammyJStudios.net
Re: is there ANY way to get rid of "missing objects"?
« Reply #12 on: October 25, 2010, 07:55:59 pm »

ok, i'll do that
Logged

CoriDavis

  • Sr. Member
  • ****
  • Posts: 553
  • SammyJ Studios
    • View Profile
    • SammyJStudios.net
Re: is there ANY way to get rid of "missing objects"?
« Reply #13 on: October 28, 2010, 05:45:37 pm »

Ok, so I sort of ended up importing the objects instead of the figure to make all my characters.  Is there a way to use the text thing to maybe copy and make the new figures without having to do all the crazy weight painting again?
Logged

Raxx

  • Administrator
  • Hero Member
  • *****
  • Posts: 1482
    • View Profile
Re: is there ANY way to get rid of "missing objects"?
« Reply #14 on: October 28, 2010, 07:04:59 pm »

Yes...in theory :P If you do modify any of the new copies so that it's different from the original then that could screw up the vertex order and make the vertex weights go all over the place or just plain make it not read. But if all you did was move points around or change textures, then it should be alright (maybe).

Probably a bit too complicated to explain what you have to do...basically you copy the entire figure block and paste it again underneath it, and change the name of the namedobject to the new object's name (and change the new figure's name too).
Logged
Pages: [1] 2