CompuServe Messages

Hellppp! with Matrix

    23-Aug-95 10:15:25
Fm: Jonas Ruikis [ADESK] 73172,1351
To: KEVIN CHRISTOPHER 71054,572
Hi Kevin, << I am having a similar problem in a sxp that im working on I need to transform object coordinates to world coordinates for calculation. can you suggest some examples, and/or rerading to help me with this. >> Check out message# 186496, #186512, #186529. In addition, Martin message #186679 offers you the best clue on how to handle this.." you'll have to devise a way of getting the transformation information to the SXP script (again, the SXP has no access to scene information, so you have to spoon feed it)…" One variation on the spoon_feed approach offered in the past was a combination KXP and SXP. You'd run the KXP first and it's job would be to analyze the scene and store object per frame data out to a file. Then at rendertime, your SXP could read the file and alter it's behaviour on each frame based on the prestored data. This workaround overcomes the limitation of an SXP not having access to the complete scene info at rendertime. jonas[adesk]