uci-rendering/psdr-cuda

usage of the textures

Closed this issue · 3 comments

I have found a texture map in the example data, however, it is not used. I wonder if this renderer supports rendering with texture map?

Yes, we do support texture for bsdf. For example a diffuse bsdf with texture can be written in xml file like this:

<bsdf type="diffuse" id="obj1">
      <texture name="reflectance" type="bitmap">
          <string name="filename" value="your_texture_file.exr"/>
      </texture>
</bsdf>

Yes, we do support texture for bsdf. For example a diffuse bsdf with texture can be written in xml file like this:

Sorry, I have not seen the specific format of the xml. Is the reply incomplete?

Yes, we do support texture for bsdf. For example a diffuse bsdf with texture can be written in xml file like this:

Sorry, I have not seen the specific format of the xml. Is the reply incomplete?

ha sorry for that, it seems I cannot write xml format directly here. I updated the reply.