Hi guys thats is very interesting to read you.
I am also struggling with similar issues, how to
export houdini curves and particles to Octane standalone and C4D.
viewtopic.php?f=101&t=72082i was thinking to switch to C4D plugin But after reading you i am not sure it's a good idea anymore.
So that would be great to sum up and centralise
what works and what doesn' t works.
Houdini Particles to C4D :- are you able to export particle radiusPP ?
- are you able to export standard ColorPP and AlphaPP attributes ?
- are you able to export advanced attributes like age, speed, lifespan etc ?
- are you able to render 3D motion blur on particles in C4D ?
Houdini curves to C4D :- are you able to export curves width ?
- are you able to export standard Color and Alpha attributes ?
- are you able to export advanced custom attributes ?
- are you able to render 3D motion blur on curves in C4D ?
Houdini Particles to Standalone :- i can export @pscale by storing it in a point attribute
@width - i can' t export color by using the UV channel tricks of the houdini plugin with
rgb4k_map.ppm, alpha4k_map.ppm because standalone look to be
unable to read per particles uv attributes.
- advanced attributes doesn' t look to work
- motion blur works
Houdini curves to Standalone:- i can export curves @width by storing it as a point attribute
- i can export export color and alpha by using the houdini tricks with
rgb4k_map.ppm, alpha4k_map.ppm . in order to do so i create a primitive @uv attribute and i run this code by juanjo on a primitive wrangle node :
- Code: Select all
int base = 64;
int resolution = 4096;
float r = @Cd.x;
float g = @Cd.y;
float b = @Cd.z;
float a = @Alpha;
float min = 0.04;
float max = 0.96;
if(r<min) r = min; if(r>max) r = max;
if(g<min) g = min; if(g>max) g = max;
if(b<min) b = min; if(b>max) b = max;
if(a<min) a = min; if(a>max) a = max;
int rl = r*(base-1);
int gl = g*(base-1);
int bl = b*(base-1);
int al = a*(base-1);
int rgbLine = al + bl*base + gl*base*base + rl*base*base*base;
int xPix = rgbLine%resolution;
int yPix = rgbLine/resolution;
[email protected] = (float)xPix/resolution;
[email protected] = 1.0 - (float)yPix/resolution;
- advanced custom attributes are not supported
- motion blur looks to work
That would be fantastic if we all make a precise list of what works and what doesn' t works in order to avoid people searching and testing for HOURS.
This export attributes stuff is really a huge PITA.
I prefer Octane , but i am also evaluating RS at the moment for the same reason as you divasoft.
Cheers
E