sidebar features
sidebar content

Go Back   Blender Artists Forums > General Forums > Python & Plugins

Reply
 
Thread Tools
ZanQdo's Avatar
ZanQdo ZanQdo is offline
Member
 
Join Date: Mar 2004
Location: Costa Rica
Posts: 810
Hi, I did this for using at job, it exports selected object's Loc Rot Size channels to a Ligthwave motion file in Blender's home directory (.blender folder)

http://www.3developer.com/temp/Light...ionExporter.py

Hope you like it

It's suposed to be working perfectly now, if you find any problem please let me know

Edit: Added a file selector YAY! :P
............................................
- the lord of the rigs -

GraphicAll.org
#1   Old 24-Mar-06, 18:05   
Reply With Quote


lgolden lgolden is offline
Member
 
Join Date: Mar 2006
Posts: 7
Quote:
Originally Posted by ZanQdo

Hi, I did this for using at job, it exports selected object's Loc Rot Size channels to a Ligthwave motion file in Blender's home directory (.blender folder)
Hi ZanQdo!

i´ll test the script tomorrow (no LW at home...);

my I ask you about how difficult wold be a script to export camera info between LW and Blender?

Luis
#2   Old 27-Mar-06, 03:45   
Reply With Quote
ZanQdo's Avatar
ZanQdo ZanQdo is offline
Member
 
Join Date: Mar 2004
Location: Costa Rica
Posts: 810
hey, not dificult since this guy jeremyhardin from cgtalk offers me to use his Lightwave script to import and export cameras in lightwave

http://jeremy.lwidof.net/lscript/#load_save_camera

And of course I got to do the inverse thing, importing from lightwave, but that´s for later.

So tomorrow I´ll ad suport for cameras and multiple objets at the same time and I´ll fix some noob mistakes I did

See you
............................................
- the lord of the rigs -

GraphicAll.org
#3   Old 27-Mar-06, 03:57   
Reply With Quote
Marty_D's Avatar
Marty_D Marty_D is offline
Member
 
Join Date: Oct 2003
Posts: 1,614
just setting a watch this thread flag here. Ignore me. And thanks much for the script. If you could get that camera export (and definitely import) to working it'd be incredibly helpful. Shouldn't this kind of information be included in the default import export script?
............................................
riding the Locknar: free speech is not for everyone
#4   Old 27-Mar-06, 12:07   
Reply With Quote
krupa krupa is offline
Member
 
Join Date: Aug 2004
Location: UK
Posts: 144
does anybody know if this script could be adapted to export camera data to after effects?

this has been a constant bugbear for me for years, my workflow for the last ten years has always been from 3d to after effects.... and having the cameras come with you a la maya,lightwave etc would make blender even more killer than it already is...
#5   Old 27-Mar-06, 12:46   
Reply With Quote
Blangbauer Blangbauer is offline
Member
 
Join Date: Jan 2007
Posts: 7
I'm also looking for a blender to after effects compatable camera and lights export.
Anyone working on that?
#6   Old 05-Jun-07, 16:55   
Reply With Quote
dsp_418 dsp_418 is offline
Member
 
Join Date: Feb 2005
Posts: 178
@ Blangbauer
It seems that the AE export feature is becoming a big demand, couldn't agree more, actually it would be really useful and a great addition to the Blender arsenal.
ZanQdo already tried something in that direction.
#7   Old 05-Jun-07, 21:57   
Reply With Quote
Titus2 Titus2 is offline
Member
 
Join Date: Oct 2007
Posts: 1
I've tried your expoter to not avail. The motion exported includes ridiculous rotations from simple movements (i.e. 70° in Blender but 2000° in LW), I've discovered you're assuming that LW requires angles for rotations in the .mot file, when in reality asks for radians. Adding three lines solves the issue but the motion is still not correct.

Val = -mat.toEuler().z
Val = (Val * 3.141592)/180 ## convert deg to rad

I'm still trying to understand how rotations work in Blender, I'm not shure if its due to quaternions but the rotations I got from Blender doesn't work in LW.

Felipe Esquivel
GaragePost

Last edited by Titus2; 01-Nov-07 at 03:05.
#8   Old 31-Oct-07, 17:36   
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 12:41.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Logo and website design copyright © 2006 by froodee design bureau. All rights reserved.
Other Blender Sites
new icon Blender Homepage »
The official Blender homepage
new icon BlenderNation »
Fresh Blender News, Every Day
new icon Blenderart Magazine »
Blender articles, tutorials and images.
Blender Headlines
Featured Artwork
Short animation: Barrel by Phlopper
Woolly mammoth by sebastian_k
Photorealistic classic furniture by eMirage
Social BlenderArtists