Junior Posted September 10, 2014 Share Posted September 10, 2014 I am trying to simulate lens-flare from a gem stone that is part of a jewelry ring. The model that was exported from Blender. The ring is rotating on its central axis. (The rotation was animated in Blender.) I added the lensflare to the main gem mesh but the origin seem to be at the center of the ring instead of the center of the gem. (You can see it here . Each mesh has its own distinct origin in Blender.) The flares are also pointing upward in the 'z' axis and they do not rotate with the ring. Is there a way to fix it so that:- The lens-flare can point in the 'x' or 'y' axis instead of the 'z' axis only. The lens-flare can rotate when the ring rotates. The lens-flares can only be seen when the ring rotates at a certain angle to the camera, and then fade away when the angle changes. I have attached the complete Babylon.js project with the Blend file to this post. I would greatly appreciate the assistance of anyone who can help me. Thank you. 3dring.zip Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.