Coder Social home page Coder Social logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
It would have to be more than just the rank.  The individual dimension sizes 
would need to be specified as well.

Currently the user doesn't need to specify the dimension because it can be 
figured out based on the data that is sent in.

When specifying more than rank 1 data, should we expect them to specify all 
dimensions, or do we have them specify all but the last one?

The original use-case for this request was to be able to represent and detect 
data types like color3d[2] which is important for many renderers.

Original comment by miller.lucas on 23 Nov 2010 at 7:00

from alembic.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
Ah, yeah, you'd need to set each new rank's value as well, though you could 
default to whatever the Dimension value is for the 0th rank.  It would be weird 
to have, eg, a color[2] where the first is a color4 and the second is a 
color[3].

Original comment by [email protected] on 24 Nov 2010 at 12:06

from alembic.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
Writing this kind of data is already possible without any code change, since 
things like C3fArraySample can take a Dimensions argument.

I'm still investigating reading.

Original comment by miller.lucas on 24 Nov 2010 at 1:14

from alembic.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
It's possible to detect this as well.

I'll check in a test to show how.

Original comment by miller.lucas on 24 Nov 2010 at 1:27

from alembic.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
A very course example is here:

http://code.google.com/r/millerlucas-dev/source/diff?spec=svnfd90e625871ba310ffa
378c72d1f97452ffb475f&r=fd90e625871ba310ffa378c72d1f97452ffb475f&format=side&pat
h=/lib/Alembic/Abc/Tests/ArrayPropertyTest.cpp

Original comment by miller.lucas on 24 Nov 2010 at 1:51

  • Changed state: Invalid

from alembic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.