论坛

由用户创建的信息 drewpotter
03 January 2017 01:10
Thanks!
30 December 2016 22:19
Hi all,

Hope you are all having a great holiday season!

I am remaking an App I wrote when I was still at college when I was 17 in my Physics class. It was a simulation of a water surface, subdivided into a grid of squares. On this grid I applied the wave equation which would simulate the water surface.

Now I want to make this in Blend4Web… however, in your great experience (better than mine), would it be best to write the algorithm in C++ and convert to JavaScript using Emscripten or use direct JavaScript?

This is because I have no idea what would be more efficient!

Thanks!

Andrew

PS. I noticed that uranium uses C++ and Emscripten inside the Blend4Web code!
PS. Is there a way to change my email address associated with my Blend4Web account? I think that I'm not getting emails because I changed my email account.
18 November 2016 21:01
@Will thanks for that. I will defo be going PRO soon after a few more paycheques have arrived.

I have filed an issue on GitHub with the bootstrap-sass Ruby gem that I am using, anyone using Rails and Bootstrap may find this useful, hopefully there will be some answers;

https://github.com/twbs/bootstrap-sass/issues/1094


I found something on StackOverflow also:

http://stackoverflow.com/a/11841935/6888582
17 November 2016 23:46
Looks like Bootstrap conflicts with Blend4Web!

When I comment out my bootstrap include in my CSS it fixes everything.

Now I have to find a way to prevent Bootstrap from conflicting with Blend4Web's annotations!!

I will keep you posted about a possible fix for this

One option is to wrap the entire Bootstrap CSS inside a wrapper, but I would like to avoid this if possible..

If anyone has this issue please read this guide; https://formden.com/blog/isolate-bootstrap
15 November 2016 23:09
Hello,

Update: Looks like Bootstrap conflicts with Blend4Web! Please see my post below!

I have created a semi-transparent overlay on top of my Rails web App - where I initialise Blend4Web - and I am currently testing with one of your demo scenes - the solar system - in order to test my code.

However, I have noticed that the annotations are missing the bottom part of the text. I was just wondering if there was anything I should look for to debug this? I have tried using Chrome's debug console etc.

I have found the line which is causing it to not display correctly:

element.style { height: 105px; }


When I uncheck this in Chrome it renders perfectly!

I have attached a screenshot.

I realise I will definitely have to get the PRO license so I can get technical support from you guys, because I am getting increasingly technical with what I am working on.

Thanks,

Andrew
08 November 2016 21:15
Thanks for that.

I will go with "blend4web-rails" but I will keep it AGPLv3 and will specify that it is unofficial.

And I can also mention that to get a commercial license they must go to you guys for a commercial Blend4Web license.

04 November 2016 16:02
Hi guys,

I wanted to check if it was okay to use the name "blend4web-rails" for a RubyGem that I want to make to simply include the necessary Blend4Web files for any Rails App.

Is there any preference over the name? Like "b4w-rails" instead?

I don't want to confuse people by making them think that somehow the RubyGem I am making is somehow an official gem made by you guys.

But I just need a clean way to add Blend4Web into my Rails 4/5 Apps.

Thanks,

Andrew
04 November 2016 00:12
Hello,

I have recently decided to make Blend4Web a core part of my e-learning project. Which is currently a 2D site using Ruby-on-Rails. I am also using a JavaScript library called masonry.js which assembles posts in a nice brick-like fashion on the page.

Now what I want to do with Blend4Web, is to have a special button that you activate which will turn the e-learning site into "3d mode" using WebGL. "3d mode" will bring various 3d objects into view which you can interact with in 3d.

I have lots of questions, hopefully not too bothersome. The questions I have are:

1. Is it possible to seamlessly transition between a 2d standard masonry.js site into some kind of 3d mode where you have the same 2d overlay over the top of a 3d background scene?

2. If it can't be done seamlessly, is there a way to make the transition sort of look nice?

3. Do I need to start off with a Blend4Web 3d scene and just simply make a 2d overlay of my existing code, so that it is always using Blend4Web and hence no need for a transition because it is 3d from the moment you load the page? Is a 2d HTML overlay a good idea and can it work?

4. Is there a way to toggle a sort of fullscreen mode for the use of WebVR?

5. Slightly off topic, but does anyone know of a good JavaScript library for doing Augmented Reality type coding using the device's camera. I know about: argon.js

Sorry for the long post and so many questions!

Andrew
23 March 2016 15:35
Just an update; the bug has been isolated to a Windows 10 graphics driver glitch.

It has nothing to do with Blend4Web or Edge browser :-)
09 February 2016 15:17