Export PRT

   12742   6   1
User Avatar
Member
1 posts
Joined: 5月 2015
Offline
Hello everyone

I'm a new houdini user and I have a question please about the export.

I would like export my particles from houdini in .prt file.

I have downloaded this dll : exportPRT

and use python node with this expression :

Krakatoa.exportParticles( hou.node( “/obj/location_particles/import_location” ), “my_path/output_particles.prt” ) (for Houdini 13 or late, I'm on 14)

found here : https://github.com/ThinkboxSoftware/HoudiniPRTExporter [github.com]

But no success, can you help me?

Thank you,

cheer!
“C’est marrant, personne n’a voulu que je débute, et personne ne veut que je m’arrête” Jacques Brel
User Avatar
Member
558 posts
Joined: 3月 2014
Offline
here you go:
http://www.flipswitchingmonkey.com/2015/01/prt-export-from-houdini/ [flipswitchingmonkey.com]
worked like a charm for me.

cheers,
fuat
Fuat Yüksel
FX Supervisor | RISE Visual Effects Studios
User Avatar
Member
13 posts
Joined: 6月 2015
Offline
The solution you suggest does not include any documentation on how to implement it. Could you kindly show the steps to use the module for exporting particles to .prt? Thanks in advance.
User Avatar
Member
5 posts
Joined: 1月 2017
Offline
Did you figure it out?
I’m only able to export one frame, but I’d like to export the whole sequence of 100 frames. Anybody knows how to export it?
User Avatar
Member
13 posts
Joined: 6月 2015
Offline
I ended up using the Realflow Plugin for Houdini to Export the PRT files.
User Avatar
Member
52 posts
Joined: 6月 2012
Offline
For example you can make a filecache, then write the path where you want to export it like this :

/mypath/myfiles

with no frame number and no prt extension

then in the pre-frame script, switch the language to Python and just paste this :

import Krakatoa; import hou; Krakatoa.exportParticles(hou.node('`opinputpath(“.”,0)`'), ‘{}.{:04d}.prt’.format('`chs(“file”)`', `$F`))

Connect the filecache input to what you want to export then you should be set. There is many way to make this better but that at least should help you exporting your frames
User Avatar
Member
1 posts
Joined: 7月 2013
Offline
try this

https://www.flipswitchingmonkey.com/houdini-prt-rop/ [www.flipswitchingmonkey.com]
  • Quick Links