THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 31/10/2003 at 05:41, xxxxxxxx wrote:
Cinema 4D Version: 8.200
Platform: Windows ;
Language(s) : C++ ;
in my CgFX / hardware renderer plug-in I want to use the AVI codec settings of Cinema 4D rather than ask the user via MovieSaver::Choose. But how can I retrieve these data? From the documentation I got the impression that these data should be a subcontainer AVISAVER_FCCTYPE of the active RenderData. But actually this subcontainer seems to be missing even when one switches the output format to custom AVI.
Thanks in advance!
PS: By now I'm doing environment maps, bump maps and shadows on the graphics card.
On 11/11/2003 at 16:13, xxxxxxxx wrote:
Yeah, they should , but for historical reasons they are "inserted into the main container" instead. (As written in the docs...
On 14/11/2003 at 23:36, xxxxxxxx wrote:
indeed I did read the docs beforehand!
I have a stupid question: What is "the main container"? I thought this meant the RenderData object itself. But it does not?
On 21/11/2003 at 08:52, xxxxxxxx wrote:
Yes, it's the RenderData BaseContainer.
All values directly match their AVICOMPRESSOPTIONS counterparts, only AVISAVER_LDATARATE is dwBytesPerSecond/1024.
On 24/11/2003 at 00:36, xxxxxxxx wrote:
now I found the problem: I thought AVISAVER_FCCTYPE would be a container with all the data (because the docs mention only this as element of RenderData). But no: AVISAVER_FCCTYPE is just a LONG value. Please edit the docs so that the give the type of AVISAVER_FCCTYPE. Furthermore, RenderData also contains the other members of AVISAVER_Options. That's not in the docs, too.
On 24/11/2003 at 00:57, xxxxxxxx wrote:
It's a bit confusing as written. AVISAVER_FCCTYPE just happens to be the first option. I'll make a named link instead in the next docs.
I don't know the type of AVISAVER_FCCTYPE. It's supposed to be evident from the AVI documentation.
On 24/11/2003 at 01:25, xxxxxxxx wrote:
all the types of AVISAVER_Options seem to be LONG. It would be better if one does not have to look them up in another documentation. For example, I just copy them to MovieSaver and don't want to know what exactly they are about.