question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Textures in DIB-R

See original GitHub issue

Hello there! I was trying out the DIB-R example. I want to render it with texture file. I could understand how texture can be use in NMR and SoftRas but it is not clear in case of DIB-R example. color is not an optional argument for DIB-R renderer. In that case, how do I pass the colors of texture? I am having .mtl file for material and and an image for texture.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
Arthur151commented, Dec 26, 2019

Actually, there is a colors option for texture rendering in DIB renderer! Please refer to the code! https://github.com/NVIDIAGameWorks/kaolin/blob/ce778280f433836a44f80b2e23d6830c96aed6aa/kaolin/graphics/dib_renderer/renderer/base.py#L54 def forward(self, points, colors, light=None, material=None, shininess=None): The color consist of different components in different light model! For your problem, I think Phong lighting model is the best. https://github.com/NVIDIAGameWorks/kaolin/blob/ce778280f433836a44f80b2e23d6830c96aed6aa/kaolin/graphics/dib_renderer/renderer/base.py#L69 The color consist of : https://github.com/NVIDIAGameWorks/kaolin/blob/ce778280f433836a44f80b2e23d6830c96aed6aa/kaolin/graphics/dib_renderer/renderer/phongrender.py#L86 Best wishes!

1reaction
TommyX12commented, Jan 7, 2020

I have opened a PR (#115) to add texturing example. Stay tuned!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Depth image based rendering with advanced texture synthesis
In free viewpoint television or 3D video, depth image based rendering (DIBR) is used to generate virtual views based on a textured image...
Read more >
DIBR-Synthesized Image Quality Assessment With ... - NCBI
To this end, this paper presents a DIBR-synthesized image quality assessment metric with Texture and Depth Information, dubbed as TDI.
Read more >
DIB-R
Our approach allows for accurate optimization over vertex positions, colors, normals, light directions and texture coordinates through a variety of lighting ...
Read more >
DIBR-Synthesized Image Quality Assessment With Texture ...
(2) In the hole-filling process, DIBR technologies introduce the local geometric distortion, which destroys the texture structure of DIBR- ...
Read more >
Depth-image-based rendering with spatial and temporal ...
A depth-image-based rendering (DIBR) method with spatial and temporal texture synthesis is presented in this article. Theoretically, the DIBR algorithm can ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found