Forum

User posts Perrishnikov
01 June 2015 07:36
Crash Report on Firefox. WebGL/B4W issue?

AdapterDeviceID: 0x0295
AdapterDriverVersion: 9.18.13.783
AdapterSubsysID: 220719f1
AdapterVendorID: 0x10de
Add-ons: %7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D:38.0.1
AvailablePageFile: 11316236288
AvailablePhysicalMemory: 2689634304
AvailableVirtualMemory: 352153600
BIOS_Manufacturer: American Megatrends Inc.
BlockedDllList:
BreakpadReserveAddress: 44367872
BreakpadReserveSize: 67108864
BuildID: 20150513174244
CrashTime: 1433028996
EMCheckCompatibility: true
EventLoopNestingLevel: 1
FramePoisonBase: 00000000f0de0000
FramePoisonSize: 65536
GraphicsCriticalError: |[0][GFX1]: CreateDataSourceSurfaceWithStride failed to initialize Size(890,590), SurfaceFormat::R8G8B8A8, 3560, false|[156][GFX1]: CreateDataSourceSurfaceWithStride failed to initialize Size(890,590), SurfaceFormat::R8G8B8A8, 3560, false|[157][GFX1]: Failed to create similar cairo surface! Size: Size(891,591) Status: 1|[153][GFX1]: CreateDataSourceSurfaceWithStride failed to initialize Size(890,590), SurfaceFormat::R8G8B8A8, 3560, false|[154][GFX1]: Failed to create similar cairo surface! Size: Size(1043,791) Status: 1|[155][GFX1]: CreateDataSourceSurfaceWithStride failed to initialize Size(890,590), SurfaceFormat::R8G8B8A8, 3560, false
InstallTime: 1431992748
Notes: AdapterVendorID: 0x10de, AdapterDeviceID: 0x0295, AdapterSubsysID: 220719f1, AdapterDriverVersion: 9.18.13.783
D3D11 Layers? D3D11 Layers- WebGL? EGL? EGL+ GL Context? GL Context+ WebGL+
OOMAllocationSize: 4096
ProductID: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
ProductName: Firefox
ReleaseChannel: release
SecondsSinceLastCrash: 1277
StartupTime: 1433027931
SystemMemoryUsePercentage: 68
Theme: classic/1.0
Throttleable: 1
TotalPageFile: 17159344128
TotalPhysicalMemory: 8580620288
TotalVirtualMemory: 4294836224
Vendor: Mozilla
Version: 38.0.1
Winsock_LSP: MSAFD Tcpip [TCP/IP] : 2 : 1 : %SystemRoot%\system32\mswsock.dll
MSAFD Tcpip [UDP/IP] : 2 : 2 :
MSAFD Tcpip [RAW/IP] : 2 : 3 : %SystemRoot%\system32\mswsock.dll
MSAFD Tcpip [TCP/IPv6] : 2 : 1 :
MSAFD Tcpip [UDP/IPv6] : 2 : 2 : %SystemRoot%\system32\mswsock.dll
MSAFD Tcpip [RAW/IPv6] : 2 : 3 :
RSVP TCPv6 Service Provider : 2 : 1 : %SystemRoot%\system32\mswsock.dll
RSVP TCP Service Provider : 2 : 1 :
RSVP UDPv6 Service Provider : 2 : 2 : %SystemRoot%\system32\mswsock.dll
RSVP UDP Service Provider : 2 : 2 :
useragent_locale: end-US
26 May 2015 22:43
Alright. I've managed to get a demo up and running using the .json export.

A few issues:
I can get the demo to run through the "canvas3d" div, but I haven't been able to resize or reposition the canvas in the webpage. So I tried using the webplayer, and I managed to use an iframe and resize and position it where I want it, but the problem here is that the camera flies around the scene as opposed to walking on the ground (worked as intended in the div).

What do I need to do to both scenarios to get them to operate as intended?

Thanks!
21 May 2015 20:28

Ответ на сообщение пользователя Evgeny Rodygin
Well. HTML is not an option to use here. It even doesn't support physics. I'd recommend reading this tutorial for better understanding of what export options does Blend4Web offer.

The Firstperson example (and any other example) is kinda a standalone application and it have all the required files in its sub-directory: blend4web/deploy/tutorials/examples/firstperson. Thus, after updating the current scene, you need to reexport it to this folder, replacing existing first-person.json. Then, you can check the result by running example.html in your browser.
Don't forget to allow browser to open local resources: Link with description

Is there a way to export the BGE controls into something that BW4 can interpret?
20 May 2015 22:47

Ответ на сообщение пользователя Evgeny Rodygin
I checked this scene. Everything works fine for me. There were definitely some more issues with your example. How do you perform export? Probably, you use "HTML Export" instead of typical "B4W export"?

I use the B4W export to HTML. I tried the JSON export to Viewer and was able to navigate the scene through flying.

I've played around with it some more, and I still cant get the keyboard controls to work in localhost with the default firstperson tutorial.
19 May 2015 19:36

Ответ на сообщение пользователя Evgeny Rodygin
Could you please provide us with modified blend-file? We will be able to check what is the problem this way.

Thanks. Your_text_here
19 May 2015 05:18

Ответ на сообщение пользователя Evgeny Rodygin
Simple scene modifications can't influence controls this way. I suppose, there have been some other changes. Probably, some console output?
Does it work alright when you just reexport the original scene?
Yes. It works fine if I simply duplicate the scene and run it as-is.
18 May 2015 05:18
Yes, I've looked at the demo, and the code. I copied the code and tried to manipulate it, but I haven't been able to accomplish what I've intended (see title).
The first thing I tried in the demo scene was to copy it, delete the hut, and try to navigate the scene. After only doing that, the keyboard controls ceased working (mouse is fine)- which is where I am stuck. I am surprised that swapping out scene objects broke the controls.
Working on the hut demo was attempted after spending the better part of a day on a failed attempt to figure out how to get the camera to collide with objects with a different scene exported from Blender.
Any suggestions to get this working?
16 May 2015 04:54
Hello,

I recently discovered B4W, and I am very excited to successfully implement it.

I've started by creating a scene that is navigated by the Eye Camera. The issue I'm having is getting the camera object to interact with anything (stopping at walls and obstacles). I've checked out the documentation, and one of the articles in the blog, but still have had no success. Is there a common oversight during this process?