BaseDocument* in VideoPostStruct
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/12/2008 at 00:50, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R9/R10
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;---------
Is the pointer to a BaseDocument in the VideoPostStruct a pointer to the actual BaseDocument in the editor or a pointer to a copy of the BaseDocument?e.g. what happens if the user makes changes to the doc while my VideoPost is in action? (this question is obsolete if the pointer points to a copy)
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/12/2008 at 01:18, xxxxxxxx wrote:
It is the pointer to the document which is rendered. Afaik that means for editor rendering it's the actual document and for picture viewer rendering it's a copy of the document. Btw. you shouldn't modify the document from within a videopost plugin.
cheers,
Matthias -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/12/2008 at 04:31, xxxxxxxx wrote:
Thank you Matthias.
So, what if i have to make changes to the document (making objects polygonal for example)? Will undoing the changes made be ok(i really doubt it ), or do i have to think of something else?
Regards
Yves -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/12/2008 at 05:28, xxxxxxxx wrote:
I am not sure what you want to do. You are not allowed to modify the document in videopost. If you want to make some changes you have to do this with a copy of the document.
cheers,
Matthias -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/12/2008 at 07:51, xxxxxxxx wrote:
Well, i need a few polygonal meshes from the scene so im just converting the objects with SendModelingCommand().
Using a copy of the document... It's the easiest way, so i guess i'll do it for now. I'll definitely have to come up with something else later on, when it comes to working with really big scenes.
Or is there another way im just not aware of?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/12/2008 at 07:59, xxxxxxxx wrote:
In case of a videopost it should be save to use the GetCache()/GetDeformCache() function. Check the GetCache() docu for an example how to retrieve the polygonal object.
cheers,
Matthias -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/12/2008 at 08:19, xxxxxxxx wrote:
Thank you, i will check it out.
Regards
Yves