STEAM 组
Blender Source Tools BleST
STEAM 组
Blender Source Tools BleST
403
游戏中
2,321
在线
成立于
2013 年 11 月 8 日
所有讨论 > Help > 主题详情
Vector Impulse 2019 年 8 月 1 日 下午 3:03
Need help trying to get EyeRefract to work
hell it doesn't necessarily have to be eye refract either

but it's a uv sphere that's 2.5 units big with 16 segments and rows.

the original texture for the eye was 512 × 512 px I shrank it down to 128

the left eye's position is 1.44647 × -1.03143 × 74.2242

I'm really pulling my hair out at this point, any help would be great

EDITS:

Sorry, here's the QC I had

$modelname "nitpick/bonnie/bonnie.mdl"

$eyeposition 0 0 70

//head controllers
$attachment "eyes" "bip_head" 1.45 0.00 74.22 absolute
$attachment "mouth" "bip_head" 0.80 -5.80 -0.15 rotate 0 -80 -90

//1.44647 -1.02648 74.2242

$model "bip_body" "head.dmx" {
eyeball righteye "bip_head" 1.44647 -1.03143 74.2242 "eyeball_r" 1.00 0 "pupil_r" 1.00
eyeball lefteye "bip_head" -1.44647 -1.03143 74.2242 "eyeball_l" 1.00 0 "pupil_l" 2.00

mouth 0 "mouth" "bip_head" 0 1 0 // mouth illumination

flexcontroller eyes range -45 45 eyes_updown
flexcontroller eyes range -45 45 eyes_rightleft
}

$cdmaterials "models/nitpick/bonnie"

$MostlyOpaque

$bodygroup Bonnie
{
studio "body.dmx"
}

$surfaceprop "flesh"

$TextureGroup "bonnie"
{
{ "body" }
}

$sequence "idle" "body.dmx" loop fps 1
最后由 Vector Impulse 编辑于; 2019 年 8 月 2 日 上午 8:09
< >
正在显示第 1 - 4 条,共 4 条留言
xdshot 2019 年 8 月 1 日 下午 11:18 
EyeRefract is not UV mapped. You might have any uv data on eye balls. Take a look how standard eyes done.
Zappy 2019 年 8 月 1 日 下午 11:32 
What is the problem, exactly? You've stated some information (though lacking the QC file's contents), but nothing suggesting what's wrong, nor even directly if anything is wrong.
Vector Impulse 2019 年 8 月 2 日 上午 8:13 
引用自 Zappy
What is the problem, exactly? You've stated some information (though lacking the QC file's contents), but nothing suggesting what's wrong, nor even directly if anything is wrong.
You're right, sorry, I added the QC. The eye's are very distorted and weird looking. I had someone show me that it's because the models bones not having the prefix "bip_"

Oh, and the specific model needs to be broken up into separate attachment parts for it to work.
最后由 Vector Impulse 编辑于; 2019 年 8 月 2 日 上午 8:18
Pte Jack 2019 年 8 月 2 日 上午 9:56 
Attachments and eyeballs were not set to the proper bone. Missing attachments for righteye and lefteye. Coords were off and x axis coords were reversed (right was positive, left was negative). Iris values not set properly. Missing data in EyeRefract shader.

https://i.imgur.com/glPNv19.png

< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50

所有讨论 > Help > 主题详情
发帖日期: 2019 年 8 月 1 日 下午 3:03
回复数: 4