Isotropix Forums

Scatter rotation (Clarisse PC) with Alembic custom property?

General Discussion about Isotropix and CG related topics

Re: Scatter rotation (Clarisse PC) with Alembic custom prope

Unread postby atnreg » Thu Mar 12, 2020 6:24 pm

And yes I know needles do not grow on trunk and bough like that, I just wanted to make the demo as small as possible :D
Antti
AMD Ryzen Threadripper 2990wx (32c/64t),64GB RAM,NVIDIA GTX 1080ti,Win10
Clarisse 4.0SP5b,Houdini,Blender2.80,Fusion360,Onyx,ZBrush,SubstPnt...
Started: Clarisse 2016/10 (Py 2017/01), Python 2016/11
No business, just fun :)
atnreg
 
Posts: 534
Joined: Mon Sep 19, 2016 4:20 pm
Location: Helsinki, Finland

Re: Scatter rotation (Clarisse PC) with Alembic custom prope

Unread postby dboude » Fri Mar 13, 2020 9:38 am

Is that what you get in Houdini ?

orient_property_underliying_geo.PNG


Cheers ;)
Démian
Isotropix
Technical Artist - Clarisse Specialist
User avatar
dboude
 
Posts: 1400
Joined: Mon Jul 03, 2017 10:51 am

Re: Scatter rotation (Clarisse PC) with Alembic custom prope

Unread postby atnreg » Fri Mar 13, 2020 8:25 pm

Ooops, sorry I posted wrong version (replaced it with the correct and checked one in orig post), I DO of course use those Support/Instance colors as you told, now you think I'm total idiot :shock: :D

But no, in Houdini, it does not look like that either and that is the problem :)

In Houdini, the quaternion @orient looks like this:
tmp_capture_01680.png

So to me it looks like the quaternion is correct. Also the Blue vectors are identical to using only vectors (which works but I THINK quaternion gives better results, do you agree?)
Actually, it looks like in Clarisse what we get is reverse of X-axis only :shock:

What can be wrong? :)

Thank you!
Antti
AMD Ryzen Threadripper 2990wx (32c/64t),64GB RAM,NVIDIA GTX 1080ti,Win10
Clarisse 4.0SP5b,Houdini,Blender2.80,Fusion360,Onyx,ZBrush,SubstPnt...
Started: Clarisse 2016/10 (Py 2017/01), Python 2016/11
No business, just fun :)
atnreg
 
Posts: 534
Joined: Mon Sep 19, 2016 4:20 pm
Location: Helsinki, Finland

Re: Scatter rotation (Clarisse PC) with Alembic custom prope

Unread postby dboude » Sun Mar 15, 2020 10:51 am

Antti,

Look at your vectors, it's the Z axis that points up. So you need the original needle to point to Z+ in Clarisse.

Cheers ;)
Démian
Isotropix
Technical Artist - Clarisse Specialist
User avatar
dboude
 
Posts: 1400
Joined: Mon Jul 03, 2017 10:51 am

Re: Scatter rotation (Clarisse PC) with Alembic custom prope

Unread postby atnreg » Sun Mar 15, 2020 11:32 am

dboude wrote:Antti,
Look at your vectors, it's the Z axis that points up. So you need the original needle to point to Z+ in Clarisse.
Cheers ;)


Now I feel like I need to hide under the ground for embarrassment :shock:
I DID understand that in Clarisse it looked like the X axis was correct (as I told) but I DID NOT realize that fix for it is that simple :oops:
I even tried to change the calculation in Houdini to change the axis directions but this is of course MUCH simpler solution :mrgreen:

I hope you have not lost hope with me, I am NOT a total idiot :mrgreen:

Thank you VERY much once again!
Antti
AMD Ryzen Threadripper 2990wx (32c/64t),64GB RAM,NVIDIA GTX 1080ti,Win10
Clarisse 4.0SP5b,Houdini,Blender2.80,Fusion360,Onyx,ZBrush,SubstPnt...
Started: Clarisse 2016/10 (Py 2017/01), Python 2016/11
No business, just fun :)
atnreg
 
Posts: 534
Joined: Mon Sep 19, 2016 4:20 pm
Location: Helsinki, Finland

Re: Scatter rotation (Clarisse PC) with Alembic custom prope

Unread postby dboude » Sun Mar 15, 2020 1:46 pm

Hope I have ! :P
Démian
Isotropix
Technical Artist - Clarisse Specialist
User avatar
dboude
 
Posts: 1400
Joined: Mon Jul 03, 2017 10:51 am

Re: Scatter rotation (Clarisse PC) with Alembic custom prope

Unread postby atnreg » Sun Mar 15, 2020 2:33 pm

dboude wrote:Hope I have ! :P

Hope you have what? Lost hope with me? :D

Anyway, now it starts to look better, still work to do with materials (branch mat is now just plain color, needle is UV gradient but needs work) and evenness of needle distribution and the needle shape but the idea works :)

And this would be impossible with any other software than Clarisse, I have 300 trees in that scene and geometry count is 3.2 billion and primitive count 1.2 trillion :D And not even slightest problem in performance, Clarisse is just incredible :o

EDIT: Updated the render again, now needles look better in shape.

Thank you!
Attachments
lehtiscattertesti-scatter-needles-pine-close2.png
Last edited by atnreg on Sun Mar 15, 2020 4:58 pm, edited 2 times in total.
Antti
AMD Ryzen Threadripper 2990wx (32c/64t),64GB RAM,NVIDIA GTX 1080ti,Win10
Clarisse 4.0SP5b,Houdini,Blender2.80,Fusion360,Onyx,ZBrush,SubstPnt...
Started: Clarisse 2016/10 (Py 2017/01), Python 2016/11
No business, just fun :)
atnreg
 
Posts: 534
Joined: Mon Sep 19, 2016 4:20 pm
Location: Helsinki, Finland

Re: Scatter rotation (Clarisse PC) with Alembic custom prope

Unread postby dboude » Sun Mar 15, 2020 3:17 pm

I still have hope on you ;)

Good luck with your forest !
Démian
Isotropix
Technical Artist - Clarisse Specialist
User avatar
dboude
 
Posts: 1400
Joined: Mon Jul 03, 2017 10:51 am

Re: Scatter rotation (Clarisse PC) with Alembic custom prope

Unread postby atnreg » Sun Mar 15, 2020 3:47 pm

dboude wrote:I still have hope on you ;)

Good then :D

dboude wrote:Good luck with your forest !

Thanks, I just updated the render above, now needles look better in shape, they were too curvy, looked more like hay. Though now they may be too straight for pine, I'll continue tweaking :D
EDIT: Updated the render again, now the needle shape is quite nice :)
Antti
AMD Ryzen Threadripper 2990wx (32c/64t),64GB RAM,NVIDIA GTX 1080ti,Win10
Clarisse 4.0SP5b,Houdini,Blender2.80,Fusion360,Onyx,ZBrush,SubstPnt...
Started: Clarisse 2016/10 (Py 2017/01), Python 2016/11
No business, just fun :)
atnreg
 
Posts: 534
Joined: Mon Sep 19, 2016 4:20 pm
Location: Helsinki, Finland

Previous

Return to General Discussion
cron