Author Topic: Eyeball deform  (Read 93 times)

0 Members and 1 Guest are viewing this topic.

bitterman

  • Sr. Member
  • ****
  • Posts: 250
  • Karma: +8/-5
  • Doom Newbie
    • View Profile
Eyeball deform
« on: September 20, 2017, 08:34:27 PM »
I can't find any detailed info about this type of deform.

As I suspect it is a plane with two separated tris. It must be placed in front of other plane wich eyeball's image. If it placed right then first plane will deform texcoords of second plane with image (make it more convex perhaps).

Am I right? Thanks.
« Last Edit: September 21, 2017, 12:43:45 PM by bitterman »

bitterman

  • Sr. Member
  • ****
  • Posts: 250
  • Karma: +8/-5
  • Doom Newbie
    • View Profile
Re: Eyeball deform
« Reply #1 on: September 21, 2017, 12:35:36 PM »
Well looks like 'deform eyeball' just scrolls texture to realize 'track to' effect (eyeball moving) when NPC looking at something.
« Last Edit: September 21, 2017, 12:40:00 PM by bitterman »

bitterman

  • Sr. Member
  • ****
  • Posts: 250
  • Karma: +8/-5
  • Doom Newbie
    • View Profile
Re: Eyeball deform
« Reply #2 on: September 23, 2017, 01:30:12 PM »
Can't check it out because when I set '$char.lookat($player1)' then NPC's head tracks to player, not only eyes. There is no need to move only eyes when whole head do it.

Perhaps this type of deform used only for NPS without separated head...

bitterman

  • Sr. Member
  • ****
  • Posts: 250
  • Karma: +8/-5
  • Doom Newbie
    • View Profile
Re: Eyeball deform
« Reply #3 on: September 24, 2017, 12:35:43 AM »
Perhaps this is because differences between head and eyes turn angles.