To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 13649
13648  |  13650
Subject: 
Re: Blender import problem
Newsgroups: 
lugnet.cad
Date: 
Thu, 9 Mar 2006 15:17:45 GMT
Viewed: 
1270 times
  
In lugnet.cad, Brian Durney wrote:
I am using the Yann import scripts to import LDraw models into Blender.  I would
like to be able to animate LDraw models, especially minifigs, with Blender
animation tools and scripts.  I had to modify the color import script because of
changes in ldconfig.ldr, but otherwise the import script seemed to work quite
well.

Then I tried to animate the figure using Blender's IPOs.  I made a key frame
(for rotation), went to a new frame, rotated the figure's arm, and then made
another key frame.  However, when I move between frames instead of seeing the
arm rotate the way it's supposed to, I see all of the parts in the minifig
change.  The rotation with the IPO does not look anything like the rotation that
I do with the normal Blender UI, and it messes up the model.

I tried simple animations with non-LDraw models to make sure I was using the key
frames correctly and was able to make animations that worked the way I expected
them too.  I used various combinations of IPOs on parent and child objects with
no problem.

I suspect that the problem I am having with the imported models is due to the
way the flatten and flattenParts functions work, but so far have not been able
to verify that.

Can anyone give me help with this problem?  I can post files and screen shots if
they would be helpful.  I have tried this with Blender 2.36 on OS X and Blender
2.37 on Windows Media Center with similar results.
Thanks,
Brian Durney

This sounds like a center-point / parent problem. I recommend to clear parent
relationship for your minifig components (keeping the transform). After import,
all bricks are a child of the surrounding .ldr file, which is a empty object at
(0,0,0). Use the "outliner" window (View->Outliner) to visualize the parent
relationship for all scenes, objects, materials etc. Afterwards, you can regroup
the objects with the body of the mifi as your parent. This should resolve the
rotation weirdness:)

I have used NLAnimation for my mifis by attaching an armature (8 bones
[Head,Body,Lleg,RLeg,LArm,RArm,Lhand,Rhand) to a joined mifi-mesh. The vertices
of the mesh where grouped (Head,Body,..) use the same names for the vertex
groups and the bones (this enables automatic matching from bones to
vertex-groups). I have put a sample blender file on
http://homepage.mac.com/carstenm
(a single mifi walking circles while moving its head and one arm) not very
fancy.


Carsten

PS:
http://mediawiki.blender.org/index.php/Manual/Manual
http://en.wikibooks.org/wiki/Blender_3D:_Noob_to_Pro



Message has 1 Reply:
  Re: Blender import problem
 
(...) I downloaded this file but it makes my version (2.37a) of Blender crash. Did you use a newer version to make this file? Thanks, Brian Durney (19 years ago, 15-Mar-06, to lugnet.cad)

Message is in Reply To:
  Blender import problem
 
I am using the Yann import scripts to import LDraw models into Blender. I would like to be able to animate LDraw models, especially minifigs, with Blender animation tools and scripts. I had to modify the color import script because of changes in (...) (19 years ago, 8-Mar-06, to lugnet.cad)

11 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR