FaceRig
Share your Creations with Everyone!
FaceRig Workshop allows everyone to share their creations, like Avatars, Props or Backgrounds.
Wolfie71 2019 年 6 月 26 日 上午 5:15
[Live2D] How to set default camera zoom?
Hi, Im new in Live2D and still learning now

So I created my first model,
exported it, and finally it works on facerig

But my model seems to far away in the facerig, so i always need to zoom it manually
Is there any command like set_cam_pos for zooming the model by default?

Thank you
最后由 Wolfie71 编辑于; 2019 年 6 月 26 日 上午 5:29
< >
正在显示第 1 - 4 条,共 4 条留言
david_animaze  [开发者] 13 2019 年 6 月 26 日 上午 9:02 
Hello, here's how to set a camera position for your avatar:

If you want to frame your avatar in the scene in a custom way then you must set a custom Camera position. To do this, write the following command line in cc_[avatar_name].cfg:

set_cam_pos the_avatar_name pos_x pos_y pos_z

where pos_x, pox_y, pos_z represent the 3d positon coordinates in meters.

Pro tip:
Setup your avatar positon in FaceRig and then hit Ctrl + Shif + F, this will log the current
camera positon that you can use directly in the *.cfg fle. To get the logged camera positon, go to
<steamInstallDir>/steamapps/common/FaceRig/VP.log and search set_cam_pos. The command is already formatted to be pasted in the .cfg fle.

This is found in our documentation on how to prepare data to be imported into FaceRig: https://drive.google.com/file/d/1cdR_3jkY8mAS1d1h1u3BeWjtXuKirpT-/view
Wolfie71 2019 年 6 月 29 日 上午 4:57 
Thanks for the answer.

Ok so actually I already did that,
I found this on the log : "--set_cam_pos tarilongcute0 0.00 0.00 0.96"

I copy pasted it without exclamation mark to cfg, but nothing changed.
Models position still far from camera
Thats why I asked here.

Did you mean set_cam_pos actually also govern the zoom level?
最后由 Wolfie71 编辑于; 2019 年 6 月 29 日 上午 7:36
Sue 2 2019 年 6 月 29 日 下午 8:22 
引用自 Wolfie71
Thanks for the answer.

Ok so actually I already did that,
I found this on the log : "--set_cam_pos tarilongcute0 0.00 0.00 0.96"

I copy pasted it without exclamation mark to cfg, but nothing changed.
Models position still far from camera
Thats why I asked here.

Did you mean set_cam_pos actually also govern the zoom level?

Make sure you didn't include the "--".
Wolfie71 2019 年 6 月 30 日 上午 7:17 
Oh boy, silly me.
Thanks man, it works now haha
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50