Forum

User posts ien
25 July 2020 18:00 [ON MODERATION]
ien
Hi Blend4web,

I am, after discovering Blend4web a few months ago, certainly a fan of Blend4web and very happy that it exists. However, I have unfortunately had some trouble setting up an application that requires a lot of actions that respond to buttons that can be clicked by users. When launched, it runs quite well, but when having clicked a few buttons it seems to get increasingly slower.

While the HUD info (of the fast preview viewer) does not show a memory leak (see attachment 1), running the dev. html from the browser (via project manager) does show a memory leak. Clicking around for approximately one minute, has doubled the memory use (see attachment 2a for starting values and 2b for values after a minute of clicking around).

Having a closer look, it shows that _sensors_cache_ keeps increasing (see attachment 3). It seems as if new sensors keep getting created.

I have already disabled physics and reduced the amount of entry points in my logic nodes, but still it is running too slow.

I am not sure why this is, and why this is triggered in the case of my application. It does however seem like a bug and I would be very, very grateful if this could be solved. (Especially as I am dealing with time constraints and I have absolutely no idea how to fix this.) I look forward to your reply. Please let me know if anything is unclear.

Best regards,
Ien
25 July 2020 17:57 [ON MODERATION]
ien
Hi Blend4web,

I am, after discovering Blend4web a few months ago, certainly a fan of Blend4web and very happy that it exists. However, I have unfortunately had some trouble setting up an application that requires a lot of actions that respond to buttons that can be clicked by users. When launched, it runs quite well, but when having clicked a few buttons it seems to get increasingly slower.

While the HUD info (of the fast preview viewer) does not show a memory leak (see attachment 1), running the dev. html from the browser (via project manager) does show a memory leak. Clicking around for approximately one minute, has doubled the memory use (see attachment 2a for starting values and 2b for values after a minute of clicking around).

Having a closer look, it shows that _sensors_cache_ keeps increasing (see attachment 3). It seems as if new sensors keep getting created.

I have already disabled physics and reduced the amount of entry points in my logic nodes, but still it is running too slow.

I am not sure why this is, and why this is triggered in the case of my application. It does however seem like a bug and I would be very, very grateful if this could be solved. (Especially as I am dealing with time constraints and I have absolutely no idea how to fix this.) I look forward to your reply. Please let me know if anything is unclear.

Best regards,
Ien
01 June 2020 22:45 [ON MODERATION]
ien
Hi all,

I have a problem with using the transform object node. I want an object to move to a certain location when another object is clicked. I have tried to use the select node in combination with the transform object node to specify the new location when the other object is clicked. Before, that has always worked fine, but now when I view it (in the fast preview or through the html file in the project editor), it moves to the wrong location.

I have tried unparenting it from everything and applied the location, rotation and scale to the object. But nothing seems to fix the problem. I can move it to a relative location, setting the transformation in the node to 'local', that seems to work fine. But I need the object to have an absolute location, as I should be able to specify where it should go back to.

Does anybody have an idea where I'm going wrong? I would be very grateful for any of your help, thanks in advance!
28 May 2020 18:56
ien
Hi all,

I tried to post before, but I think it didn't come through. Sorry if it did and this post is double!

I'm not sure if starting a new topic is better to do, but this one matches exactly what I'm trying to achieve. I am creating an interactive tool in blend4web and I want to create a button that links to a questionnaire on another page. People have to be able to get back to where they were in the tool, so the easiest solution seemed to me to open the questionnaire in another tab or window.

Unfortunately it doesn't seem to be as simple as I had hoped for and I have barely (if any) experience with javascript and using a custom funtion to be called by the js callback node. So I have no idea where I'm going wrong with this.

Could anybody help me a bit further on this? Maybe by elaborating (even further) on how to write this function and how to be sure that it is called by the callback node. Or by taking a look at my javascript file?

I would be very grateful for any of your help, as it is starting to get a bit frustrating by now
28 May 2020 18:11 [ON MODERATION]
ien
Hi all,

I'm not sure if it is best to start a new topic or to reply on an old topic, but this matches exactly what I am looking for.
I am quite new to blend4web and I would like to have a new page open in a new window. I have found the 'page redirect' node in the blend4web node editor and that all seems to work fine, but I just can't seem to get it to open in a new tab. I have tried to create a custom function that can be called by the js callback node but I have not enough experience to see where I'm going wrong.

Could anyone help me out a bit, maybe with an (even more) elaborate description on how to write this function and how to implement it into my javascript file. Or could someone take a look at my file?

I would be very grateful for any help, because it's getting quite frustrating