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

Not able to learn specular and diffuse properties #141

Open
iraj465 opened this issue Jul 24, 2023 · 1 comment
Open

Not able to learn specular and diffuse properties #141

iraj465 opened this issue Jul 24, 2023 · 1 comment

Comments

@iraj465
Copy link

iraj465 commented Jul 24, 2023

Hey i trying to model objects for plastic-like objects

Input video:

ezgif com-video-to-gif

Config:

{
  "ref_mesh": "./plastic-grocery",
  "random_textures": true,
  "iter": 2000,
  "save_interval": 500,
  "texture_res": [
    2048,
    2048
  ],
  "train_res": [
    1080,
    1920
  ],
  "batch": 4,
  "learning_rate": [
    0.03,
    0.003
  ],
  "kd_min": [
    0.03,
    0.03,
    0.03
  ],
  "kd_max": [
    0.8,
    0.8,
    0.8
  ],
  "ks_min": [
    0,
    0.08,
    0
  ],
  "ks_max": [
    0,
    1,
    1
  ],
  "dmtet_grid": 128,
  "mesh_scale": 2.4,
  "lock_light": true,
  "laplace": "absolute",
  "laplace_scale": 5000,
  "background": "white",
  "display": [
    {
      "latlong": true
    },
    {
      "bsdf": "kd"
    },
    {
      "bsdf": "ks"
    },
    {
      "bsdf": "normal"
    }
  ],
  "out_dir": "grocery"
}

This is the output:
Screenshot 2023-07-24 at 3 09 59 PM

@jmunkberg i found that the textures are washed out, what can be done to model the textures accurate to the video itself?

@iraj465
Copy link
Author

iraj465 commented Jul 25, 2023

During first pass the textures are blurry, but still okay
DAY04VD25_DAY04VD25_img_dmtet_pass1_000004

But even during the second pass, the textures haven't improved and are very blurry

DAY04VD25_DAY04VD25_img_mesh_pass_000004

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

1 participant