User posts pakirrote
28 January 2016 16:40
Ответ на сообщение пользователя Evgeny Rodygin
Hello,
Currently, blurred realtime reflections are not possible. Actually, much depends on what kind of decisions will be taken for the Blender's future Viewport realization, so that we don't have to invent something incompatible with Blender's rendering model. Anyway, in not so distant future it will be possible.
Thanks Evgeny Rodygin.
25 January 2016 12:59
22 January 2016 15:43
Hi Roman,
Thanks for the swift response.
Not there yet, I'm afraid I didn't properly explain what we are trying to achieve.
With your code, the outline does not loop, but it does the complete off-on-off cycle on its own. What we need is for the effect to not have a specific duration, but rather to apply the outline with a static intensity and keep it static indefinitely (till we disable it via another function, we are currently using clear_outline_anim for that).
Hope this makes the issue clearer.
Thanks again.
Thanks for the swift response.
Not there yet, I'm afraid I didn't properly explain what we are trying to achieve.
With your code, the outline does not loop, but it does the complete off-on-off cycle on its own. What we need is for the effect to not have a specific duration, but rather to apply the outline with a static intensity and keep it static indefinitely (till we disable it via another function, we are currently using clear_outline_anim for that).
Hope this makes the issue clearer.
Thanks again.
22 January 2016 13:54
Hi,
We got a scene with several outline-able objects. It's a first-person walk kind of project, so there is no mouse pointer, and objects are interacted with via collisions and so on.
We use the outlining feature to hint interactivity to the user; as there is no mouse pointer, we enable the outline with the API call apply_outline_anim(). Problem is, this function seems to always make an intensity animation cycle effect. We'd rather make this static in intensity (maybe fade in and out on activation and deactivation, but no looping animation), just like the mouse hover outline effect does.
We tried various parameter values for the apply_outline_anim() with no success, and looked for a similar function without the _anim component but found none.
Any help would be much appreciated.
Thanks a lot.
We got a scene with several outline-able objects. It's a first-person walk kind of project, so there is no mouse pointer, and objects are interacted with via collisions and so on.
We use the outlining feature to hint interactivity to the user; as there is no mouse pointer, we enable the outline with the API call apply_outline_anim(). Problem is, this function seems to always make an intensity animation cycle effect. We'd rather make this static in intensity (maybe fade in and out on activation and deactivation, but no looping animation), just like the mouse hover outline effect does.
We tried various parameter values for the apply_outline_anim() with no success, and looked for a similar function without the _anim component but found none.
Any help would be much appreciated.
Thanks a lot.
19 January 2016 23:25
19 January 2016 15:49
Reply to post of user Evgeny Rodygin
There is no code which deals with character->objects interaction under your link, so If I understood you correctly, you want to use mouse position to check if there are some interactive objects on the screen. Actually, there are better/easier solutions exist.
First - you can just use the center of the screen to check for objects. The center is canvas width/2; canvas height/2. Then x,y can be used in the https://www.blend4web.com/api_doc/module-scenes.html#.pick_object function like this:var canvas = m_container.get_canvas(); var x = canvas.width; var y = canvas.height; var obj = m_scenes.pick_object(x, y);
But this solution is not the fastest one.
The best approach is to use physical "picker" which must be parented to the camera and to register if it is in collision with some required object.
Thanks!! :)
14 January 2016 18:29
Reply to post of user Yuri Kovelenov
Hi,
Could you please provide some details on what you're trying to achieve? Maybe some links or videos? Thanks.
I'm creating a scene first person test. And to interact with objects.
The problem is that when I want to interact with them is difficult, if the mouse was hidden without being in the center of the screen. Also when I do not click on the canvas first, the "W", "A", "S", "D" keys, move in reverse direction.
My code: http://pastebin.com/1tXVSrrN
Blender 2.76b
Blend4web 15,12,0
Thanks.
12 January 2016 13:53
08 January 2016 15:37