imported alembic hair UV

Forums: imported alembic hair UV
Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderator: aoktar

imported alembic hair UV

Postby zullup » Fri Dec 09, 2022 8:26 pm

zullup Fri Dec 09, 2022 8:26 pm
Hey!

Just tried importing hair as an alembic into c4d from maya/yeti. The curves are there and rendering but I can't manage to texture them. It seems like octane does not
now how to read the UVs? (yeti exports UV data to the alembic).
It should have the growth surface UV for proper fur texturing but I can't make it work.

I tried importing them as curves and used an octane tag with "render as hair" and I also imported as c4d hair which does not make any difference.
I hope you can help me!

kind regards
zullup
Licensed Customer
Licensed Customer
 
Posts: 12
Joined: Wed Apr 06, 2016 2:07 pm

Re: imported alembic hair UV

Postby jayroth2020 » Fri Dec 09, 2022 8:51 pm

jayroth2020 Fri Dec 09, 2022 8:51 pm
It depends on how you have structured your hair material. Octane has a W Coordinate node that is used to apply color through the hair strand. Place a simplified version of your scene here so that we can take a look, or file a support ticket — [email protected]
CaseLabs Mercury S8 / ASUS Z10PE-D8 WS / Crucial 64GB 2133 DDR4 / 2 XEON E5-2687W v3 3.1 GHz / EVGA 1600 P2 / 1 EVGA RTX 3090Ti FTW3 Hybrid / 2 EVGA RTX 2080Ti FTW3 Hybrid/ Cinema 4D
jayroth2020
OctaneRender Team
OctaneRender Team
 
Posts: 469
Joined: Mon May 04, 2020 7:30 pm

Re: imported alembic hair UV

Postby zullup » Sat Dec 10, 2022 7:06 am

zullup Sat Dec 10, 2022 7:06 am
Hey.

I do not have any problms with W coordinates... that works fine.
I want it to get texturing from the growth surface textures. In this example each strand should adopt the color from the underlaying surface when surface and hair have the same texture applied.

Dropbox link: https://www.dropbox.com/sh/ge17um8cmgmt ... iT5Oa?dl=0
(viewport visibility is off for the hair for performance reasons)

Yeti exports .abc with UVs so it should actually work like that.


kind regards!
zullup
Licensed Customer
Licensed Customer
 
Posts: 12
Joined: Wed Apr 06, 2016 2:07 pm

Re: imported alembic hair UV

Postby jobigoud » Sat Dec 10, 2022 10:55 am

jobigoud Sat Dec 10, 2022 10:55 am
I loaded your Alembic in Octane standalone and applied a UV test texture and got the expected result.

hair-uv.jpg
User avatar
jobigoud
OctaneRender Team
OctaneRender Team
 
Posts: 230
Joined: Sat Aug 15, 2015 1:28 pm

Re: imported alembic hair UV

Postby zullup » Sat Dec 10, 2022 1:15 pm

zullup Sat Dec 10, 2022 1:15 pm
Yes, this looks like I want it to look. Unfortunately I am using C4D, have you tried the same in there?
zullup
Licensed Customer
Licensed Customer
 
Posts: 12
Joined: Wed Apr 06, 2016 2:07 pm

Re: imported alembic hair UV

Postby zullup » Sat Dec 10, 2022 3:02 pm

zullup Sat Dec 10, 2022 3:02 pm
BTw. I also checked in Standalone and it works over there but NO luck in c4d.
Is this something that was just not implemented in the plugin?

It also seems like the standalone automatically interprets the with attribute right which is awesome.
I really need this to work in the c4d plugin tho...
zullup
Licensed Customer
Licensed Customer
 
Posts: 12
Joined: Wed Apr 06, 2016 2:07 pm

Re: imported alembic hair UV

Postby aoktar » Sat Dec 10, 2022 5:45 pm

aoktar Sat Dec 10, 2022 5:45 pm
zullup wrote:Hey.

I do not have any problms with W coordinates... that works fine.
I want it to get texturing from the growth surface textures. In this example each strand should adopt the color from the underlaying surface when surface and hair have the same texture applied.

Dropbox link: https://www.dropbox.com/sh/ge17um8cmgmt ... iT5Oa?dl=0
(viewport visibility is off for the hair for performance reasons)

Yeti exports .abc with UVs so it should actually work like that.


kind regards!

I cannot get it work with standard renderer too. Can you?
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15957
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: imported alembic hair UV

Postby zullup » Sat Dec 10, 2022 6:12 pm

zullup Sat Dec 10, 2022 6:12 pm
I cannot get it work with standard renderer too. Can you?


I am not really familiar with the native c4d shading/rendering stuff but using a c4d hairshader and putting textures to "root" in the color section also does NOT do anything when rendered with "standard".
It really looks like c4d does not know what to do with the UV attributes of the imported curves which is absolutely crazy.

Can you with your deep knowledge can see if c4d somewhere reads the per strand attributes that are stored in the alembic? Maybe there is a workaround if c4d reads them but does not interpret it in any way.


thank you!
zullup
Licensed Customer
Licensed Customer
 
Posts: 12
Joined: Wed Apr 06, 2016 2:07 pm

Re: imported alembic hair UV

Postby aoktar » Sat Dec 10, 2022 7:46 pm

aoktar Sat Dec 10, 2022 7:46 pm
zullup wrote:
I cannot get it work with standard renderer too. Can you?


I am not really familiar with the native c4d shading/rendering stuff but using a c4d hairshader and putting textures to "root" in the color section also does NOT do anything when rendered with "standard".
It really looks like c4d does not know what to do with the UV attributes of the imported curves which is absolutely crazy.

Can you with your deep knowledge can see if c4d somewhere reads the per strand attributes that are stored in the alembic? Maybe there is a workaround if c4d reads them but does not interpret it in any way.


thank you!

That's not a matter how you generate a hair. It should have some UV coordinates in C4D. Then our plugin will export it. Here alembic doesn't appear to have it, you can test it by UV kernel. Also tested this geometry with Standard Renderer and it still doesn't give mapped results. So issue is not on Octane plugin, on how you import that.
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15957
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Re: imported alembic hair UV

Postby zullup » Sat Dec 10, 2022 8:05 pm

zullup Sat Dec 10, 2022 8:05 pm
[/quote]
That's not a matter how you generate a hair. It should have some UV coordinates in C4D. Then our plugin will export it. Here alembic doesn't appear to have it, you can test it by UV kernel. Also tested this geometry with Standard Renderer and it still doesn't give mapped results. So issue is not on Octane plugin, on how you import that.[/quote]

Since it renders perfectly using this very alembic with the standalone but is not rendering correctly using the Standard renderer it seems like C4D just does not import the UVs correctly, right?
Is there anything we can do here like a direct passthrough of the .abc to the renderer without having c4d messing it up?
zullup
Licensed Customer
Licensed Customer
 
Posts: 12
Joined: Wed Apr 06, 2016 2:07 pm
Next

Return to Maxon Cinema 4D


Who is online

Users browsing this forum: No registered users and 28 guests

Tue Apr 16, 2024 10:12 pm [ UTC ]