Jump to content

Billboard limits


Recommended Posts

I have implemented eyes which are separate meshes.  The mesh origins are set in blender to 'Origin to Center of Mass'.  Setting each eye to billboard works pretty good, but would like to limit the range.  Took a look at AbstractMesh.computeWorldMatrix, but this section is not really intuitive with little code comments.  Is this doable?

I have made a test page. Ignore the pupil & eye color UI.  They are not implemented.  Also, do not switch to Random mode right now.  Random screws everything up at the moment.

Another thing I noticed is it seems billboard mode is more than just rotation.  It looks better for longer going left or right than left or right modes.  By better, I mean the eye does not violate the face mesh.  I can back the eye into the skull slightly when left or right, but anyone know why Billboard mode looks better?

Link to comment
Share on other sites

Ok, the test page works again.  I spend the day hacking on AbstractMesh.ComputeWorldMatrix.  Came to nothing, but I think I'll finish with the random & leave it for now.  I think in what I have planned for this, any time "follow" was employed the camera is not going to be in positions relative to the meshes that will show the flaw.

Dilation & eye color can be managed with multiple texture based materials.  These probably will not change from load time.

@gryff  I do not know how to implement "anti-follow".

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...