由用户创建的信息 Wgallo
12 February 2018 19:18
Ha ha…thank you for the tips. Why is the muting of entry points a good thing? I will take all of your advices!!
I know iy might be a silly question but is there a tutorial that shows how do i declare a variable and then use that same variable in other trees??
Thank you so much for helping….getting the debug is the first thing i will do!!
I know iy might be a silly question but is there a tutorial that shows how do i declare a variable and then use that same variable in other trees??
Thank you so much for helping….getting the debug is the first thing i will do!!
12 February 2018 03:33
I hit a wall over here. Trying to troubleshoot this (see attached).
Nothing is happening in the third tree. What should my workflow be? there will be several entry points to follow in this project.
In the case of this picture, everything is working with exception of the last tree where I want the viewer to be able to click multiple times moving the object to the right or to the left.
One the second tree, the viewer clicks to display the object.
The tree that follows is where I have the issue, as it is the second time I am using the same object displayed with the action above.
I though it was because I had used already R1 as variable in the very first tree.
What should I do here? and this is where my prior question applies when I asked if I should open a new logic tree to every entry point. Im sorry if i keep asking questions….but i will master this soon….and then I will be helping all the beginners one day…..
Thank you again guys!!!
I decided to explain what I am trying to do, so you guys can help me better (and I stop with questions and questions….)
I have five objects.
Each object would be controlled by the viewer one click at a time ( I would say every time viewer clicks, it goes just a little bit):
When screen loads, objects wont show
a) So a button to show each object then they should
b) Rotate clockwise and counter
c) Move right and left
d) Back and forth
e) Up and down
In essence, that’s it. I am using Ian Scott’s tutorial which reflects exactly what I need.
https://www.youtube.com/watch?v=5VLt6szn6xE&t=191s&pbjreload=10
Could you enlighten me as far as workflow?
I cant say more thanks enough!
Nothing is happening in the third tree. What should my workflow be? there will be several entry points to follow in this project.
In the case of this picture, everything is working with exception of the last tree where I want the viewer to be able to click multiple times moving the object to the right or to the left.
One the second tree, the viewer clicks to display the object.
The tree that follows is where I have the issue, as it is the second time I am using the same object displayed with the action above.
I though it was because I had used already R1 as variable in the very first tree.
What should I do here? and this is where my prior question applies when I asked if I should open a new logic tree to every entry point. Im sorry if i keep asking questions….but i will master this soon….and then I will be helping all the beginners one day…..
Thank you again guys!!!
I decided to explain what I am trying to do, so you guys can help me better (and I stop with questions and questions….)
I have five objects.
Each object would be controlled by the viewer one click at a time ( I would say every time viewer clicks, it goes just a little bit):
When screen loads, objects wont show
a) So a button to show each object then they should
b) Rotate clockwise and counter
c) Move right and left
d) Back and forth
e) Up and down
In essence, that’s it. I am using Ian Scott’s tutorial which reflects exactly what I need.
https://www.youtube.com/watch?v=5VLt6szn6xE&t=191s&pbjreload=10
Could you enlighten me as far as workflow?
I cant say more thanks enough!
11 February 2018 21:44
Any tutorial explaining how do I save lets say move object from point a to b. Store the action so I can refer it to other objects in the same project with logic nodes???
I thought i had it, but i dont. Is there a way with logic nodes that i can have multiple actions stored and just pick an action to certain objects as needed?????
I thought i had it, but i dont. Is there a way with logic nodes that i can have multiple actions stored and just pick an action to certain objects as needed?????
08 February 2018 19:23
06 February 2018 00:49
05 February 2018 07:49
In my project I am using the morphing code snippet. Everything is working great, but i now have a problem that I know the coders over here have the solution:
The code creates a variable "OBJ" to retrieve the object of which the shape keys will be used in the project.
But what if I have a different set of shape keys for two objects??? what happens if i want to get shape keys of two objects? the next line is the variable referring to "body"….how do I go if I have another object with shape keys? what do I change to get both of them??
var obj = m_scenes.get_object_by_name("body");
if (obj)
create_interface(obj);
}
function create_interface(obj) {
if (!m_geom.check_shape_keys(obj))
return;
create_dual_slider(obj, "fatten", "shrink", "Weight");
var shape_keys_names = m_geom.get_shape_keys_names(obj);
for (var i = 0; i < shape_keys_names.length; i++) {
if (shape_keys_names == "fatten" || shape_keys_names == "shrink")
continue;
create_slider(obj, shape_keys_names, shape_keys_names);
}
}
function create_slider(obj, key_name, slider_name) {
var slider = init_slider(slider_name);
var value_label = document.getElementById(slider_name);
var value = m_geom.get_shape_key_value(obj, key_name);
THANK YOU SO MUCH
The code creates a variable "OBJ" to retrieve the object of which the shape keys will be used in the project.
But what if I have a different set of shape keys for two objects??? what happens if i want to get shape keys of two objects? the next line is the variable referring to "body"….how do I go if I have another object with shape keys? what do I change to get both of them??
var obj = m_scenes.get_object_by_name("body");
if (obj)
create_interface(obj);
}
function create_interface(obj) {
if (!m_geom.check_shape_keys(obj))
return;
create_dual_slider(obj, "fatten", "shrink", "Weight");
var shape_keys_names = m_geom.get_shape_keys_names(obj);
for (var i = 0; i < shape_keys_names.length; i++) {
if (shape_keys_names == "fatten" || shape_keys_names == "shrink")
continue;
create_slider(obj, shape_keys_names, shape_keys_names);
}
}
function create_slider(obj, key_name, slider_name) {
var slider = init_slider(slider_name);
var value_label = document.getElementById(slider_name);
var value = m_geom.get_shape_key_value(obj, key_name);
THANK YOU SO MUCH
05 February 2018 04:14
Never mind…i figure it out….but my question still is..
when am i supposed to add a new logic tree? can i have multiple entry points in one logic tree?
Im sorry if those questions have been answered before…if they did i couldnt find them.
If i plan to use logic nodes multiple times what is the workflow regarding logic trees?? weird enough, almost all tutorials only have a demonstration of one operation only….
thank you!!!!!
when am i supposed to add a new logic tree? can i have multiple entry points in one logic tree?
Im sorry if those questions have been answered before…if they did i couldnt find them.
If i plan to use logic nodes multiple times what is the workflow regarding logic trees?? weird enough, almost all tutorials only have a demonstration of one operation only….
thank you!!!!!
31 January 2018 17:51
I already know how to use js callback to add logic nodes to a coded project.
So i am struggling to find a way to add a button for the viewer that will browse for pictures and it will be placed behind the object in the scene.
It will be of a determined size that i wd have to add to the code. How could i accomplish that? Where should i go to find this code snippet?
Can i just add to the .js code?
Thank you for any suggestions.
So i am struggling to find a way to add a button for the viewer that will browse for pictures and it will be placed behind the object in the scene.
It will be of a determined size that i wd have to add to the code. How could i accomplish that? Where should i go to find this code snippet?
Can i just add to the .js code?
Thank you for any suggestions.
30 January 2018 22:30
Since we are at it, i have a little question thats bugging me at the end of the work. When adding material (lambert) to the object, i selected a few faces, created a new material tab and added lambert but with a different color. When i test on fast preview it renders well…then when i export to HTML they disappear…what the hell??? I just cant seem to find a solution for it. Any ideas?? Thank you again…
30 January 2018 07:07
If i have a project ready and coded. Is it possible to go back to blender and add other features with logic editor nodes?
Will it mess up the code, or add to it without problems?
Lets say i have shape keys working and im happy with it. If i go to the same blender file and add logic nodes (additional features), will it mess everything up?
Thank you thank you thank you….its been a joy!!!! in the end i will share my work with every one!!!!!
Will it mess up the code, or add to it without problems?
Lets say i have shape keys working and im happy with it. If i go to the same blender file and add logic nodes (additional features), will it mess everything up?
Thank you thank you thank you….its been a joy!!!! in the end i will share my work with every one!!!!!