Author Topic: Face Model Preview Flashes  (Read 580 times)

Offline foxymophandle

  • Newbie
  • *
  • Posts: 4
    • View Profile
Face Model Preview Flashes
« on: April 06, 2021, 08:59:34 PM »
I'm trying to create a custom face for my mega tree.  Since mega trees have relatively low resolution, I'm trying to use some extremely tiny images for the face (16x16 pixels at 72ppi).  When I point xLights at those tiny png files, the model preview panel flashes a single face phoneme over and over again.

I checked the logs, and saw this message repeating:

Quote
2021-04-06 22:49:00,977 123145320091648 log_base [ERROR] Image /Users/foxymophandle/Desktop/Faces/GreenTree01/SmallGreenFace_E_eo.png reports 0 frames which is invalid. Overriding it to be 1.
2021-04-06 22:49:00,977 123145320091648 log_base [ERROR] Error loading image file: /Users/foxymophandle/Desktop/Faces/GreenTree01/SmallGreenFace_E_eo.png.

Is there a minimum size to the images that can be used for faces?

I've also attached one of the face files for reference.
« Last Edit: April 07, 2021, 07:06:10 AM by foxymophandle »
This post was generated by a human, and hence prone to errors.

Offline foxymophandle

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Face Model Preview Flashes
« Reply #1 on: April 07, 2021, 12:18:43 PM »
Just for grins, I recorded a vid of what it looks like in xVideos. 

I also found a random thread where people were uploading images smaller than mine (12x12 images I saw once).  Is this an issue with the image files themselves?


This post was generated by a human, and hence prone to errors.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Face Model Preview Flashes
« Reply #2 on: April 09, 2021, 01:41:42 PM »
All I can do right now is watch the video and it just looked like you did not have all the images defined.  Like maybe the "rest" phoneme didn't have an image so it only flashes when its talking then disappears when at rest?

Offline foxymophandle

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Face Model Preview Flashes
« Reply #3 on: April 09, 2021, 04:26:52 PM »
@Gilrock
I thought the same, but a missing image will show red (not blank).  At least I think that's the behavior.  Either way, I went back into Pixelmator (poor mans photoshop) and re-exported the images out.  They work fine now.  I have no clue what went wrong, but I've attached the 'working' set along with the 'not working' set.  If anyone can tell me the difference between the two files, I'd love to know.

Thanks again for your time on this.

Foxy
This post was generated by a human, and hence prone to errors.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Face Model Preview Flashes
« Reply #4 on: April 12, 2021, 07:07:39 AM »
This isn't the Picture effect they better not be showing up red for a phoneme if one happens to not be defined.