Page 2 of 2

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

Unread postPosted: Thu Mar 12, 2020 6:24 pm
by atnreg
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

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

Unread postPosted: Fri Mar 13, 2020 9:38 am
by dboude
Is that what you get in Houdini ?

orient_property_underliying_geo.PNG


Cheers ;)

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

Unread postPosted: Fri Mar 13, 2020 8:25 pm
by atnreg
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!

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

Unread postPosted: Sun Mar 15, 2020 10:51 am
by dboude
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 ;)

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

Unread postPosted: Sun Mar 15, 2020 11:32 am
by atnreg
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!

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

Unread postPosted: Sun Mar 15, 2020 1:46 pm
by dboude
Hope I have ! :P

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

Unread postPosted: Sun Mar 15, 2020 2:33 pm
by atnreg
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!

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

Unread postPosted: Sun Mar 15, 2020 3:17 pm
by dboude
I still have hope on you ;)

Good luck with your forest !

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

Unread postPosted: Sun Mar 15, 2020 3:47 pm
by atnreg
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 :)