User posts Yuri Kovelenov
16 September 2015 11:22
Ответ на сообщение пользователя crazyFolker
Hi Yuri,
I was more thinking of them as a UI option, as selectable is in there. Highlighting an object after selecting is probably not something that would happen too often ( an actual 3D model change might be more common ), however highlighting to indicate that the object is selectable to the user ( either time based, or on roll-over ) might be a more common usage of the effect.
I see. I think the main reason we didn't implement it as an UI option yet is that this feature can be used only on desktop computers with the mouse. Touch screen devices have only "clicking" ability, while we want to achieve consistency across all platforms. For the same reason we have no keyboard events in our logic editor, and so on.
16 September 2015 10:18
Nice to meet you Serge and welcome to this forum!
The exact API methods depend on your camera type (i.e. TARGET, EYE, HOVER or STATIC).
For example, in order to set position of a TARGET camera, you can use the set_trans_pivot() method of the camera module.
Please see these code snippets to get an idea about how to use the camera API:
https://www.blend4web.com/apps/code_snippets/code_snippets.html?scene=camera_animation
https://www.blend4web.com/apps/code_snippets/code_snippets.html?scene=camera_move_styles
Feel free to ask further questions.
The exact API methods depend on your camera type (i.e. TARGET, EYE, HOVER or STATIC).
For example, in order to set position of a TARGET camera, you can use the set_trans_pivot() method of the camera module.
Please see these code snippets to get an idea about how to use the camera API:
https://www.blend4web.com/apps/code_snippets/code_snippets.html?scene=camera_animation
https://www.blend4web.com/apps/code_snippets/code_snippets.html?scene=camera_move_styles
Feel free to ask further questions.
16 September 2015 08:01
16 September 2015 07:55
Oh, sorry I misunderstood the question. We used HTML/CSS formatting for annotations in our Dairy Plant demo. There is no limitations on HTML content you can insert - we even tried streamed videos! See this code snippet to get an idea how to use "custom" annotations.
15 September 2015 15:40
You can find more info about camera settings in the manual.
I've also made a simple example for you using Google maps.
map_example.blend
map_example.html
I've also made a simple example for you using Google maps.
map_example.blend
map_example.html
15 September 2015 10:54
15 September 2015 10:52
Title and Description entries for Meta Tags are exported as generic text to JSON together with other scene data. You can easily retrieve this information in your app and use for whatever purpose. In our "standard" webplayer these entries are used to update corresponding HTML <meta> tags of the web page to be displayed in browser.
15 September 2015 10:42