Forum

web link on object

25 August 2015 18:04
Hello
I am total newbie and I am investigating this very interesting web solution and I was wondering if it is possible to add clickable web links to geometry? Also, can the blend4web json export be integrated into a three.js solution.

Many thanks
25 August 2015 18:38

I am total newbie and I am investigating this very interesting web solution and I was wondering if it is possible to add clickable web links to geometry?
Yes, this easily can be done using NLAScript function, please, read the documentation about NLAScript for more information.

Also, can the blend4web json export be integrated into a three.js solution.
No, they not compatible.
Blend4web and that kind of thing.
26 August 2015 19:29
Thank you for the info. I have a read the manual but I am struggling to understand the way that the page redirect works. I can't find anything on the web on this topic that is not in russian. Do you have a more basic tutorial?
Thanks again
26 August 2015 22:40
I have just worked out that you that the NLA exclamation icon script slots needs you to type in the object name.
I have 4 objects in a scene, each that I would like to be a button around a central cube. I have set up 8 Slots, each is a select & jump then a page redirect.
If I click on the cube, nothing happens which is perfect. But if I click on any of the 4 objects around the cube, the page is always redirected to the first redirect page slot web address. I read in the manual that the slots are always top down but I figure that only the slot that has the selected object will be activated to go the defined target slot.
In short, what is the slot combination so that each of the selecting a certain objects jumps to the corresponding slot?
Please see attached screen grab.
Not sure if this is very clear.
Thanks again

27 August 2015 09:47
Hi,

In just a few days we'll introduce a node-based logic editor. It is already available in the 15.08 Dev Preview. I prepared an example for Page Redirects for the upcoming release article, please find it attached.

logic_editor_example2.blend
logic_editor_example2.html
The Founder | Twitter | Facebook | Linkedin
27 August 2015 10:04
Hello.
Take a look at the following image, please. It's the correct NLA script for your project.



untitled.html
27 August 2015 10:34
Thank you so much for your swift replies. I rearranged the script and it works great.
I would like to congratulate you on this your amazing work. You have opened the door to a very interesting world for newbies like me.I believe that the future of blender is on the web and not just doing what autodesk can do better, for free. From what I understand Ton has understood that and will be going in that direction for the future releases.

So that I can really start to learn the app, should I learn a computer language like javascript? I work in TV broadcast so programming is non existent.

Thank you again
28 August 2015 16:02
As an artist I'd actually recommend you to dig into coding if you need to do some complicated stuff
There are lots of things that can be done without coding, though. Everything depends on your goal :)
28 August 2015 17:27

Ответ на сообщение пользователя Pavel Kotov
As an artist I'd actually recommend you to dig into coding if you need to do some complicated stuff
There are lots of things that can be done without coding, though. Everything depends on your goal :)

Looks like this may be may path, the nodes kind of end up being restrictive? As it seems a bit difficult to say have an object be able to turn another object on and off, or a series of UI buttons switch on and off groups of objects…its so close I can feel it though.

Im also curious if this would be the way to go to create a UI of planes and meshes thats bound to the camera view with out casting or receiving shadows etc
29 August 2015 00:07
As is the rule on this site, I thought I would share my first attempt at a functioning model that has objects that link to other web pages. I hope it helps someone.
 
Please register or log in to leave a reply.