论坛

由用户创建的信息 ToshiCG
27 November 2015 10:25
Great, thanks a lot for the example!
26 November 2015 05:28
Hi

I am trying to have the ability to mask parts of objects out so that the background is visible where things are masked out.I use a static camera for my project so that makes things a bit easier.
The app user has to be able to "paint" on the canvas which would reveal the background behind the 3d objects.

One solution I was thinking of is to have background and foreground that match perfectly and the the foreground starts out masked out (black alpha map). Then the user can interactively paint the alpha map which would reveal the foreground and create the illusion of masking.
However I am not sure how to realize the painting part :)

Do you think something like this is possible through the API or do you think it would be better to use some other technology "on top" of b4w? Any pointers are welcome!
13 November 2015 03:49
Great! Yeah, I'd say such a feature can be useful in piratical scenarios.
12 November 2015 03:50
Here is exactly what I mean. Notice how the shadow becomes less dense as the Strength parameter decreases.


11 November 2015 05:21
Hi
maybe I'm missing something but I think in Environment Lighting you can setup the ambient lighting strength which does help with shadows, however it also brightens or darkens the whole scene.
What I am suggesting is the ability to tweak the shadow "density" per light source. I think this options is not available in blender but I've used such a feature with 3ds max' shadow maps as well as unity shadow maps and it sure does come in handy in some situations . :)
10 November 2015 11:27
It would be nice to have control over the intensity/darkness of the shadows that are being cast from lights. It could be a light property (makes most sense to me) or per object or something. :)
09 November 2015 07:18
Worked great, thanks!
09 November 2015 03:10
It was 41.0.2 that I just updated to 42.

PC specs:
core i7-2700K 3.50ghz
8gb ram
NVIDIA Quadro 2000D (could this be the culprit? lol)
Windows 7 64bit professional

But as I said the crashes used to happen on firefox but not on chrome so it seems to me that it is browser related.
05 November 2015 11:56
Thanks for the info.

I am still a bit worried about my current project. Basically I have one important project in app_dev.
What would be the steps to update the SDK and then the project?
Would it work to:
  • copy the project folder
  • update the sdk
  • copy the folder back to app_dev ?
  • or
  • Import my project somehow ?

  • I am not quite sure about the last step…
    05 November 2015 03:46
    I've been using blend4web for a while and I can say that when I have any bled4web app running in any tab, firefox becomes prone to crashes. Even having blend4web.com open causes crashes because of the interactive webGL logo (I assume). I am not sure if this is directly related to blend4web or if it's more of a problem with firefox itself.

    There are no such problems under chrome.

    Let me know if there is any data/crash logs I could send you about this.