Code Monkey home page Code Monkey logo

Comments (17)

neverhood311 avatar neverhood311 commented on June 4, 2024

Thanks for the suggestion, though I can't promise I'll be able to get around to it anytime soon. Just so I'm aware, is it common to have animation software export sequences of .stl files, but not .obj files?

from stop-motion-obj.

musm avatar musm commented on June 4, 2024

Hi Justin. I would say for more scientific applications yes. For example, currently, I'm trying to use paraview to export a vtk file sequence so that I can use them in Blender, but the only option in paraview is to export to stl 👎

from stop-motion-obj.

neverhood311 avatar neverhood311 commented on June 4, 2024

I've got some time today. Lemme see what I can do.

from stop-motion-obj.

neverhood311 avatar neverhood311 commented on June 4, 2024

I added the branch "stl-ply" that supports STL files (and PLY files, while I was at it). Go ahead and try it out. I'm gonna merge it into the master branch at the end of the day unless we find anything horribly wrong with it.

from stop-motion-obj.

musm avatar musm commented on June 4, 2024

I have been trying to get this to work, but I don't see anything:
link to stl files I have been trying to test: https://www.dropbox.com/sh/m45qf0jg32skkf8/AAAmJcHZoRtzQ-VhZhYBLRaMa?dl=0

from stop-motion-obj.

neverhood311 avatar neverhood311 commented on June 4, 2024

It looks like all of your .stl files are empty.
(as a side note, since the file numbers aren't zero-padded, they'll load in a weird order)

from stop-motion-obj.

musm avatar musm commented on June 4, 2024

Ah of course, fixed that and the filename issue. Currently loading (taking a while, I should have probably tested a smaller case, but let's see how this goes...).

from stop-motion-obj.

musm avatar musm commented on June 4, 2024

Cool it works for a small sequence!! Here's the problem though. For large sequences I think it crashes due to memory ...

from stop-motion-obj.

neverhood311 avatar neverhood311 commented on June 4, 2024

Any chance you could share a large one with me so I can see up close?
Also, what's "large" and what's "small"?

from stop-motion-obj.

musm avatar musm commented on June 4, 2024

Of course:
https://www.dropbox.com/sh/m45qf0jg32skkf8/AAAmJcHZoRtzQ-VhZhYBLRaMa?dl=0

The original sequence with almost 900 steps crashes my blender due to memory (12GB). However if I create folder with say 100 of the stl files it all works.

Warning the file is almost 8GB (some of the files are still uploading)

from stop-motion-obj.

neverhood311 avatar neverhood311 commented on June 4, 2024

Thanks for the sample meshes. (I'm done with them, so you can free up your Dropbox space whenever you want)

Yeah, 8GB would probably do it! I'm not sure why, but Blender seems to inflate the file size of imported geometry. Your "short" sequence takes up about 139MB, but when I import it to Blender, the resulting .blend file is 183MB. To make it worse, Blender uses 833MB of memory with the sequence open. I might have a way to get memory usage down, but I don't think I can get the add-on to work without holding all of the meshes in memory.

I'm closing this issue, but I'll see about lowering memory usage.

from stop-motion-obj.

musm avatar musm commented on June 4, 2024

No worries. Thanks for the added feature! I guess now you have to rename the rep :P

from stop-motion-obj.

neverhood311 avatar neverhood311 commented on June 4, 2024

Yeah, I just might have to change the name. I'm glad I could help.
I'm gonna merge the branch soon. You should snag the latest version once I do; I made a quick change that cuts memory usage nearly in half.

from stop-motion-obj.

musm avatar musm commented on June 4, 2024

Great. Also do mind telling me how I can specify the fps of the sequence that I import?

from stop-motion-obj.

neverhood311 avatar neverhood311 commented on June 4, 2024

FPS is left to Blender. The addon will load every frame, but Blender's Frame Rate setting will control the playback speed. See the attached screenshot for how to change it:
render_settings_fps

Is this what you're looking for?

from stop-motion-obj.

neverhood311 avatar neverhood311 commented on June 4, 2024

@musm Do you happen to use Stop Motion OBJ still? I'm working on a new version which includes a feature that might solve the "too large to fit in memory" problem.

from stop-motion-obj.

musm avatar musm commented on June 4, 2024

Hi @neverhood311 it's actually been a while since I've used Stop Motion OBJ

from stop-motion-obj.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.