Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can saba edit the model? #23

Open
kuazhangxiaoai opened this issue Aug 20, 2021 · 3 comments
Open

Can saba edit the model? #23

kuazhangxiaoai opened this issue Aug 20, 2021 · 3 comments

Comments

@kuazhangxiaoai
Copy link

Is the model in saba editable?
Thanks for your answers.

@benikabocha
Copy link
Owner

You cannot edit the model.
However, it is possible to edit the file class (e.g. PMXFile).

@kuazhangxiaoai
Copy link
Author

kuazhangxiaoai commented Aug 21, 2021

You cannot edit the model.
However, it is possible to edit the file class (e.g. PMXFile).

your meaning is that I can edit OBJModel class defined in OBJModel.cpp for changing Model if I want to open .obj file. Can viewer be changed over OBJClass.

@benikabocha
Copy link
Owner

Yes, you can change the viewer's model that way.
The viewer uses a GLOBJModel for drawing.
GLOBJModel is created from OBJModel.

GLOBJModel::Create(const OBJModel& objModel)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants