chashion / alembic

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

Getting started with simple abc files #227

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

Sorry if that's a really basic question. I've been playing with some code 
sample and got stuck real quick when trying to access the abc file content.

I used the alembic_octopus.abc coming with the samples, and also generated a 
sample abc file which is a simple cube.

What steps will reproduce the problem?
1. Compile the little code sample
2. ./main <some abc file>
3. Error message:
    xavier@xavier-laptop:~/Dev/alembicDev/Alembic$ ./main polyMesh1.abc 
    terminate called after throwing an instance of     'Alembic::Util::v1::Exception'
    what():  ISchemaObject::ISchemaObject( wrap )
    ERROR: EXCEPTION:
    ISchema::ISchema::init()
    ERROR: EXCEPTION:
    Nonexistent compound property: .geom
    Aborted

What is the expected output? What do you see instead?

Wish I could have access to the abc file content. Since I'm pretty sure these 
abc file samples are valid, I would expect them to have a .geom property. 

What version of the product are you using? On what operating system?

Alembic v01 on Ubuntu x64

Please provide any additional information below.

Tried filtering with IPolyMeshSchema::matches( md ), but it never gets in the 
conditional statement.

Thanks!

Original issue reported on code.google.com by lapointe...@gmail.com on 2 Sep 2011 at 4:02

Attachments:

GoogleCodeExporter commented 9 years ago
The object you are inspecting is the root of your scene which isn't a polymesh 
so it's throwing as expected.

Original comment by miller.lucas on 18 Jun 2012 at 5:56