Replies: 1 comment 1 reply
-
Could you upload your file so we can check? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using blender to make some models and try to add entity :
scene.add_entity( morph=gs.morphs.Mesh( file="meshes/conical_flask/conical_flask.obj", scale=0.3, pos=(0.0, 2.0, 0.0), euler=(90,0,0), ), )
the folder has .mtl and .obj file:
conical_flask.mtl:
newmtl glass Kd 0.800000 0.800000 0.800000 Ks 0.500000 0.500000 0.500000 Ke 0.000000 0.000000 0.000000 Ni 1.520000 d 1.000000 illum 2 Pr 0.000000 Pm 0.000000 Ps 0.000000 Pc 0.000000 Pcr 0.030000 aniso 0.000000 anisor 0.000000 Tf 1.000000 1.000000 1.000000
conical_flask.obj:
mtllib conical_flask.mtl o conical_flask usemtl glass v 0.000000 1.231083 -0.146523 .....
I can render the example obj such as bathhub or boat, but i can not render my material correctly.Thanks for helping me.
Beta Was this translation helpful? Give feedback.
All reactions