Need Help with IPO Code

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Post Reply
spkona
Posts: 0
Joined: Sun Feb 12, 2006 4:01 pm
Location: Bangalore, India

Need Help with IPO Code

Post by spkona »

Hi

I am trying to write a vc++ dll to implement my functions, that are related to the blender IPO characteristics such as the numberofinterpolators available in blender, their names and whether they allow fractional frames,,,,,,,,,I can find them in general, but i want to implement a function createEnvelop that creeates a new envelop in Blender, and this envelop will have arguments, other functions writekey which writes a key value for the envelop created.



I will be thankful if you can help me to find out the exact code in Blender that points to the structure I need so that I can implement the above functions



Thank-you

Satya

an-toni
Posts: 0
Joined: Wed Mar 17, 2004 5:20 pm

Post by an-toni »

IPOs in Blender are 2d bezier curves, where the control points can be anywhere on the curve I think, so in that sense all of them support fractional frames. There is no way (that i know of) to look at / evaluate the results in-between frames, though.

I think in the source makesdna there is the c struct definition of IPOs, also the python API reflects their structure pretty much similarily. the core functions are in source/blender/blenkernel/intern/ipo.c and the ipo editor code in blender/source/blender/src/editipo.c

~Toni

Post Reply