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

how can i get combine *obj and *mtl? #43

Open
HwangJae-won opened this issue Oct 18, 2022 · 5 comments
Open

how can i get combine *obj and *mtl? #43

HwangJae-won opened this issue Oct 18, 2022 · 5 comments

Comments

@HwangJae-won
Copy link

Hi ! Thanks for sharing your code.
I've tried the Colab demo file that you uploaded. Then I get mesh0.obj and material0.mtl.
When I tried the obj file, I was able to get the result that only mesh was expressed.
How do you get the results in a form that expresses the color of the character, not just the mesh? I think I make the result by combining obj file and mtl file, but I don't know what to do.
I need your help! Please understand that English may not be smooth using a translator.
image

@abdallahdib
Copy link
Owner

Hi
The output of nextFace is a mesh (obj) and textures (diffuse, specular, roughness) and light.
to render the final image u need to use all of these informations.
can u tel what r u using to render ?

@HwangJae-won
Copy link
Author

Thanks for comment.
I just open obj file. Do you have any recommendations for the render model for the final ouput?
I'm studying 3D reconstruction, so there's a lot of room for improvement. Thank you for your help.

@ghost
Copy link

ghost commented Oct 20, 2022

For the material to appear correctly, you need to apply the generated .png textures onto the shader of the .obj. This is done within the 3D software you are using.
For example, in Blender:
image

@HwangJae-won
Copy link
Author

Thank you for your kind reply.. It was very helpful!

@ylimani
Copy link

ylimani commented Mar 18, 2023

hi can someone share a colab with this, thanks

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

3 participants