Read Houdini Particle Attributes into C4D via Alembic

Forums: Read Houdini Particle Attributes into C4D via Alembic
Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderator: aoktar

Read Houdini Particle Attributes into C4D via Alembic

Postby ajiblock » Thu Jan 18, 2018 7:15 pm

ajiblock Thu Jan 18, 2018 7:15 pm
Hi,
hopefully the title explains it all. I have a particle sim in Houdini, i've cached it and brought it into Octane, It's Alembic, with a few million particles, being read into Octane Scatter and is rendering great. Only problem – the look is heavily baed on the Cd (color diffuse) attribute that I was using in Houdini.

at 21 mins in this video https://vimeo.com/182543771 Rohan Dalvi shows a workaround in Houdini/Octane to color particles by generated color attributes. I know you can typically pick up particle attributes in Alembic, so was wondering if there was a way to emulate what Rohan is doing in C4D Octane, feels like I'm so close to do everything I need except the particle coloring.... Thanks so much !
ajiblock
Licensed Customer
Licensed Customer
 
Posts: 19
Joined: Wed Nov 30, 2016 2:44 pm

Re: Read Houdini Particle Attributes into C4D via Alembic

Postby Chrmez » Tue Jan 30, 2018 8:33 am

Chrmez Tue Jan 30, 2018 8:33 am
If I get you right, then this is exactly what I am having troubles with too. I've been looking for a solution forever.
The shader in Octane Scatter does absolutely nothing on imported particles. The colors, sizes stay random.

https://cdn.discordapp.com/attachments/ ... .28.35.png

Will be following this thread to hopefully put an end to this issue.
C4D R18 / C4D R19

AMD Ryzen Threadripper 1950X — MSI X399 Gaming Pro Carbon
MSI 1080 Ti FE — 2 x PALIT 980 Ti Super Jetstream
Corsair AXi 1500W — Corsair Vengence 32GB 3000MHz LED White
Chrmez
Licensed Customer
Licensed Customer
 
Posts: 60
Joined: Thu May 26, 2016 7:30 am

Re: Read Houdini Particle Attributes into C4D via Alembic

Postby Chrmez » Thu Feb 08, 2018 8:00 am

Chrmez Thu Feb 08, 2018 8:00 am
After weeks and weeks of researching this I think there's just no way to control Cd(Vector) or any other attributes in Octane C4D. What he is doing in the video you posted is not on material level and seems very limited (only two attributes) but I doubt either of them will work in C4D.

In "that other GPU renderer" you can simply import your alembic to C4D as particles. C4D will then read out the attributes in Thinking Particles and then you just use the attributes in your materials to control everything you need (even pscale). I prefer Octane way more though so Aoktar, if there is any way to get this to work now or in future releases please let us know.
C4D R18 / C4D R19

AMD Ryzen Threadripper 1950X — MSI X399 Gaming Pro Carbon
MSI 1080 Ti FE — 2 x PALIT 980 Ti Super Jetstream
Corsair AXi 1500W — Corsair Vengence 32GB 3000MHz LED White
Chrmez
Licensed Customer
Licensed Customer
 
Posts: 60
Joined: Thu May 26, 2016 7:30 am

Re: Read Houdini Particle Attributes into C4D via Alembic

Postby mlmcgoogan » Sat Apr 07, 2018 5:52 pm

mlmcgoogan Sat Apr 07, 2018 5:52 pm
Just in case you haven't resolved this yet. It is now possible to get Houdini's Cd attribute into C4D/Octane. Just make sure that the export from Houdini has a Cd attribute at the point level and when you import into C4D, import the particles as geometry (NOT particles). You'll know you're good if you see an Alembic vertex map tag called "Cd" on the object.

You can then use a scatter node with the Alembic object as the surface. Create a sphere (or whatever geo you want), drop it under the scatter node so it becomes the scattered object, and throw an Octane Mat on it. In the mat use an Instance Color node, switch to particle mode, and drag the "Cd" vertex map into the field. Boom, color. Supports full animation of the attribute.

Note that only the Cd attribute seems to be supported currently, this looks to be a C4D/Alembic limitation. Depending on what you're trying to do you can get around this in certain cases by using an attrib rename in Houdini to use a Cd vector to hold whatever arbitrary data you care about.
mlmcgoogan
Licensed Customer
Licensed Customer
 
Posts: 31
Joined: Thu May 11, 2017 5:57 pm

Re: Read Houdini Particle Attributes into C4D via Alembic

Postby drbolick » Tue Feb 04, 2020 1:18 am

drbolick Tue Feb 04, 2020 1:18 am
This worked for me and definitely saved a lot of headaches.
Thank you so much!
drbolick
Licensed Customer
Licensed Customer
 
Posts: 1
Joined: Tue Sep 23, 2014 9:42 pm

Return to Maxon Cinema 4D


Who is online

Users browsing this forum: Bing [Bot] and 17 guests

Fri Apr 19, 2024 4:18 am [ UTC ]