Skip to content

How render image with some constant colors that described in OBJ-file #280

Closed
@attashe

Description

@attashe

In this question was explained how render image without texture
#51

But in my case in MTL-file contain material with constatnt color and in OBJ-file described what vertex have this color

newmtl Color_003
Ns 96.078431
Ka 0.000000 0.000000 0.000000
Kd 0.666667 0.666667 0.666667
Ks 0.330000 0.330000 0.330000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
usemtl Color_003
f 1/1 2/2 3/3
...
f 7/19 5/18 6/21
v 0.412338662557 0.0913135972693 0.18293131387
...
v 0.35328764703 0.107066507113 0.170653379949
vt -5.0965 1.0390
...
vt 5.0965 1.0390

Can I generate texture using commands from OBJ-file: usemtl Color_003?

Metadata

Metadata

Assignees

Labels

how toHow to use PyTorch3D in my project

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions