keyframe not working in render vue

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
Old 02 February 2006   #1
keyframe not working in render vue

Hello everybody,

I've created a simple plugin that move points of an object with a slider.

I can record the slider position in keyframes and when I press play in preview window all seems to be OK: the points and the sliders are moving according keyframes.

I see the keyframes in my timeline.

But when I create an animation in the render window (external view), the points don't move.

I thing I miss a refresh function or things like that.

Any ideas?

Thank you.

Old 02 February 2006   #2
If it is a COFFEE expression plugin this might help.

MSA | OSX | xfiles ...Cinema4D Tools
Old 02 February 2006   #3
Sorry, no it's not a COFFEE expression,

It's a plugin written in C++ with the SDK.

But I'll have a look.

Old 02 February 2006   #4
its' nearly impossible to tell without knowing more information, for isntance what sort of plugin is it? (ObjectData, TagData, SequenceData etc). How are you setting up the modification (through an expression, or through getvirtual obejcts etc)?

In general to debug you need to work out when and where things are executing and when and where they're breaking out, if only to make sure that a routine is actually being called. GePrint is your friend for this.
The Third Party | Homepage | My Reel
"You need to know what you're doing before you start, and to start because you need what you're doing."
Old 02 February 2006   #5
Keyframe not working in render vue


The plugin is a TagData containing a CustomDataType which is saved in the scene via
Hyperfile with the overloaded TagData::Read() and TagData::Write() functions.

The scene is saved and loaded correctly, we see the loaded data in the debugger and
the render in the editor vue works fine.

But when we debug the same scene in the "picture viewer", the CustomDataType is empty.

We also notice that the TagData::Init() function is called each time we render in the "Picture Viewer".

Back to the editor vue, the value of the CustomDataType is correct again.

We think that it is an Instance problem...

Old 02 February 2006   #6
i'm surprised you're not storing it in the basecontainer (as then the reading/writing and animation handling would all be taken care of, just like any other customdatatype, e.g. spline gui etc). anyhow, the main fault i see is that your'e lacking a CopyTo function.

when rendering cinema makes a copy of the document (that is why you can edit the current document and render at the same time without them interfering). as you're storing this customdatatype internally then you will need to additionally have copyto otherwise the copies of your tag wont contain the same data.
The Third Party | Homepage | My Reel
"You need to know what you're doing before you start, and to start because you need what you're doing."
Old 02 February 2006   #7
BaseContainer and CopyTo

Hi again,

Thank you.
It's working now.

The reason we don't store it in the BaseContainer is that we don't know how to do:
we use a STL vector. The elements of that STL vector are size variable arrays of 3D vectors.

Old 02 February 2006   #8
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 08:28 PM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.