Форум

Сообщения, созданные пользователем Юрий Ковеленов
07 сентября 2017 14:26
Hello!
I have changed the model's texture use change_image API of texture,then I want to save the changes I have done,but I have no idea what should I do,in other words,how could I export a changed model.
There is no a possibility to export something from the browser, but you can save the configuration of your model using browser technologies:
1. save it in URL, for example: link
2. save it in local storage or local database of the browser
3. save it in the webserver database
Руководитель проекта | VK | Twitter | Facebook | Linkedin
07 сентября 2017 14:18
можно еще попробовать JSON-формат, там файлы компактнее
https://www.blend4web.com/ru/community/article/302/
Руководитель проекта | VK | Twitter | Facebook | Linkedin
06 сентября 2017 11:39
Solved. leap-0.6.4.min.js is not referenced in the HTML file of the new project.
Good catch! We have to fix that for the next update/release. Keep us posted about any issues you encounter with Leap Motion, and thanks again!
Руководитель проекта | VK | Twitter | Facebook | Linkedin
05 сентября 2017 16:55
Did I put it in, do you need any setting for the sun or the camera?
I was wrong: it actually works with Sun, Spot and Point lamps as well.

Here is my setup: I just appended the lens flare object to the default Blender scene, and rotated both the camera and the lamp a bit.
untitled.blend
lense.html

So I guess there is something else that prevents you from seeing it. Can you attach here a minimal example file?
Руководитель проекта | VK | Twitter | Facebook | Linkedin
05 сентября 2017 16:22
в SDK есть пример, можно его посмотреть
Руководитель проекта | VK | Twitter | Facebook | Linkedin
05 сентября 2017 16:20
Also make sure you have a Sun lamp in your scene.
Руководитель проекта | VK | Twitter | Facebook | Linkedin
05 сентября 2017 15:29
"Texture" это название текстуры в Blender.
Руководитель проекта | VK | Twitter | Facebook | Linkedin
05 сентября 2017 14:20
По всей видимости, тут уже не обойтись без редактирования кода движка.
Руководитель проекта | VK | Twitter | Facebook | Linkedin
05 сентября 2017 14:18
Спасибо, мы посмотрим
Руководитель проекта | VK | Twitter | Facebook | Linkedin
05 сентября 2017 12:56
Hello!
Can you upload the source Blender file?
Руководитель проекта | VK | Twitter | Facebook | Linkedin