Archived

This topic is now archived and is closed to further replies.

Dr Pain

Data embedded in PRO files

Recommended Posts

I need to embed waypoint information into some of my PRO files. There will be a variable number of waypoints in each file, anywhere from 1 to 1000(?). Each waypoint would be the equivalent of a PR_POINT. Is this possible? What''s the best way? Ideally the artist would put in some kind of marker in 3DSMax, and those markers would be read out at runtime (but not visible). Dave

Share this post


Link to post
Share on other sites
First find the dummy segment in the entity (PR_FindSegment), then access the position keyframes list
using seg->pos_keys[keynum]

seg->num_pos_keys tells how long the key frame list is.

Chris



Author of Power Render (http:/www.powerrender.com)

Share this post


Link to post
Share on other sites