On Jul 14, 2013, at 3:13 PM, check.nyah wrote: > ok Thanks sean will read the CHANGES file. Well since i have to start > implementing the pull_leaf routine as from monday which extracts the matrix > transformation from the leaf nodes. I wish to know if I am to set the matrix > transformation to identity as in the original matrix transformation of the > primitives.
For the primitives that actually have a matrix, yes, you could set an identity matrix. Many primitives, however, do not have a matrix at all and merely have component values stored. This is actually easier for some operations. Most primitives have a 'V' parameter, which is a 3-point vector to the object's position, for example. That is basically your translation components already separated out that can be easily encoded as a translation matrix, so that V becomes 0,0,0. This will have to be sorted out per primitive, though. Have you sorted out how to extract components yet from a combination object? That'd be better to get working first. Cheers! Sean ------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk _______________________________________________ BRL-CAD Developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-devel
