Сообщения, созданные пользователем pakirrote
04 мая 2016 11:13
03 мая 2016 13:01
Reply to post of user Yuri Kovelenov
You can do this in two ways:
1. with the logic editor
example, blend file
2. via API
code snippet
Thanks.
29 апреля 2016 15:23
15 апреля 2016 14:21
my system is Os X
with advanced get error (but simple flag, work well)
with advanced get error (but simple flag, work well)
python3 project.py -p MiProyectname compile -o advanced
ERROR - Cannot read: /var/folders/dc/l6r05ld14_9649b0jfh0830c0000gn/T/tmptkkiglq4.js
1 error(s), 0 warning(s)
ls -al /var/folders/dc/l6r05ld14_9649b0jfh0830c0000gn/T/tmptkkiglq4.js
ls: /var/folders/dc/l6r05ld14_9649b0jfh0830c0000gn/T/tmptkkiglq4.js: No such file or directory
15 апреля 2016 13:47
I have fixed one error when compile with console.
error:
Solution in file blend4web_sdk_free/scripts/lib/project_cli.py line 1542:
This fix for me.
error:
Traceback (most recent call last):
File "project.py", line 44, in <module>
project_cli.run(sys.argv, base_dir)
File "/Users/EDICION5/Downloads/Blend4Web/blend4web_sdk_free/scripts/lib/project_cli.py", line 192, in run
run_compile(args[1:], proj_path)
File "/Users/EDICION5/Downloads/Blend4Web/blend4web_sdk_free/scripts/lib/project_cli.py", line 874, in run_compile
compile_app(**params)
File "/Users/EDICION5/Downloads/Blend4Web/blend4web_sdk_free/scripts/lib/project_cli.py", line 1039, in compile_app
js_paths = exist_js(parser.js, js_files, build_proj_path)
File "/Users/EDICION5/Downloads/Blend4Web/blend4web_sdk_free/scripts/lib/project_cli.py", line 1542, in exist_js
print(item["src"])
KeyError: 'src'
Solution in file blend4web_sdk_free/scripts/lib/project_cli.py line 1542:
for item in included_files:
if len(item) > 0:
if "src" in item:
js_src = normpath(join(app_path_name, item["src"]))
This fix for me.
08 апреля 2016 15:42
08 апреля 2016 15:28
Reply to post of user nils.austa
I modified the source webplayer.min.js
Replace that file in your Blend4web 16.03 install folder and you will get nontransparent hidden anchors when you export from blender.
Good, but this is a unofficial hack…. ^-^
But, thanks!.
08 апреля 2016 14:23
Reply to post of user nils.austa
As far as I can understand, useing Custom Element is not possible with single html output. Am I right?
Anyway 100% unvisibility is possible by modifying source code.
There is "opacity=.1" which must be changed to "opacity=.0" or "opacity=0"
completely_hidden.html
completely_hidden.blend
webplayer.min.js
you have edited the webplayer.min.js or minified code inside html?….
Where you edit opacity to 0?… Thanks.
07 апреля 2016 19:54
Reply to post of user Dmitry Zhiganov
You should use Custom Element anchor type and attach_move_cb function.
Example in the code snippets.
Thanks, I have to review it.