THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 21/12/2007 at 12:05, xxxxxxxx wrote:
Cinema 4D Version: 10
Platform: Windows ;
Language(s) : C++ ;
Hi all, I've been all over the net trying to find a way to edit the functionality of existing Xpresso nodes, as well as combing through every C++ source and header file that seemed relevant in the C4D directory. No luck, I can't even find where the functions of each node are defined. Is what I'm trying to do even possible?
The documentation that came with the SDK doesn't seem to be much help here.
Even if I have to make a node from scratch, it would still be nice to see how the installed nodes work.
Can anyone point me in the right direction please?
On 21/12/2007 at 12:43, xxxxxxxx wrote:
No, it is not possible in that way. Xpresso nodes are 'hard coded' in C++. To extent functionality, you'll need to write your own Xpresso nodes just like C++ plugins.
On 21/12/2007 at 13:38, xxxxxxxx wrote:
Ah, that's what I was afraid of. Are there any templates or tutorials of the "anatomy of an xpresso node" type?
I'm not planning on releasing them, I'm just hitting a few too many walls while doing animation and need to have custom nodes that closely mimic existing ones but have the specific features I'm looking for.
The biggest item on my wish list is a way to use splines as data curves whose x or y values can be read (with the help of a null perhaps) on the interpolated segments as well as the actual points. The align to spline tag almost works but it functions only by percentage distance along spline, rather than distance along an axis.
On 21/12/2007 at 14:39, xxxxxxxx wrote:
Why don´t you use the COFFEE node? It fully allows you to access c4d splines and you save the time to write your own nodes just for some simple tasks.
Take a look at the COFFEE docs and this forum for more info on accessing splines in COFFEE.
On 21/12/2007 at 17:52, xxxxxxxx wrote:
Ok, I'll have a look. Thanks.