Forum Replies Created
-
AuthorPosts
-
Pepper KUNCustomer
Thx, it’s all done.
BTW, are you trying to implement billboards? Because you can use the TrackTo constraint with the camera as its target.
Yes, the dots on the end of the lines are quite similar to billboard. I use html element bind to it instead of object Track to camera because I want to change the dot style through CSS file. The other way is not so convenient. Next time I will use object track to camera if I want my billboard can be blocked by other objects.
Noob on blender and any other things.
Pepper KUNCustomercolor anchor point(empty object) seems not working properly.
Noob on blender and any other things.
Pepper KUNCustomerThx, It works well now.
By the way, how to rotate an object in Z axis. I try that below but doesn’t work.var red_p = 0.47; var blue_p = 0.15; var i = 180 / Math.PI; var j = 360 / Math.PI; var red_anchor = i*red_p; var blue_anchor = j*red_p + i*blue_p; var white_anchor = i * (red_p + blue_p + 1); var object = app.scene.getObjectByName("pie"); var anchor_red = app.scene.getObjectByName("center_red"); var anchor_blue = app.scene.getObjectByName("center_blue"); var anchor_white = app.scene.getObjectByName("center_white"); var mat = object.material; var index1 = mat.nodeValueMap['red_percent']; var index2 = mat.nodeValueMap['blue_percent']; mat.nodeValue[index1] = red_p; // red part percent mat.nodeValue[index2] = blue_p; // red part percent anchor_red.rotateZ(red_anchor); anchor_blue.rotateZ(blue_anchor); anchor_white.rotateZ(white_anchor);
Noob on blender and any other things.
Pepper KUNCustomerHere is my html file.
Noob on blender and any other things.
Pepper KUNCustomerOK, I hear you guys are working on the new version for Blender 2.8. Is it the next version can be work with 2.8?
Noob on blender and any other things.
Pepper KUNCustomerThank you Yuri. :)
Noob on blender and any other things.
Pepper KUNCustomer.
Noob on blender and any other things.
Pepper KUNCustomerhere is my blender file.
Attachments:
You must be logged in to view attached files.Noob on blender and any other things.
Pepper KUNCustomerAny way changing it with JavaScript? I can see the input value in my GLTF file. however I can’t change this value with responsive way.
Noob on blender and any other things.
Pepper KUNCustomerwhat I mean is separating two kind of input node. The web user can custom the progress and the color of the percentage circle. User can’t custom the color and the percentage of the circle separately if I use animation clip.
Noob on blender and any other things.
Pepper KUNCustomerThx,but what about with color animation. The color of circle can be changed . I’d like to have a blue circle in 80 percent, a red circle in 10 percent and a yellow circle also in 80 percent. how to achieve this in one material?
Noob on blender and any other things.
Pepper KUNCustomerHere is my Material Node.
Noob on blender and any other things.
Pepper KUNCustomerMy bar is a percentage circle like below. For now I can only animate it rather than let it custom by user.
Noob on blender and any other things.
Pepper KUNCustomerThx, Mikhail. Now I can make a anime shader for my project.
Noob on blender and any other things.
Pepper KUNCustomerTHX, Mikhail!
When I check the World Space Shading in Render preferences, I find the rim light not moving dynamic depends on my view angles. Is there any way to get a dynamic Rim light on model. If appending a light source as a child of camera, It goes wrong when I zoom in or zoom out.Noob on blender and any other things.
-
AuthorPosts