Jump to content


PDC SOP Import/Export for Houdini 12


  • Please log in to reply
11 replies to this topic

#1 xionmark

xionmark

    Houdini Master

  • Members
  • PipPipPipPip
  • 720 posts
  • Joined: 26-July 02
  • Location:Seattle
  • Name:Mark Story

Posted 13 June 2012 - 03:19 PM

Updated for H12 graciously provided by Frederic Servant.

Linux 64bit:
http://www.digitalci....3_H12.0.tar.gz

Source code:
http://www.digitalci...c_v1.5.3.tar.gz


::=>Mark
========================================================
You are no age between space

#2 papicrunch

papicrunch

    Peon

  • Members
  • Pip
  • 70 posts
  • Joined: 30-March 08
  • Location:France
  • Name:Thomas VM.

Posted 08 September 2012 - 11:50 AM

Hi, thank to share this.

I'm trying to compile from source to windows 64 with visual studio 2008 but I know nothink about this.
I follow this video and with the basic star compilation I have no problem.
But when i try to do the same think with your source I have a lot error.

Do you have an idea how I can compile pdc for houdiini 12.1 ?

Thank,
Thomas

(I really know nothing about makefile, compilation .... :( ,sorry )

#3 xionmark

xionmark

    Houdini Master

  • Members
  • PipPipPipPip
  • 720 posts
  • Joined: 26-July 02
  • Location:Seattle
  • Name:Mark Story

Posted 08 September 2012 - 08:13 PM

If you can compile the examples in the HDK then you can simply use the hcustom command:

hcustom SOP_PDC_Import.C

and

hcustom SOP_PDC_Export.C


()->Mark
========================================================
You are no age between space

#4 xionmark

xionmark

    Houdini Master

  • Members
  • PipPipPipPip
  • 720 posts
  • Joined: 26-July 02
  • Location:Seattle
  • Name:Mark Story

Posted 08 September 2012 - 08:34 PM

Forgot to mention the Maya PDC plugins are updated for H12.1:

http://www.digitalci...udini-maya-pdc/


--0)(Mark)<-
========================================================
You are no age between space

#5 papicrunch

papicrunch

    Peon

  • Members
  • Pip
  • 70 posts
  • Joined: 30-March 08
  • Location:France
  • Name:Thomas VM.

Posted 09 September 2012 - 02:45 AM

hey cool it s working well in Houdini but when i try to read the particle disk cache in maya it's not working

what I have try /done :

- I have putting the result of hcustom command in Houdini 12.1.57\custom\houdini\dsolib
ok in houdini I now acces to Maya_pdc_import and export node

- export from houdini, import into it (with or without attributes)
ok

- read the pdc in Maya with good naming convention:
particleShape1.`$F*250`.pdc
failed

- export Maya pdc and read it in Houdini
ok

- with it reexport from houdini with all attributs come from maya and reread it in Maya
failed

- read in maya your custom particle file
ok

- open in Houdini your pdc file
ok

- reexport them from hou and read in maya
failed


what I m doing wrong ?
the goal is export houdini point with attributs and use maya particle instancer

thomas,
have fun

Attached Files



#6 xionmark

xionmark

    Houdini Master

  • Members
  • PipPipPipPip
  • 720 posts
  • Joined: 26-July 02
  • Location:Seattle
  • Name:Mark Story

Posted 09 September 2012 - 07:43 AM

Not sure what's wrong.  You can check the contents of the PDC files with the dump_pdc utilty.
Or upload a sample PDC file for me to examine.


--Mark


View Postpapicrunch, on 09 September 2012 - 02:45 AM, said:

hey cool it s working well in Houdini but when i try to read the particle disk cache in maya it's not working

what I have try /done :

- I have putting the result of hcustom command in Houdini 12.1.57\custom\houdini\dsolib
ok in houdini I now acces to Maya_pdc_import and export node

- export from houdini, import into it (with or without attributes)
ok

