由用户创建的信息 pakirrote
04 May 2015 12:40
I need play on first load only play one animation nla.
And Cyclic mode because need when user press one object animation play work.
I tired this for autoplay nla action:
(My NLA is select and play)
function start_play_auto(){
var play_obj = m_scenes.get_object_by_name('boton');
m_anim.stop(play_obj);
m_anim.set_frame(play_obj, 0);
m_anim.apply_def(play_obj);
m_anim.play(play_obj);
console.log(play_obj);
}
function load_cb(data_id) {
m_app.enable_camera_controls();
m_mouse.enable_mouse_hover_outline();
start_play_auto();
}
But I do not get it to work…
any suggestions?, Thanks.
And Cyclic mode because need when user press one object animation play work.
I tired this for autoplay nla action:
(My NLA is select and play)
function start_play_auto(){
var play_obj = m_scenes.get_object_by_name('boton');
m_anim.stop(play_obj);
m_anim.set_frame(play_obj, 0);
m_anim.apply_def(play_obj);
m_anim.play(play_obj);
console.log(play_obj);
}
function load_cb(data_id) {
m_app.enable_camera_controls();
m_mouse.enable_mouse_hover_outline();
start_play_auto();
}
But I do not get it to work…
any suggestions?, Thanks.
30 April 2015 19:09
30 April 2015 18:19
13 March 2015 15:09
Ответ на сообщение пользователя Yuri Kovelenov
The PBR question is very wide and somewhat fuzzy. It is quite difficult to say what features is enough to get PBR support in the engine. As far as I know Blender does not have such concept as PBR.
See for example these links
http://www.elysiun.com/forum/showthread.php?343278-GLSL-PBR-Shader-for-viewport
https://extremeistan.wordpress.com/2014/10/07/experimenting-with-physically-based-rendering-in-blender-cycles/
interesting.
Thanks for links!
https://twitter.com/tonroosendaal/status/575367052325699584
12 March 2015 18:00
Ответ на сообщение пользователя Yuri Kovelenov
Yep, it's much more, but that's that we have now. Some effects are possible to achieve using node materials.
Integrating Spritesping or any other web-based solution should not be a problem. Just check that WebGL is unavailable via JavaScript and make Spritesping content replace the 3D content.
All right.
And this in future plans to implement pbr, or depends to blender the developing first?. I have read that they will implement pbr in the viewport of blender, with a little luck in the BGE also…. Thanks again!.
12 March 2015 16:48
Ответ на сообщение пользователя Yuri KovelenovYes… But… Pbr is not only Enviroment lighting….
Hi,
Check this manual section.
Sure. This will require a bit web programming though.
and I was not referring to implement Spritesping myself…
Thanks for reply.
09 March 2015 12:26
Support for pbr is possible?.
And if your device dont support webgl you can use this alternative or similar by default?: http://spritespin.ginie.eu/examples.html
Thanks.
And if your device dont support webgl you can use this alternative or similar by default?: http://spritespin.ginie.eu/examples.html
Thanks.