Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Can I rotate the scene while running scripts? #19

Closed
anzisheng opened this issue May 16, 2022 · 4 comments
Closed

Can I rotate the scene while running scripts? #19

anzisheng opened this issue May 16, 2022 · 4 comments

Comments

@anzisheng
Copy link

Hi, I'm able to run to demo with blender now, but it turns out that the view is locked while the script is running.

If there's a way to enable rotation?

@yanchxx
Copy link
Owner

yanchxx commented May 16, 2022

From my understanding of Blender Python's modal function, it should be rotatable while running script.

But I remember when I ran the script it can't rotate.

I am too busy to modify this feature recently. I will modify it later when I have time.

@yanchxx
Copy link
Owner

yanchxx commented May 16, 2022

For the first question of your last issue, I will also update it when I have time to make use of the automatic binding of Mixamo so that you can use any pre-build model.

For camera, check out the Blender website or find a tutorial to see how to set up the camera.

@anzisheng
Copy link
Author

Thx a lot~

I figured out how to setup camera position and orientation now.

I will do some research about rotating the scene as well. Gonna update you if got any findings.

@yanchxx
Copy link
Owner

yanchxx commented Aug 24, 2022

I tried to make the view to rotate while the script was running, but in some cases it would stall or even crash. So I still made it impossible for the script to rotate the view while it was running.

Mainly because Blender Python doesn't support multiple processes very well (or I can't figure out how to run multiple processes), it tends to stall.

@yanchxx yanchxx closed this as completed Aug 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants