Сообщения, созданные пользователем Will Welker
06 сентября 2017 04:38
06 сентября 2017 04:21
Might be a missing material:
But the robot hand looks good. No console errors and the hand texture is in the asset directory.
But the robot hand looks good. No console errors and the hand texture is in the asset directory.
B4W LOG: INIT ENGINE 17.09 DEBUG (05.09.2017 18:21:05)
print.js:40 B4W LOG: USER AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36
print.js:40 B4W LOG: INIT WEBGL 2
print.js:40 B4W LOG: GET EXTENSION WEBGL_debug_renderer_info
print.js:40 B4W LOG: RENDERER INFO: Google Inc., ANGLE (NVIDIA GeForce GTX 980 Direct3D11 vs_5_0 ps_5_0)
print.js:106 B4W WARN: Windows, Chrome and WebGL 2 detected, applying multisample hack, disabling MSAA.
exports.warn @ print.js:106
print.js:40 B4W LOG: GET EXTENSION (WebGL 2) ANGLE_instanced_arrays
print.js:40 B4W LOG: GET EXTENSION (WebGL 2) OES_vertex_array_object
print.js:40 B4W LOG: GET EXTENSION (WebGL 2) WEBGL_depth_texture
print.js:40 B4W LOG: GET EXTENSION WEBGL_compressed_texture_s3tc
print.js:40 B4W LOG: GET EXTENSION EXT_texture_filter_anisotropic
print.js:40 B4W LOG: GET EXTENSION (WebGL 2) EXT_shader_texture_lod
print.js:40 B4W LOG: SET PRECISION: highp
print.js:40 B4W LOG: LOAD METADATA http://localhost:6687/src/../projects/leap_motion/assets//leap.json?v=05092017182105
print.js:127 B4W EXPORT WARNING: Texture "cubemap_sharp" has no image. See more details in https://www.blend4web.com/doc/en/addon.html#other-messages
exports.export_warn @ print.js:127
print.js:127 B4W EXPORT WARNING: Texture "cubemap_rought" has no image. See more details in https://www.blend4web.com/doc/en/addon.html#other-messages
exports.export_warn @ print.js:127
print.js:40 B4W LOG: LOAD BINARY http://localhost:6687/src/../projects/leap_motion/assets//leap.bin?v=05092017182105
print.js:106 B4W WARN: material "baby_cubes" is not assigned to any face (object "cube_2.004").
exports.warn @ print.js:106
print.js:106 B4W WARN: material "bautton" is not assigned to any face (object "green_button").
exports.warn @ print.js:106
print.js:106 B4W WARN: material "bautton" is not assigned to any face (object "red_button").
exports.warn @ print.js:106
print.js:40 B4W LOG: LOAD PHYSICS Using Separate Worker Thread, Max FPS: 60
print.js:40 B4W LOG: PHYSICS PATH http://localhost:6687/src/../deploy/apps/common/uranium_wasm.js?v=05092017182105
print.js:40 B4W LOG: LOAD IMAGE 1536x1024 http://localhost:6687/deploy/assets/code_snippets/vr/cubemap_rought.png?v=05092017182106
print.js:40 B4W LOG: PHYSICS READY
print.js:40 B4W LOG: LOAD IMAGE 512x256 http://localhost:6687/projects/leap_motion/assets/button.jpg?v=05092017182106
print.js:40 B4W LOG: LOAD IMAGE 1024x1024 http://localhost:6687/projects/leap_motion/assets/norm.png?v=05092017182106
print.js:40 B4W LOG: LOAD IMAGE 1024x1024 http://localhost:6687/projects/leap_motion/assets/hand_diff.png?v=05092017182106
print.js:40 B4W LOG: LOAD IMAGE 512x512 http://localhost:6687/deploy/assets/code_snippets/vr/karpet_kids.png?v=05092017182106
print.js:40 B4W LOG: LOAD IMAGE 1024x1024 http://localhost:6687/projects/leap_motion/assets/hand_norm.png?v=05092017182106
print.js:40 B4W LOG: LOAD IMAGE 1024x1024 http://localhost:6687/deploy/assets/code_snippets/vr/carpet_vr_diff.png?v=05092017182106
print.js:40 B4W LOG: LOADED ALL IMAGES
print.js:40 B4W LOG: THREAD 0: LOADED CALLBACK
print.js:40 B4W LOG: START NLA
leap-0.6.4.min.js:9 Optimized for desktop usage.
leap_motion.js:307 Object Object Float32Array(8)
06 сентября 2017 04:13
Solved. leap-0.6.4.min.js is not referenced in the HTML file of the new project.
The Code Snippets verion has this:
So I copied leap-0.6.4.min.js to my project directory and added a line into my new project HTML file:
Works now.
The Code Snippets verion has this:
<script type="text/javascript" src="scripts/libs/leap-0.6.4.min.js"></script>
So I copied leap-0.6.4.min.js to my project directory and added a line into my new project HTML file:
<script type="text/javascript" src="leap-0.6.4.min.js"></script>
Works now.
06 сентября 2017 02:26
05 сентября 2017 23:22
Hi Bpergher,
Yes, you can. Blend4web runs normal JavaScript like any web page. So there are multiple ways to do this. Perhaps the easiest way would be to set your Arduino up with an Ethernet shield (or use a Yun) and run it as a web server like they do in this project. In this way, the Arduino gets controlled by URL requests. Then you can use a network logic node in Blend4Web to send any request you want based on a button press or whatever.
Yes, you can. Blend4web runs normal JavaScript like any web page. So there are multiple ways to do this. Perhaps the easiest way would be to set your Arduino up with an Ethernet shield (or use a Yun) and run it as a web server like they do in this project. In this way, the Arduino gets controlled by URL requests. Then you can use a network logic node in Blend4Web to send any request you want based on a button press or whatever.
05 сентября 2017 16:06
05 сентября 2017 15:56
05 сентября 2017 15:36
it blocks the camera and does not move anymore.I think in VR mode, the camera motion is controlled by the HMD input from the device. Let me do a little research and see if there is a way to let your camera continue following a path while remaining in 'eye' mode to allow the HMD to look around.
05 сентября 2017 14:13
05 сентября 2017 07:41