Форум

Сообщения, созданные пользователем Will Welker
27 ноября 2016 07:19
So your example uses one parent and one constraint. The parenting exports in Blend4Web, but the constraint does not.
In Blender you could achieve what you want with two "Child of" constraints, one for location and the other for rotation. But I don't believe Blend4Web currently supports constraints. You could do it with coding though, here is the related code documentation: https://www.blend4web.com/api_doc/module-constraints.html
26 ноября 2016 16:11
Wow, looks like and exiting one! New first-person (fps) add-on was added.

    Blend4Web SDK Directory field in addon properties has been removed. Now, path to Blend4Web SDK directory resolved automatically.
Does that change the way you install the SDK for the first time in Blender?
26 ноября 2016 16:02
Actually this is not meant for deploying on the web. Rather it is a weekly report I do. So it is a self contained file that gets sent out each week. Preserving detail is more important in this case.
26 ноября 2016 15:54
"a locator on the corner that rotates"
Do you mean a 3D arrow type of object that has its position parented to the part?
Parenting one object to another is fairly simple if I understand your question.
See if this is what you are looking for:
http://blender.stackexchange.com/questions/26108/how-do-i-parent-objects
24 ноября 2016 20:38
Interesting to hear about the "Detect visibility" flag.
Here is an example that uses many annotations. Detect Visibility is on. It also has a very large terrain mesh (created with a drone).
https://www.dropbox.com/s/ikdlcz5jub95657/LC-11-13-16_Inventory.html?dl=0

I have noticed a performance reduction on PCs without good graphics acceleration.
23 ноября 2016 01:51
A nice little update for the Chess App,
Chat and a reset button were added in by Martial. I have a live demo running at bambinobot.com
Github link: https://github.com/WillWelker/node_chess
FYI this is an Ubuntu server running in Arizona USA in case you are curious about latency over distance.
I have found this to work with two Chrome browser windows open and also from Chrome on Android.

Current issues:
ASDW keys move camera view when typing in chat.
If a new browser logs in and moves a piece it will overwrite the positions of the currently connected clients. If they move first, the newly connected client will get all his pieces moved to correct positions.

It is a little buggy if two people are trying to move a pieces at the same time.

Over all, I am very impressed with how functional this is. Thanks much to those who are helping with it.
18 ноября 2016 15:22
No hurry. I am always busy and this project simmers along on my back burner.
Currently the positions of all the pieces are sent to the server which mirrors them back to the clients. I want to send only the position of the selected piece and store all the positions in an object on the server side. That way both clients can log out and back in without loosing the positions. Also there is an object that contains all the reset positions so we can implement a reset button. I look forward to any ideas you have.

Feel free to email me. wwelker@gmail.com.
18 ноября 2016 14:46
Thanks for the heads up. I use lots of annotations in one of my projects and was considering Bootstrap and jQuery for some things.
On a side note I recently purchased the Pro version and found that the extra assets alone made it worth the money. For me being able to pull in professional materials in seconds made a huge difference.
16 ноября 2016 19:20
Ya definitely.
I am new to Git so let me know if I can change anything to make it easier to collaborate.
Also I am unsure on how to structure the project within the Blend4Web SDK. Since I do testing on a local Node.js server I do not use the normal SDK server that starts when you open Blender. Right now I am using the "Bundled Project" option. On the server, the app.js and node_modules need to be in the root directory of the project and everything else goes in the public directory.
If you use Github and want to be a collaborator, let me know your username. I would be happy to have all the help I can get

I should also mention that my long term plan for this is not actually for games but for warehouse and stock-yard inventory management. So basically you have a 3D environment that shows you where all of your inventory is located and it gets updated either manually by people or automatically by various devices that read RFID or maybe an operator just hits a button on a mobile device when he drops of a load and the mobile device records its position. There are many other possibilities with IoT.
16 ноября 2016 16:09
Just an update:
So thanks to the help Kirill I have a working version on Github:
https://github.com/WillWelker/node_chess
This version is structured to be hosted and served from a node.js server.

Next plans are to streamline the communications so the client only sends information when a piece is moving and does not receive information that it sent originally. i.e. socket.broadcast.emit("…")
Once the mechanics work well, I want to add chat function, user names and basically polish it up to be a good multi-user Blend4Web example.