- read the pdc in Maya with good naming convention:
particleShape1.`$F*250`.pdc
failed

- export Maya pdc and read it in Houdini
ok

- with it reexport from houdini with all attributs come from maya and reread it in Maya
failed

- read in maya your custom particle file
ok

- open in Houdini your pdc file
ok

- reexport them from hou and read in maya
failed


what I m doing wrong ?
the goal is export houdini point with attributs and use maya particle instancer

thomas,
have fun

========================================================
You are no age between space

#7 papicrunch

papicrunch

    Peon

  • Members
  • Pip
  • 70 posts
  • Joined: 30-March 08
  • Location:France
  • Name:Thomas VM.

Posted 09 September 2012 - 09:06 AM

I compile the dump_PDC succesfully but dont know how use it

HERE the pdc from my houdini created base on your pdc : PDC_cache_new

thank you

PTC_H12.1_win64.7z

edit link broken

Edited by papicrunch, 09 September 2012 - 09:27 AM.


#8 xionmark

xionmark

    Houdini Master

  • Members
  • PipPipPipPip
  • 720 posts
  • Joined: 26-July 02
  • Location:Seattle
  • Name:Mark Story

Posted 09 September 2012 - 05:34 PM

View Postpapicrunch, on 09 September 2012 - 09:06 AM, said:

I compile the dump_PDC succesfully but dont know how use it

HERE the pdc from my houdini created base on your pdc : PDC_cache_new

thank you

PTC_H12.1_win64.7z

edit link broken

The dump_PDC utility just takes a filename for a PDC file and dumps the headers and/or contents.  There are other utilities to check the PDC file and I used them also to verify the data.  The PDC files you posted seem fine so I'm sorry but I am not sure what you're asking.  


--Mark
========================================================
You are no age between space

#9 papicrunch

papicrunch

    Peon

  • Members
  • Pip
  • 70 posts
  • Joined: 30-March 08
  • Location:France
  • Name:Thomas VM.

Posted 10 September 2012 - 12:16 AM

I want to import a pdc come from houdini to maya

I try on maya 2011,2012,2013

thank for your time
Thomas

#10 xionmark

xionmark

    Houdini Master

  • Members
  • PipPipPipPip
  • 720 posts
  • Joined: 26-July 02
  • Location:Seattle
  • Name:Mark Story

Posted 10 September 2012 - 06:55 AM

View Postpapicrunch, on 10 September 2012 - 12:16 AM, said:

I want to import a pdc come from houdini to maya

I'm able to read the PDC files just fine in Houdini (they are named with a "ptc" extension, I don't know if that confuses Maya or not ...) and as you can see from the screen capture (see attached image) that all the attributes are imported as well.  My guess is that you aren't placing the files exported from Houdini in a place that Maya can find them .. ?  I don't use Maya, sorry.  I have also attached the PDC utilities written by  Peter J. Lu (Harvard University) and Amit Chourasia/John Moreland (San Diego Supercomputer Center) to cross check your PDC files.  Hope that helps.


++Mark--

Attached Files


========================================================
You are no age between space

#11 papicrunch

papicrunch

    Peon

  • Members
  • Pip
  • 70 posts
  • Joined: 30-March 08
  • Location:France
  • Name:Thomas VM.

Posted 10 September 2012 - 10:57 AM

ok it's working !

just an error of me ...:unsure: my pdc file had pTc extension .....

sorry for your time, And thank you for this uselful tool

Have fun,
Thomas

Edited by papicrunch, 10 September 2012 - 10:57 AM.


#12 xionmark

xionmark

    Houdini Master

  • Members
  • PipPipPipPip
  • 720 posts
  • Joined: 26-July 02
  • Location:Seattle
  • Name:Mark Story

Posted 10 September 2012 - 11:33 AM

View Postpapicrunch, on 10 September 2012 - 10:57 AM, said:

ok it's working !

Yay!
========================================================
You are no age between space




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users