User posts kimholder
12 December 2016 01:50
After some minor changes to a scene, it will now only load to 45%, and the error below seems to be the cause:
Uncaught TypeError: Cannot read property 'length' of undefined
at submesh_list_join_prepare_dest (geometry.js:930)
at Object.submesh_list_join (geometry.js:802)
at merge_metabatches (batch.js:1453)
at Object.exports.generate_main_batches (batch.js:463)
at Object.process_scenes [as cb_before] (data.js:1168)
at process_stage (loader.js:439)
at process_stages_queue (loader.js:327)
at Object.exports.update_scheduler (loader.js:275)
at Object.exports.update (data.js:110)
at loop (main.js:427)
My apologies if this is the wrong place to report it - i don't see how what i changed caused it. I was having problems using group instances to position things, so i got rid of them and replaced them with linked duplicates, and then this started happening. I have been refining the scene and it was displaying well before this.
The test is on our Github website - you have to scroll down a little to the second iframe. The errors reported in the console are a bit different, the above was generated by the Fast Preview tool. The files are also attached.
Thanks for your help.
Uncaught TypeError: Cannot read property 'length' of undefined
at submesh_list_join_prepare_dest (geometry.js:930)
at Object.submesh_list_join (geometry.js:802)
at merge_metabatches (batch.js:1453)
at Object.exports.generate_main_batches (batch.js:463)
at Object.process_scenes [as cb_before] (data.js:1168)
at process_stage (loader.js:439)
at process_stages_queue (loader.js:327)
at Object.exports.update_scheduler (loader.js:275)
at Object.exports.update (data.js:110)
at loop (main.js:427)
My apologies if this is the wrong place to report it - i don't see how what i changed caused it. I was having problems using group instances to position things, so i got rid of them and replaced them with linked duplicates, and then this started happening. I have been refining the scene and it was displaying well before this.
The test is on our Github website - you have to scroll down a little to the second iframe. The errors reported in the console are a bit different, the above was generated by the Fast Preview tool. The files are also attached.
Thanks for your help.
09 December 2016 19:23
09 December 2016 02:39
08 December 2016 23:34
I've made a scene with one camera, and i've tried deleted and adding that camera again a few times. When i open the scene with Fast Preview, it says no camera is selected. Also, when i check the camera properties, under Camera > Sensor there is a warning saying 'Unsupported sensor type'. The field there is set to Auto. I didn't change any setting when i added the camera, it is just the default camera you get when you add a camera.
There had been a 'Missing Active Camera' error, but that has been eliminated now that there is a new camera, and i cleared out some non-existent cameras that had somehow stayed on that list. But the preview still sees no camera. What is wrong here?
Thanks for your help.
There had been a 'Missing Active Camera' error, but that has been eliminated now that there is a new camera, and i cleared out some non-existent cameras that had somehow stayed on that list. But the preview still sees no camera. What is wrong here?
Thanks for your help.
14 October 2016 19:23
14 October 2016 18:49
Our website already has a file structure it wouldn't make sense to redo, so i am trying to export the json files to a folder called 'blend4web' within the existing folder hierarchy. I have loaded it on our GitHub site to play with it before putting it on the official site. The scene doesn't load, though. What have i done wrong?
The GitHub site is here, and the repo is here.
The html is
The blend4web folder has the bin file, the json file, the image for the texture, and i threw in the blender file. The webplayer folder has everything from deploy/apps/webplayer in the SDK.
The GitHub site is here, and the repo is here.
The html is
<iframe width="80%" height="auto" src="webplayer/webplayer.html?load=blend4web/LalandeMarkers.json">if you see this something is wrong</iframe>
The blend4web folder has the bin file, the json file, the image for the texture, and i threw in the blender file. The webplayer folder has everything from deploy/apps/webplayer in the SDK.
13 October 2016 00:52
I am really new to this kind of content dev and know almost no JS, so there could well be something really simple wrong that i don't see.
The sole mesh in the scene has an image texture applied to it that looks like this:
There was no export issue, no warnings or anything. The Blend4Web looks like this:
How do i fix that?
I am starting to work through a few tutorials, but as i have no background, i am probably slower to pick things up than people who have worked with other game engines. Really think this is a great project though and look forward to learning to use it well.
The image texture is quite large as that is important for this particular application. There is a smaller version but it has exactly the same problem. At any rate, i can cut down on the mesh detail some, but keeping as much detail as possible would be really helpful.
The sole mesh in the scene has an image texture applied to it that looks like this:
There was no export issue, no warnings or anything. The Blend4Web looks like this:
How do i fix that?
I am starting to work through a few tutorials, but as i have no background, i am probably slower to pick things up than people who have worked with other game engines. Really think this is a great project though and look forward to learning to use it well.
The image texture is quite large as that is important for this particular application. There is a smaller version but it has exactly the same problem. At any rate, i can cut down on the mesh detail some, but keeping as much detail as possible would be really helpful.