Hi,
I am experimenting with writing out a numbered sequence of Alembic
files (one for each frame, assuming 24 fps)
Looking at the example of the API in
http://code.google.com/p/alembic/wiki/CookingWithAlembic, I see the
following.
void RunAndWriteParticles
(
OObject &iParent,
const ParticleSystem::Parameters &iParams,
size_t iNumFrames,
chrono_t iFps
)
{
// Make the particle system.
ParticleSystem parts( iParams);
// Create the time sampling.
TimeSampling ts(iFps, 0.0);
uint32_t tsidx= iParent.getArchive().addTimeSampling(ts);
In the situation of one sample/frame per file, how should one
construct the TimeSampling object ?
Regards
--
Nicholas Yue
Graphics - RenderMan, Visualization, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
Management - Recruitment, career management
http://www.proceduralinsight.com/
http://au.linkedin.com/in/nicholasyue