论坛

由用户创建的信息 jmp909
25 May 2016 04:28
also i've noticed the scripts directory can have a trailing slash (or not), but the blender SDK preferences won't accept a trailing slash. I'm wondering if that's stopping the server file location from being found properly?



j

(apologies.. I didn't know you couldn't delete posts otherwise I would have merged this above)
25 May 2016 04:21
actually i've just noticed on the latest build on the site you've got duplicated folders

\blend4web_sdk_free\addons
and
blend4web_sdk_free\blender_scripts\addons

mostly containing the same stuff apart from an extra _pycache folder in one of them

that addons folder being moved allowed blend4web add on to be seen using this path
C:\dev\blend4web_sdk_free

but the server still isn't found.

thanks
j
25 May 2016 04:04
I'm having the same problem with both Blender 2.77 and 2.77a and B4W SDK Free 16.04 on Windows 10

the add on, and therefore blend4web import/export option, engine and server don't show up unless I point my scripts folder at:
C:\dev\blend4web_sdk_free\blender_scripts

(when i relaunch it gives me an error about a deprecated path but at least the add-on shows)

but it can't then find the dev server etc, presumably because the paths are wrong

any advice appreciated,
thanks
J
07 May 2016 19:30
Hi,

I am currently researching for a project that would require getting a scene from blend4web back into blender and not sure how this would be possible. (If it's feasible, it would likely be paid work for someone who could take it on)

The basic premise is:

1) default scene exported from blender as blend4web json
2) scene Loaded into b4w
3) web user manipulates scene (loads new models over existing ones, changes attributes etc) using a UI built on the JS API)
4) new scene is exported to a server queue (see step 6)
5) queue is processed and passed to blender command line
6) blender receives either the data for a full scene to render , or data describing the actions required in order to recreate the new scene from the old scene (ie replicating the user's changes)

The parts I'm not sure about are 4 and 6. I can't find any existing examples of this, presumably because blend4web only really has export routines. Ignore the method for data transfer in terms of the sever/queue, it's just the actual data format that's the issue.

If anyone has any suggestions as to whether this should be possible, I'd be grateful for your input.

I also looked into whether a different format/platform would be better eg Collada and three.js for the front end…but we still need to get it back into blender.

Thanks for any advice
Joe