Open wangsen1312 opened 3 years ago
I just loaded your exact script into the Blender "Scripting" GUI (without doing anything else) and got the following:
Can you further explain what you expect to see here?
@TylerGubala Thank you for you response I think the correct render results should like below:
If you can use blender import the model and alt +z render it, you can see the results looks like above.
But that's not what you said, you said that when running the script in Blender GUI you were seeing the correct result.
But it looks like you are not running the script, but rather that you are pressing the render button.
I think you need to ask on Stack Exchange about how to render the result you want using Python, because bpy seems to create the same result as Blender, all things (your script) considered equal.
On Thu, Mar 4, 2021, 10:48 PM wangsen1312 notifications@github.com wrote:
@TylerGubala https://github.com/TylerGubala Thank you for you response I think the correct render results should like below:
[image: model] https://user-images.githubusercontent.com/11545246/110064676-d1fc3f80-7d2a-11eb-840a-d6fdec7d413b.png
If you can use blender import the model and alt +z render it, you can see the results looks like above.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TylerGubala/blenderpy/issues/81#issuecomment-791131661, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFLEYR7IGSSY2TS3UXDEDR3TCBIBTANCNFSM4YJTQ47Q .
I have load the gltf model and try to render it, but bpy script seems not working!
Render Code:
The model is attached: model.zip
bpy render results:
blender GUI:
I have tried on Windows and Ubuntu, the bpy results are the same.