Export animation meshes once

Please use this forum for general user support and related questions.

Moderator: coordinators

Forum rules
Please include your operating system type/version, LuxRender version and Exporter version used when submitting a support post.

Make sure you have read the Release forum thread for Release and RC (Release Candidates) builds as these threads contain information on known problems and workarounds: Test Builds Forum

Export animation meshes once

Postby giuliojiang » Fri Apr 06, 2012 1:44 pm

I use Blender and Luxrender 0.8
How can I make Blender export all the frames of an animation so that the PLY files are exported once, and used by all the frames?
In my scene there are a lot of faces, and each frame takes more than 30 seconds. Is it possible to save time and disk space during export?

Thanks
User avatar
giuliojiang
 
Posts: 402
Joined: Tue Jun 14, 2011 5:30 am
Location: Rome, Italy

Re: Export animation meshes once

Postby J the Ninja » Fri Apr 06, 2012 1:48 pm

viewtopic.php?f=16&t=8092

Apparently you can trick LuxBlend into doing it by using the External PLY feature, but we don't have an actual option for what you want yet.
-Jason

Material DB Admin
User avatar
J the Ninja
Developer
 
Posts: 2207
Joined: Wed May 19, 2010 9:54 pm
Location: Portland, USA

Re: Export animation meshes once

Postby giuliojiang » Fri Apr 06, 2012 2:06 pm

J the Ninja wrote:http://www.luxrender.net/forum/viewtopic.php?f=16&t=8092

Apparently you can trick LuxBlend into doing it by using the External PLY feature, but we don't have an actual option for what you want yet.

thank you very much.
This could be the idea for a new feature in the next build of luxblend :D
User avatar
giuliojiang
 
Posts: 402
Joined: Tue Jun 14, 2011 5:30 am
Location: Rome, Italy

Re: Export animation meshes once

Postby SATtva » Fri Apr 06, 2012 4:07 pm

One thing i've done on Linux is the following:

Export just the first frame with PLY Export enabled. Then go to the exportdir/blendname/scenename directory and run the following command. It will create all the rest frames subdirs (let's say there are 300 frames) and symlink all the PLY files into frames subdirs, so LuxBlend won't try to export them again.

Code: Select all
for i in `seq -w 00002 00300` ; do mkdir $i ; for f in 00001/*.ply ; do ln -s ../$f $i/`echo $f | sed s/00001\//` ; done ; done

Now go back to Blender, enable Partial PLY Export and export the whole animation.
Linux builds packager
聞くのは一時の恥、聞かぬのは一生の恥
User avatar
SATtva
Developer
 
Posts: 5487
Joined: Tue Apr 07, 2009 12:19 pm
Location: from Siberia with love

Re: Export animation meshes once

Postby giuliojiang » Sat Apr 07, 2012 7:34 am

SATtva wrote:One thing i've done on Linux is the following:

Export just the first frame with PLY Export enabled. Then go to the exportdir/blendname/scenename directory and run the following command. It will create all the rest frames subdirs (let's say there are 300 frames) and symlink all the PLY files into frames subdirs, so LuxBlend won't try to export them again.

Code: Select all
for i in `seq -w 00002 00300` ; do mkdir $i ; for f in 00001/*.ply ; do ln -s ../$f $i/`echo $f | sed s/00001\//` ; done ; done

Now go back to Blender, enable Partial PLY Export and export the whole animation.

that's a good idea. But I don't think I will use it because I have to send the scenefiles to some people that help me rendering that use different operating systems (mostly windows)
Anyway, the 'external ply' should work great, my scene doesn't contain too many separated meshes (about 100 objects)
User avatar
giuliojiang
 
Posts: 402
Joined: Tue Jun 14, 2011 5:30 am
Location: Rome, Italy


Return to LuxRender User Support

Who is online

Users browsing this forum: No registered users and 1 guest