Jump to content

how can i convert *.pc to *.i3d


Recommended Posts

Hi. I have .pc file. It was generated with Point Cloud Write VEX node. I can see lot of points inside pc file with File surface node. And I can convert it to bgeo file. But I need use it for bake my render once and read my baked data during render sequence. I can read 3d data with Texture 3D VEX node, but file format must be i3d. I know that there is one utility. Its name - i3dconvert. Its mission - to convert any data to i3d format. If I can believe in "i3dconvert -help" command, I must type "i3dconvert -t pcloud.bgeo pcloud.i3d" in terminal window. But this command has a strange output:

Warning: point 21 has bad x spacing (0.419324 not 0.285858)
Warning: point 21 has bad y spacing (0.164501 not 0.111758)
Warning: point 21 has bad z spacing (0.19356 not 0.0921745)
.....
bla bla  bla
.....
Warning: point 2853 has bad y spacing (0.0507271 not 0.111758)
Warning: point 2853 has bad z spacing (0.167755 not 0.0921745)
Warning: point 2855 has bad z spacing (0.0354023 not 0.0921745)
Segmentation fault

What's wrong in my actions? How can I get right i3d? If this is important, you can get my .pc file there.

Thank you.

Link to comment
Share on other sites

I need bake and read such as renderman. It is very easy and fast. 1 - bake pointcloud (bake3d). 2 - convert to brickmap (brickmake). 3 - red brickmap (texture3d). How to do something similar in houdini?

You mean Houdini->Mantra? Or Houdini->Renderman?

If Mantra, is there a reason why you don't read the pointcloud directly in your shader? Do you really need to make an i3d/volume first? I think the only benefit of doing that may be to get a faster read. You could write in i3d shader or a VEX SOP to convert the point cloud to an i3d or volume.. something that perhaps would be a nice thing for SESI to include by default, actually. Do you know how to perform a point cloud query?

Link to comment
Share on other sites

You mean Houdini->Mantra? Or Houdini->Renderman?

I mean Houdini->Mantra

why you don't read the pointcloud directly in your shader? Do you really need to make an i3d/volume first? I think the only benefit of doing that may be to get a faster read.

In prman reading brickmaps occurs faster, than pointclouds. And if I will use the brickmaps the memory expense will be more economic. And if it hard to notice on a small scene, on big scene render will much faster. It seems to me that in mantra all will occur similarly. Am I not right?

Do you know how to perform a point cloud query?

No. How?

Link to comment
Share on other sites

  • 3 weeks later...
If you have .pc files, then you should use the Point Cloud VEX nodes to read them.

I can't read my .pc data. I do not know how to do this. How can I read my .pc data? What nodes should I use for this? I can only write data.

Link to comment
Share on other sites

I can't read my .pc data. I do not know how to do this. How can I read my .pc data? What nodes should I use for this? I can only write data.

Point Cloud Open VOP and Point Cloud Filter VOP (and other Point Cloud * VOPs)

The VOP nodes seem to be missing help pages, but the corresponding vex functions are documented.

http://www.sidefx.com/docs/houdini10.0/vex/functions/pcopen

http://www.sidefx.com/docs/houdini10.0/vex...ctions/pcfilter

and the rest in http://www.sidefx.com/docs/houdini10.0/vex/functions/

Sorry, can't find an example hip at the moment.

eetu.

Link to comment
Share on other sites

  • 1 month later...

Maybe I'm just stupid but I just can't find the Point Cloud Write vex node. This is a Vop right?

I would like to write a pointcloud to disk, so I'm able to use it in a Vop due to closesest points/ neighbours stuff. But it seems the pcopen needs a pointcloud file, throuh the forum/point cloud write I figured I need Point Cloud Write. But for what ever reason I'm not able to find it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...