Forum

boolean animation

20 October 2015 11:23
Well, you must create those animations, if you want to use them
Or choose video example, make three markers on 0.200 and 400 and work with the markers.

I recommend learning more about working in Blender first, it will save lots of your (and our) time later There's bunch of video tutorials about just everything in Blender, including animation - Blend4Web uses lots of interesting but complicated Blender things, such as NLA, for example
27 October 2015 11:02
seb
Hello I would like some help for the last part of my project.
I have tried to put a glow effect on the rolls when I have my mouse on. I have this error : "Uncaught Unknown keyframe intepolation mode: 10.896549224853516". I think it is because of the keyframe but I do not understand why?
I took example on this project to realise the glow effect : https://www.blend4web.com/en/forums/topic/242/

I include all of the textures this time so you can see what is looks like
Thank you for you help
27 October 2015 15:52
Ответ на сообщение пользователя seb
Hello I would like some help for the last part of my project.
I have tried to put a glow effect on the rolls when I have my mouse on. I have this error : "Uncaught Unknown keyframe intepolation mode: 10.896549224853516". I think it is because of the keyframe but I do not understand why?
I took example on this project to realise the glow effect : https://www.blend4web.com/en/forums/topic/242/

I include all of the textures this time so you can see what is looks like
Thank you for you help
Hello,
You are using an interesting approach for creating your application.
untitled.html was create by exporting the whole scene with export html. So, it already contains b4w engine inside itself. Thus, it is a bad idea to include other versions of b4w.full.min.js (which is in your case something around 14.12) and any other scripts into it.
When you write an application you need to use Export JSON method. I suggest reading this simple article in order to understand how this suppose to work.
27 October 2015 20:08
seb
Well I know I am not very good at it but how can I include javascript in order to make an action like onmousehover?
This is the only example I found about how to do it…
I work by myself and it seems really hard to found informations about it.
But thank you anyway for your help
27 October 2015 20:21
Well I know I am not very good at it but how can I include javascript in order to make an action like onmousehover?
Hi,

You can do this by using the m_mouse.enable_mouse_hover_outline() method.
See also this tut.

https://www.blend4web.com/en/article/95/
The Founder | Twitter | Facebook | Linkedin
28 October 2015 12:47
seb
I read this but I cannot use project manager because it gives me this error :" 500: Internal Server Error".


I also try to use this script :

<!DOCTYPE html>
<html>
<head>
<script src="b4w.min.js"></script>
<script>

var m_app = b4w.require("app");
var m_data = b4w.require("data");

m_app.init({
canvas_container_id: "container_id",
callback: load_cb
})

function load_cb() {
m_data.load("untitled.json", loaded_cb);
}

function loaded_cb() {
m_app.enable_controls();
m_app.enable_camera_controls();
}

</script>
</head>

<body>
<div id="container_id" style="width: 350px; height: 200px;"></div>
</body>

</html>


my scene is loaded I think because I have the same warnings in my debugger's navigator but my screen is completely white…
28 October 2015 13:13
Hey seb,
Not sure if this will help but version 15.10 preview version is available for download. I just did a video on setting up a project in the Project Manager using this version.
https://www.youtube.com/watch?v=grgKti6qwSI
28 October 2015 14:46
seb
Yes it solve the problem about internal server error! thank you again Will!!

I will try to it with the project manager this time!
28 October 2015 16:11
seb
ok now it is more easy to understand what you talked about in the tutorial. it is really usefull this project manager!

I have an error now : Uncaught TypeError: Cannot read property 'addEventListener' of undefined

I try to use the same organization as this tutotial : https://www.blend4web.com/en/article/23/
28 October 2015 16:20

I have an error now : Uncaught TypeError: Cannot read property 'addEventListener' of undefined

This is because you put a wrong argument in the loaded callback, namely canvas_elem. That's why it is undefined.
https://www.blend4web.com/api_doc/module-data.html#~LoadedCallback
The Founder | Twitter | Facebook | Linkedin
 
Please register or log in to leave a reply.