Comments (10)
Hey Mike,
Double-checking the code, I confirmed that the add-on as it stands doesn't do anything special to handle MTL files. My use-case was to import a sequence of OBJs (all without UVs), then create a Cycles shader from scratch. Didn't even think about MTLs.
Unfortunately, you've caught me during the tail end of a really busy semester, but I might have time to work on this in January. Or you're welcome to take a crack at it if you want.
from stop-motion-obj.
OK, great! Thanks!
I'll certainly have a dig in and see if I can have a go (don't hold out much hope though ;).
If you magically find some time, that would be great!
Thanks again for the add-on so far.. it's great!
M
from stop-motion-obj.
Hi Justin, just wanted to follow up on this. I didn't get anywhere with it myself (limited Python skills) but is it something might consider doing? I may have some limited budget if that helps find you some time? Thanks!
from stop-motion-obj.
Hey Mike,
I'll look into this. Would you be able to send me a small set of OBJs and MTLs to test with? At least 4 or 5? That would be really helpful. A Dropbox link if you can.
Thanks
from stop-motion-obj.
Great! I will dig out the files I was testing with before, let me sort something out this weekend! Can you get in touch via mike [at] kultur [dot] design
thanks!
from stop-motion-obj.
I figured out how to bring in multiple MTL files. I'm thinking of adding a checkbox to the sequence to enable/disable multiple materials (my main use-case is to use a single material that is shared by all of the meshes, so I want to have the option to switch between the two modes).
What should I call the checkbox? I was thinking something like "Per-frame Material" or "One Material per Frame" or "Material Per Frame" or "Dynamic Material". Do you like any of these? Or can you think of a better and/or shorter name that still suggests the meaning of the checkbox?
from stop-motion-obj.
Give this branch a try and see if it works for you:
https://github.com/neverhood311/Stop-motion-OBJ/tree/multiple-materials
from stop-motion-obj.
Hi Justin, just gave it a try on both a simple a sequence, and a more complex (30 frames, each frame OBJ: ~400KB, MTL: ~ 120KB). the simple import was pretty quick, but the more complex set took a while.
But... after 10 mins, it did get there and the animation seems perfect... I'll do some more rigorous testing, but it seems great!
from stop-motion-obj.
Glad to hear it. I'll do more testing, too. My guess as to why it's taking so long is because you have a different material for each face of each mesh. Blender has to create all of these materials and assign them to each object. I'm guessing it's not optimized for this use-case. (I wonder what the Blender developers would say if we told them to speed this up).
I'm interested to know what you think about using this feature. Do you think a checkbox to switch modes is the right idea? And what about the name?
from stop-motion-obj.
I guess as long as it doesn't crash we can live with it taking a while!
The feature is great, checkbox makes sense, but wonder if un-checked by default would be better for most user's needs?
from stop-motion-obj.
Related Issues (20)
- No Matching Files found HOT 4
- Where is the shade smooth all frames button :D ? HOT 1
- export this reBuild-animation? HOT 1
- UVs and Textures totally broken when you run the animation. HOT 6
- Material update HOT 4
- STL sequence not animating HOT 2
- Doesn't import meshes HOT 1
- Streamed mesh sequence: Blender crashes randomly while rendering animation HOT 5
- PLY import without textures HOT 1
- Shade smooth doesn't work for all frames HOT 1
- OBJ import fails in Blender 4.0.0 alpha HOT 1
- Multiple Errors When Trying to Import Mesh Sequence HOT 1
- im a studen. when i did my homework, i faced on a trouble. please help me! thatβs scary that i will "reply" my semester HOT 9
- Request: multi-object obj import HOT 2
- Import multiple PLY file meet AttributeError: Calling operator "bpy.ops.import_mesh.ply" error, could not be found HOT 2
- Compatibility with Blender 4.x HOT 1
- Vertex Color is lost when importing PLY or OBJ point cloud sequences
- Can't import OBJ sequence - Blender 3.2/4.0 HOT 2
- .mtl textures don't import while creating an OBJ sequence HOT 3
- Stop-motion-OBJ not working in Blender 3.3 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stop-motion-obj.