Comments (10)
I had the same problem and my workaround was adding if scene.wiggle.is_rendering: return
at the beginning of wiggle_pre
. It worked for my simple project that includes several Wiggle bones so far.
By the way, removing if scene.wiggle.is_rendering: return
from both wiggle_pre
and wiggle_post
allowed me to simulate Wiggle in the final render but I believe it will cause problems with consistency or something because @shteeve3d commented here and on the other issue that it was intended to be only available at the viewport.
from blender-wiggle-2.
Same issue here (blender 3.6). There is a way to get around this by baking the wiggle first and then muting wiggle, before rendering, so that way you are basically just rendering an ordinary bone animation with no live physics, but it would be nice to be able to render without having to bake and disable the addon.
from blender-wiggle-2.
this is unfortunately a hard limitation of the addon and the way blender handles data internally. you have to bake and mute the live effect before rendering. i had tried to add logic so it auto mutes itself when rendering, but i've found it still seems to get into a crashable state. i can at least look into that aspect of the issue. another way to usually avoid crashing is to use blender's 'lock interface' option for rendering.
i welcome any input from developers experienced working with python frame handlers during render. the issue best as i can see has to do with renders creating a separate copy of data in memory that is differently evaluated than the viewport, and it is really difficult accessing and writing to the proper versions of data, especially when you get into dependencies of parenting, constraints, colliders, etc. i'd managed to get simple cases working for renders, but it would fall apart with any level of scene complexity.
also worth noting, since the live effect is evaluated based on frame change updates, it doesn't work with motion blur which skips around during render evaluating previous and next frame motion vectors. it would need to maintain a cache of already evaluated frames, which, beyond a point, is just adding a whole bunch of data management complexity that basically is reinventing what baking would do.
from blender-wiggle-2.
I think it would be a good idea to add some sort of warning into the add-on which tells the user to bake and disable before rendering, because I spent a very long time figuring out why my renders were crashing before I found out it was caused by the wiggle add-on 🥲
from blender-wiggle-2.
Same problem encountered.
Crash never happened if disable addon, but it was randomely or miracle idea that I did.
It would be great if it could be fixed in some way, still thanks for the great addon!
from blender-wiggle-2.
I had this problem too. Didn't think to bake it. I'll try that.
from blender-wiggle-2.
Oh thanks for this! I’ll have to see if there’s any unintended consequences to adding that line to wiggle pre, but maybe it’s just something I overlooked!
update:
i've added a v2.2.3 bugfix release that includes this fix! thanks @DrummyCrane ! hopefully it addresses this issue!
https://github.com/shteeve3d/blender-wiggle-2/releases/tag/v2.2.3
from blender-wiggle-2.
How do I get two chains to self-collide, and the simulation becomes extremely unstable when I put the chains in the collision set
from blender-wiggle-2.
Yeah if anyone sees this, renders crash every time after a few frames in Blender 4.0.
I'm using this on a client project so it's very scary and disheartening for it to not render at all near due date. I would buy this as an addon if it can work in Blender 4.0 and beyond though, it is brilliant and extremely useful.
I tried all of the previous mentioned troubleshooting, the baking + muting the wiggle, disabling the addon, the lock interface in blender before render, and trying a the previous version of the addon (2.2.2 from 2.2.3). I'm surprised it still crashed after completely removing the addon (maybe it still lingers in the codes? IDK how this stuff works).
There's another addon just like this but I refuse to switch because I immediately fell in love with this one, plus I already nearly completed a project with it and can't imagine starting it all over, especially near the due date.
from blender-wiggle-2.
I rendered once in Blender 4.0.0 and 4.0.2 with Wiggle2 2.2.3 for a test but it was ok. But idk what if with other add-ons or in a bigger complicated project.
Wiggle seems to leave some properties such as bone head
or bone tail
. But its codes should be removed after a user remove the addon in the preference screen, and it would not be run.
from blender-wiggle-2.
Related Issues (20)
- Might be a stupid question but how i append an asset with wiggle bones to another scene? HOT 5
- Bake Wiggle failing on 2.2.2 and 2.2.3 HOT 2
- Scene muted HOT 1
- Doesn't install/show up in Blender 3.3+
- Addon doesnt install but no error on Blender 3.6.2 HOT 3
- No effect
- Loopable Physics HOT 1
- Shaking
- Does not install in Blender 4.0.1 HOT 5
- Blender 3.6 - Baking not working for certain bones HOT 2
- Collision does not take wiggle of colliders attached to other wiggle bones into account HOT 1
- Performance issue with collection collision, and some very odd code HOT 1
- Something broke from version 3.6. HOT 1
- Compatible with 4.3?
- Wiggle bones behave strangely with constraints HOT 1
- Keyframes "baking" into the rig when i try to bake the wiggle
- Display problem with the last child skeleton
- IK Baking Wiggle Bones HOT 1
- Collision collection can not take sub-collections into account. (Blender 4.0.2) HOT 2
- Stiffness Value won't change 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 blender-wiggle-2.