i3dconvert-documentation,pointclouds back to irradiadiance

   4293   4   1
User Avatar
Member
345 posts
Joined:
Offline
Hello,

I am looking for any information, help, about i3dconvert tool. Currently I am trying to convert pointclouds back to irradiance cache. Unfortunately I got an error because points are not evenly spaced. My question is how can I convert poinclouds into “regular axis-aligned lattice”? Is there any command to do so in i3dconvert, or should I do that straight from houdini?

What I am trying to achieve (not sure if it is possible) is to use irradiance caching in similar way as you use it in Vray in 3dsmax. The idea is to collect irradiance cache for all frames in one file (by merging pointclouds) and later refer to that file during final rendering. This way each frame will be referring to the same light settings stored in a file and final render will be free of artifacts movements.

Thank you for any suggestions.

Kuba
User Avatar
Member
1002 posts
Joined: July 2005
Offline
If you have a static scene, it's possible that you could do this by rendering the entire animation using an irradiance cache file in read/write mode. Then, render the animation again using the same cache file in read mode. This approach will only work for static scenes - any moving shadows in your scene will probably end up rendering with artifacts or incorrect lighting.

You can use “i3dconvert test.i test.bgeo” to convert from irradiance cache files to geometry. Use “i3dconvert -i test.bgeo test.i” to convert from geometry to irradiance caches. You might be able to use this approach to manually merge the irradiance cache files as bgeos, then convert them back to irradiance caches.

Andrew
User Avatar
Member
4271 posts
Joined: July 2005
Offline
Hey Andrew can you double check an 8.1 build. Say I create a irradiance map, test.i, then convert it to a bgeo then back again I get the following.


68 ~ % i3dconvert test.i test.bgeo
69 ~ % i3dconvert -i test.bgeo newtest.i
i3dconvert Error: Irradiance Map: Unable to find cover attribute


70 ~ % i3dinfo test.i
Irradiance Cache: ./test.i
20936 cache points
Matrix: 1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1

Attachments:
irad.hip.gz (17.6 KB)

if(coffees<2,round(float),float)
User Avatar
Member
1002 posts
Joined: July 2005
Offline
You're right, there seem to be issues with the round trip in H8. These problems have been resolved in H9.

Andrew
User Avatar
Member
345 posts
Joined:
Offline
Silly of me!!!
In fact Irradiance Read/Write option does allow to append new irradiance data into existing file - which solves my problem. But still this operation can be done on one machine only.

Kuba
  • Quick Links