Re: [Plib-users] DXF loader
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2001-12-26 22:03:37
|
saul leite wrote: > > I put one of my models under http://michelangelo.mae.okstate.edu/tmp/ in dxf and blender > formats, see if you can access that site. The problem appears to be with 'ssgTransform' nodes (transformation matrices embedded in the scene graph). Our loader *is* creating ssgTransform's at the appropriate points - but the numbers in those matrices don't seem to be the ones you need. As others have pointed out, it doesn't appear as if that's our fault. Clearly the coordinates of the handle of the sword are rotated through 90 degrees - but there are no rotation nodes in the DXF file. If there is a way to tell Blender to 'flatten' the heirarchy (multiplying out the matrices to that all the model's vertices are in the same frame of reference) - then perhaps you'd be able to work around it's problems. One problem that *is* a fault with our DXF reader is that when it reads the name of a node, it includes the line-feed from the file in the name it passes to SSG. Hence, instead of the name field being 'CUBE', it comes out as 'CUBE^J' in PPE. ----------------------------- Steve Baker ------------------------------- Mail : <sjb...@ai...> WorkMail: <sj...@li...> URLs : http://www.sjbaker.org http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net http://freeglut.sf.net http://toobular.sf.net http://lodestone.sf.net |