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

Generating reflection images. #1

Open
liyucs opened this issue Sep 1, 2020 · 5 comments
Open

Generating reflection images. #1

liyucs opened this issue Sep 1, 2020 · 5 comments

Comments

@liyucs
Copy link

liyucs commented Sep 1, 2020

Hello, I met some problems while generating reflection images according to the zip file you provide.

  1. In step two Depth Map to Mesh:
    When I try to generate mesh, I cannot change the render to mitsuba. (I use blender 2.6.9, and in File->user perferences->addons->render, I cannot change the render since there is not an init.py in mitsuba 0.5.0. I also find nowhere to change render in other versions of blender.)
  2. So I comment line36&45, uncomment line37&46, in this case, I cannot find where the result save (I cannot find the .serialized file everywhere), the corresponding error information is 'No such file or directory: '.../Depth_Map_to_Mesh/temp/script/Scene/00001/Sphere_005_0000_m000_0_000000.serialized' -> '.../Depth_Map_to_Mesh/displaced/i5001.serialized''. I try it on Ubantu and Windows. The problem both exists.
  3. In step three Render Images:
    When compiling the code, the definition of datatype “Float” can not be found. And there are also other problems while compiling. Which header file should I include in order to eliminate this error?
    Thank you very much!
@sookim813
Copy link
Owner

Hello,

Thank you for your interest.
I forwarded your rendering question to Yuchi Huo ([email protected]), and if you send an email, he will be answering your questions as guided in the readme file.
I would appreciate that if you post issues of the network part here.

Thank you,

Soomin

@chenzhik
Copy link

Hello, I met some problems while generating reflection images according to the zip file you provide.

  1. In step two Depth Map to Mesh:
    When I try to generate mesh, I cannot change the render to mitsuba. (I use blender 2.6.9, and in File->user perferences->addons->render, I cannot change the render since there is not an init.py in mitsuba 0.5.0. I also find nowhere to change render in other versions of blender.)
  2. So I comment line36&45, uncomment line37&46, in this case, I cannot find where the result save (I cannot find the .serialized file everywhere), the corresponding error information is 'No such file or directory: '.../Depth_Map_to_Mesh/temp/script/Scene/00001/Sphere_005_0000_m000_0_000000.serialized' -> '.../Depth_Map_to_Mesh/displaced/i5001.serialized''. I try it on Ubantu and Windows. The problem both exists.
  3. In step three Render Images:
    When compiling the code, the definition of datatype “Float” can not be found. And there are also other problems while compiling. Which header file should I include in order to eliminate this error?
    Thank you very much!

I met these problem too, do you have any ideas now?

@sookim813
Copy link
Owner

Hello, I met some problems while generating reflection images according to the zip file you provide.

  1. In step two Depth Map to Mesh:
    When I try to generate mesh, I cannot change the render to mitsuba. (I use blender 2.6.9, and in File->user perferences->addons->render, I cannot change the render since there is not an init.py in mitsuba 0.5.0. I also find nowhere to change render in other versions of blender.)
  2. So I comment line36&45, uncomment line37&46, in this case, I cannot find where the result save (I cannot find the .serialized file everywhere), the corresponding error information is 'No such file or directory: '.../Depth_Map_to_Mesh/temp/script/Scene/00001/Sphere_005_0000_m000_0_000000.serialized' -> '.../Depth_Map_to_Mesh/displaced/i5001.serialized''. I try it on Ubantu and Windows. The problem both exists.
  3. In step three Render Images:
    When compiling the code, the definition of datatype “Float” can not be found. And there are also other problems while compiling. Which header file should I include in order to eliminate this error?
    Thank you very much!

I met these problem too, do you have any ideas now?

Hello,

We updated the readme file in the 'data generation zip code' according to this issue(1,2)!
Please download the v2 files.

For 3, you need to first compile Mitsuba. Then define Float as float or double according to the precision setting of the compiled Mitsuba.

Thank you,

Soomin

@chenzhik
Copy link

Hello, I met some problems while generating reflection images according to the zip file you provide.

  1. In step two Depth Map to Mesh:
    When I try to generate mesh, I cannot change the render to mitsuba. (I use blender 2.6.9, and in File->user perferences->addons->render, I cannot change the render since there is not an init.py in mitsuba 0.5.0. I also find nowhere to change render in other versions of blender.)
  2. So I comment line36&45, uncomment line37&46, in this case, I cannot find where the result save (I cannot find the .serialized file everywhere), the corresponding error information is 'No such file or directory: '.../Depth_Map_to_Mesh/temp/script/Scene/00001/Sphere_005_0000_m000_0_000000.serialized' -> '.../Depth_Map_to_Mesh/displaced/i5001.serialized''. I try it on Ubantu and Windows. The problem both exists.
  3. In step three Render Images:
    When compiling the code, the definition of datatype “Float” can not be found. And there are also other problems while compiling. Which header file should I include in order to eliminate this error?
    Thank you very much!

I met these problem too, do you have any ideas now?

Hello,

We updated the readme file in the 'data generation zip code' according to this issue(1,2)!
Please download the v2 files.

For 3, you need to first compile Mitsuba. Then define Float as float or double according to the precision setting of the compiled Mitsuba.

Thank you,

Soomin

Thanks for your reply and update. I found I used Mitsuba 0.6.0 since the 0.5.0 version depending on MSVC 2010 was not maintained on their github now. It is not compatible with render_v3.xml.

Thanks again.

@manglakaran
Copy link

Hello,
I am getting the following error while loading gT and gR PFM files using pfm.read in the rendering pipeline using mitsuba.
Value Error : could not load Bitmap : /path_to_PFM_file : invalid header version number missing. This is while doing a pfm.read on the .PFM files.
Please let me know the resolution for this.

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

4 participants