Search - User list
Full Version: Cache import - export Asset
Root » Houdini Engine for Cinema 4D » Cache import - export Asset
noseman
Here's another simple asset that reads ANY cache Houdini reads, and writes ANY cache Houdini writes.
I have attached both the .hda assets, and the basic .hip files.

The way to use them to read file sequences is to use “$F3” as the enumerator.
This means:
$ = variable
F = Frame Number
3 = number of digits

So a cache named “Thanassis_001.bgeo” should be: “Thanassis_$F3.bgeo” and will read each file has the Frame number.

The same applies for the Writer. Use the same syntax, BUT DON'T FORGET THE EXTENSION.
Any extension you want it to be, you have to write it.

Just input any object or particle geometry or group into the input and play the timeline.

This is just a learning tool, don't forget.

Post your comments and experiments here.
bonsak
Sweet!

-b
ilay7k
Thank you

also if we have bgeo, it will read also with partioArnold procedural and navie cacher(or write by it) - for complex pipeline :wink:
noseman
One more thing I need to explain..
Unless your Houdini Particles have an “id” attribute, they won't load in C4D.
You can append an “id” using an “Attribute Create”, set it to “integer” and make the expression “$PT”.
That way C4D has a global particle id (essential to C4D) and will load properly.
Don't forget to increase the Max TP count in the TP preferences.
Flip Tanks have an “id” on by default, but whitewater doesn't. Neither do simple point objects, so make sure you have the “id”.
pnoland
Thank you! The particle ID was my issue. I didn't use the ID Attribute check box on the FLIP solver. My particles are showing up now.
vijendarsupedo
i cant import bgeo sequence… only selected bgeo is opening in my c4d but not as bgeo sequence..
noseman
Are you following the instructions in the first post?
You need to change the name to include the frame variable “$F3”.
Enivob
Do I have to have the Houdini Engine installed to use this in C4D?
muratpak
These are very nice details indeed.
Works quite well (the id trick helped) - however, I can't seem to access particle scale from c4d anyhow.

I can use one of the Cd channels to transfer scale for sure, but, I would like to do this in a proper way, using the pscale parameter (if this is the proper way). C4d can't seem to access this parameter.

Guidance needed!
yandao90514
noseman
Are you following the instructions in the first post?
You need to change the name to include the frame variable “$F3”.
noseman
Are you following the instructions in the first post?
You need to change the name to include the frame variable “$F3”.



Following your instructions to write file with _$F3 as the end of sequence name, but it only load the frame selected.
noseman
You say “to write” and then “only load”.
Do you want to write a sequence from Cinema 4D, OR Read a sequence into C4D?
yandao90514
noseman
You say “to write” and then “only load”.
Do you want to write a sequence from Cinema 4D, OR Read a sequence into C4D?


Thanks for your replying, Noseman.

I made a simple test animation in Houdini and cache it out with a file node with a name “test_$F3.bgeo”.
in c4d load your “Houdini_cache_reader_01A” , but when i load the files cached, it only load 1 frame that is selected
noseman
you need to make the name: “Test_$F3.bgeo”
In the picture it's “Test_001.bgeo”
Replace the frame number from “001” to “$F3”
yandao90514
noseman
you need to make the name: “Test_$F3.bgeo”
In the picture it's “Test_001.bgeo”
Replace the frame number from “001” to “$F3”


Thank you, now it works.

it's little bit confusing, though.
noseman
not really, it's how you open it in Houdini as well, only it's automatic there.
I'm glad it works now :-)

Cheers
yandao90514
noseman
not really, it's how you open it in Houdini as well, only it's automatic there.
I'm glad it works now :-)

Cheers


Yet another question, is it possible to load those lines into c4d ? on my test it only loads the polygons.
noseman
the C4D Houdini Engine plugin doesn't support Splines, I'm afraid.

Cheers
yandao90514
noseman
the C4D Houdini Engine plugin doesn't support Splines, I'm afraid.

Cheers


okay, thank you again.
lurklurkson
Hello, sorry to dig up that old thread again, but when I try to load in the .bgeo it just turns red and the doesnt create the geometry. However if I load it in houdini and open the .bgeo file there through your hda it works fine…
noseman
Please remember that many Houdini features that can be saved in a bgeo file are not compatible with C4D.
For example:
Splines
Volumes
Particles without explicit ID attribute
e.t.c.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB