Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 02/09/2011 at 06:55, xxxxxxxx wrote:
User Information: Cinema 4D Version: R13 Platform: Windows ; Mac ; Mac OSX ; Language(s) : C++ ;
--------- Howdy,
Will plugins that use the spline description element need to be rewritten to accommodate the new one in R13?
Adios, Cactus Dan
On 02/09/2011 at 07:00, xxxxxxxx wrote:
Unfortunatly yes. Old scenes will import in a compatibility mode.
PS. I hope to get the R13 SDK docs up in the next two weeks.
cheers, Matthias
On 02/09/2011 at 08:26, xxxxxxxx wrote:
Howdy,
So plugins in R13 will need new .h, .res and .str resource files, plus different code in the .cpp file?
I'm not sure I understand how the compatibility mode would work?
On 02/09/2011 at 08:55, xxxxxxxx wrote:
Originally posted by xxxxxxxx So plugins in R13 will need new .h, .res and .str resource files, plus different code in the .cpp file?
Originally posted by xxxxxxxx
The resource files are still valid. There only seem to be some additional layout flags. The code has to be adjusted though, depending on what you are doing with the spline.
It only means that old files don't break.
This is what you get when you load an old file:
On 02/09/2011 at 09:11, xxxxxxxx wrote:
Originally posted by xxxxxxxx ...The resource files are still valid. There only seem to be some additional layout flags. The code has to be adjusted though, depending on what you are doing with the spline...
...The resource files are still valid. There only seem to be some additional layout flags. The code has to be adjusted though, depending on what you are doing with the spline...
Well, can those flags be added in code and leave the .res files the same, then the .cpp file could contain:
#if API_VERSION < 13000 // older method #else // R13 method #endif
...It only means that old files don't break. This is what you get when you load an old file: ...
...It only means that old files don't break.
...
OH, so the compatibility mode only applies to User Data splines?
On 07/09/2011 at 09:44, xxxxxxxx wrote:
No. This compatibility mode locks every spline control of old files. If your spline control uses other values, i.e. another range than [0,1], you will have a problem, because R13 now works with absolute values defined in the res file ersp. set by SetRange(...). So if you have defined a range of 0 to 100 in your res file, the points of the spline curve remain between 0 and 1 all the same when you click on the control to remove the locking.