由用户创建的信息 nee-
04 March 2016 15:53
04 March 2016 14:25
Hi Pavel,
I watched your video but I seem to be missing some options that you had.
After you parent the plane to the camera, you have a setting called viewport alignment checked. I do not have this setting. Am I missing a plugin for it?
Exporting the scene without this seemed to not preserve the plane's size. So I think it might be connected.
Thanks once again!
You've been a huge help!
I watched your video but I seem to be missing some options that you had.
After you parent the plane to the camera, you have a setting called viewport alignment checked. I do not have this setting. Am I missing a plugin for it?
Exporting the scene without this seemed to not preserve the plane's size. So I think it might be connected.
Thanks once again!
You've been a huge help!
24 February 2016 12:41
22 February 2016 23:53
Hi,
I wanted to try have a video play in the background of my scene.
In Blender I have been doing this by creating a video texture for the word so that it the video would take up the entire area seen by camera, even as the camera moves around the scene. And this is able to render out correctly in Blender.
I was hoping I could do something similar in Blend4Web. When I tried to export the scene out as a html page however I get an error message for the world texture, which is my video.
I made sure the video texture I was using is the webm format, but I am still encountering this problem.
When I remove the video texture I am able to export out the scene with no issues, ie the camera and models all act as expected.
Am I approaching this correctly, or should I be trying something different to achieve this?
Thanks!
I wanted to try have a video play in the background of my scene.
In Blender I have been doing this by creating a video texture for the word so that it the video would take up the entire area seen by camera, even as the camera moves around the scene. And this is able to render out correctly in Blender.
I was hoping I could do something similar in Blend4Web. When I tried to export the scene out as a html page however I get an error message for the world texture, which is my video.
I made sure the video texture I was using is the webm format, but I am still encountering this problem.
When I remove the video texture I am able to export out the scene with no issues, ie the camera and models all act as expected.
Am I approaching this correctly, or should I be trying something different to achieve this?
Thanks!
18 February 2016 23:55
Hi Evgeny!
Thanks so much for replying.
I was hoping to carry out the automation for a college project I'm working on. Would it be possible for me to try to recreate the code within anim_baker in order to run the functionality as part of a batch job?
I would send any working code I manage to write to you guys for your own use, of course.
Thanks again!
Thanks so much for replying.
I was hoping to carry out the automation for a college project I'm working on. Would it be possible for me to try to recreate the code within anim_baker in order to run the functionality as part of a batch job?
I would send any working code I manage to write to you guys for your own use, of course.
Thanks again!
16 February 2016 15:26
Hi,
I was hoping I could automate the export of html files from Blender using Python scripts. I want to be able to run a batch script that will take the animation, bake any actions that require it, and then export it out. Preferably this would all run as a background script (as in with no GUI).
I am able to export the file out through running scripts at the command line with Blender, with no issues.
It's when I try to bake actions prior to export, I have been encountering issues.
In the .blend file I have attached. It contains a model that is rigged with Rigify and whose actions need to be baked. I am able to manually bake its actions and then export it to a file and have it run correctly in the browser. Running a script following the same steps, I am not able to get the same result when I export.
Originally I was unable to call the Blend4Web bake through the script due to context issues. It started out being a problem relating to running scripts in the background. As the anim_bake script uses the context.area.type when running, which does not exist when run without a GUI. Removing the background flag (so the script would run as the Blender GUI opened) when calling Blender removed this problem.
When I run it then it will bake the action but not in the desired way. It seems to fix my model to it's final rigged position and only apply location key framing.
I then tried a different approach, using the NLA bake native to Blender, as this is able to run through a script with Blender's background flag set. However when I do this and export the resulting file has distortion in the model's animation.
In my code I followed every step of the tutorial posted on the forum for NLA baking, but still was unable to remove the distortions. Even following the process manually I had the same results.
Would you have any idea what might be going wrong with the steps I'm taking? Or do you have a better way to carry out the action bake?
As mentioned I've attached the .blend file I was using. And I have also attached my script, which shows both methods I have tried in order to bake the animation. I'm using Blender 2.75.
Many Thanks!
I was hoping I could automate the export of html files from Blender using Python scripts. I want to be able to run a batch script that will take the animation, bake any actions that require it, and then export it out. Preferably this would all run as a background script (as in with no GUI).
I am able to export the file out through running scripts at the command line with Blender, with no issues.
It's when I try to bake actions prior to export, I have been encountering issues.
In the .blend file I have attached. It contains a model that is rigged with Rigify and whose actions need to be baked. I am able to manually bake its actions and then export it to a file and have it run correctly in the browser. Running a script following the same steps, I am not able to get the same result when I export.
Originally I was unable to call the Blend4Web bake through the script due to context issues. It started out being a problem relating to running scripts in the background. As the anim_bake script uses the context.area.type when running, which does not exist when run without a GUI. Removing the background flag (so the script would run as the Blender GUI opened) when calling Blender removed this problem.
When I run it then it will bake the action but not in the desired way. It seems to fix my model to it's final rigged position and only apply location key framing.
I then tried a different approach, using the NLA bake native to Blender, as this is able to run through a script with Blender's background flag set. However when I do this and export the resulting file has distortion in the model's animation.
In my code I followed every step of the tutorial posted on the forum for NLA baking, but still was unable to remove the distortions. Even following the process manually I had the same results.
Would you have any idea what might be going wrong with the steps I'm taking? Or do you have a better way to carry out the action bake?
As mentioned I've attached the .blend file I was using. And I have also attached my script, which shows both methods I have tried in order to bake the animation. I'm using Blender 2.75.
Many Thanks!