Форум

Сообщения, созданные пользователем laishi
01 марта 2015 13:04
Thanks!

I want set width to 100% ,plz fix my code

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

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

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

function load_cb() {
    m_data.load("Monkey.json");    
}

function on_resize() {
    var w = window.innerWidth;
    var h = window.innerHeight;
    m_main.resize(w, h);
}

</script>
</head>

<body id="body_id"></body>

</html>
28 февраля 2015 20:39
Here is video tutorial to help you too https://www.youtube.com/watch?v=Q_srhZvCIgY

If use this code

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

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

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

function load_cb() {
    m_data.load("/Json/Monkey.json");
}

</script>
</head>

<body id="body_id"></body>

</html>


But

3D objects in Brower very small , how to set width to 100%
How incude image file in bin file? pack all in .blender?
25 февраля 2015 17:11
double side lighting not working

Download

setting not Correct?
25 февраля 2015 16:45
Each question can learn a lot of new knowledge, thanks+++! But do not want to delay your development schedule.

Begin to see the Blend4Web 15.02 Released, Integrate Blend4Web-specific nodes and more functions.
so happy! Great! Love B4W.

My biggest concern now is the B4W annotations, below is my personal feeling,:



Of course, NLA Script and not specifically for the annotations provide solutions, it will have more useful.
Only hope to bring you more inspiration!

I even naively hoped to join the mouse events and for object Class joins CSS control, of course, that is not necessarily correct, B4W will of course be better solutions.

Finally, Blend4Web-specific nodes exists in the form of Group, but some nodes in only after Input Output, for example: B4W_VECTOR_VIEW NORMAL_VIEW, function is how to realize, understand?

Thank you again for your hard work, bring us a lot of happiness.
25 февраля 2015 08:22
Very helpful with Demo, I understand

In our case ,How to let annotate have been towards the camera
23 февраля 2015 17:23
Very glad to meet you Pavel Kotov
I try to use this simple model test (my own model), but I failed, the reason is because I don't understand the NLA script

Here is this model Download



Can you teach me do this demo,I very much hope to have a feel B4W out, that would be very nice!
23 февраля 2015 11:51
This is my mind:



This is Example:

<iframe src="https://sketchfab.com/models/e6247ba91c6845c2948cdc342dcf3481/embed?ui_watermark=0&ui_stop=0&tracking=0&ui_snapshots=0&internal=1&autostart=1&ui_infos=0" frameborder="0" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" onmousewheel=""></iframe>

This is My question:

B4W Can better achieve it. How to do it ?
10 декабря 2014 11:16
Thank you, yes, I feel B4W is very friendly, to tell us the truth behind, to resolve our doubts.

Also, because we are beginners, will ask a lot of questions, but does not have the ability to make a contribution to the B4W. So I feel very sorry.
I also worry that many issues affecting your work and life, but I will be looking forward to more and better B4W.

So I can put forward some of my personal experience:

1 about the video: can consider to do some demonstration video, this may only see the operation will be able to understand, this is very important, can break the language barrier.
For example, I actually knew that before Blend4web, and later see the video to be able to understand him, only to find that he's really very useful. Even trigger a new round of reform of the internet.

2 about the help documentation: I later found out that my questions actually you are the help document, the scene demonstration, but because no good understanding.
Houdini help documentation I think we can learn from, a node of a demonstration, can clearly know the main application of the direction of its. Even if is not good in English can also know 90% I think it will bring B4W more users.

3 about special node: they exist in the form of a GROUP, the call is not very convenient, you might consider integrated in B4W addons. Because they are very useful.

4: about modular: The formal framework for B4W in a modular to on Blender, such as this image
I feel this can work more focused, ensure that in the Blender and to the Internet are the same, and not every result test. Everyone feels like developers.
Compatibility issues to strong B4W team to solve.

5…

Finally, because we like a thing will often give him find faults, the aim is to hope that he is more perfect. I don't care I was right, I just wanted to let you know:
You in the effort, we in the heart.

Pavel Kotov in my heart like the Steve Jobs so charming, if you have the opportunity to come to China Chongqing, I will treat you with the most enthusiastic way. You can also be understood as I to your invitation.
09 декабря 2014 03:31
Thanks Pavel Kotov,Thank you for your selfless dedication。
09 декабря 2014 03:31
Ha ha, good, through your explanation, see too many reasons, it may be this year I learn the most useful knowledge.