Forum

User posts Marcos Calvi
02 September 2016 18:34
Hello:

I have just updated to version 16.08 and several of my apps have stopped working.

In the console I got the error:
 Error: Module "__subscene" not found           b4w.js:207:27


Have I made some mistake installing the update? I have exported the scenes from blender again and still doesn't work. I'm working with the json/bin export. The error appears just at the beggining of the loading proccess even before the app.init is called. I'll keep trying…
10 August 2016 16:17
It worked at last. The code snippet is pretty clear. I think it at first it didn't worked for some issue with the unwrap, I'm not quite sure.
Thanks for your help.
09 August 2016 17:53
Ok, thank you, I'lltry it.
09 August 2016 17:20
I hope I don´t bother you with so many questions, but…

How do you pass the canvas element you want to render to a texture? In the manual it talks about defining it in blender texture export options but the text input field is gone in blender 2.77 with b4w 16.07. I'm trying to use the methods in new_year project but I can't still get there… Any hint?

I see there is an increase in performance in the last update. Good work.
07 August 2016 22:58
Well, I have been taking a look at the api to learn a little more about config. I´ve learned that there are several modules that have something to do with config: module config, module app, even scenes module seem to have something to do with config. But I came up with some questions:

· Why some of the settings in the config module fail to be accessed and response with an error:
B4W ERROR: Unknown config property: max_fps print.js:74:5
B4W ERROR: Unknown config property: shadows print.js:74:5
B4W ERROR: Unknown config property: reflections print.js:74:5

This is both setting them in the app init setting array and by passing them through set(var, value).

. Other thing I don't understand is the way the engine adjust the quality modes, I have adjust some settings using the
quality: m_cfg.P_CUSTOM
variable in app init but reflections still don't show.

Can someone explain some of these things?
06 August 2016 01:18
Hi:
I've been taking another look on it and I've made another little scene with a couple of cubes and a plane and everything works ok. The setup of the reflective objects is the same in the other scene. Maybe it has something to do with the system resources as the big scene is rather overloaded. I'm going to take a look at the system quality levels to see if it is the system that is cutting the quality or something like that…
05 August 2016 14:06
All right, it's very interesting that part too.
Cheers
05 August 2016 13:22
Is there any reflections tutorial available? I am stucked with a simple reflection and I don't get what I'm missing. I have a planar object set to reflective type plane the show reflection activated and have other object set to reflexible and I have the reflections on in the render panel and still nothing happens.
Any help?
05 August 2016 12:21
Hi:
I've been working with the material library and it is very good for the transparent and metal materials but I have experienced two problems. One, when I export the scene the whole material library goes into the deployed app in the rar, then the rar is 30+ mb big. How can I export the scene with just the materials I use? I have tried to do it manually looking for the files that go with the materials but I got completely lost. Specially the glass, I can't get how it's done. Metal seems easier as it is a reflection map if I remember well. Can someone give me a hint to know what I have to keep in the deploy?

The other thing is that when I exported the scene to github page in here if you see it becomes super lightened. I don't know why is this, in all the other steps, fast preview, dev file and compiled file the lightning was ok.

Well, that are my problems, any help will be welcome.
05 August 2016 12:01
Hi, Kirill. I've been trying your scene, and it is quite nice. You have several tricks that I want to implement: reflection on transparent objects is something I haven't quite get, and it's cool, and the dynamic grass is awesome too. I still haven't tried the climbing ramps neither, I think it should work ok with the character movement. Nice work. You have the logic for the FPS almost done. One little thing you should fix I think is jumping, if you jump and press a movement key it responds so it is not so realisticI haven't done it yet in blend4web but in blender it's done with the old collision trick.One other thing is the menu, I don't have a clue what it says as I'm from Spain and Russian is like Chinese to me.Very nice anyway.

On other side I have tested my movement and it does work pressing one key while keeping the other pressed. No problem in that. It's a bit strange anyway. The first time I tried with the walk and strafe keys controlled from the same method it didn't work but with the walk and strafe methods side by side it does.

Thank you for the feedback, keep on with the work, it's very cool. I hope I see your progress.