• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Trouble with Point Set orientation

New Here ,
Aug 03, 2021 Aug 03, 2021

Copy link to clipboard

Copied

I am trying to scatter leaves across a shape (a sphere right now) using mesh sampler in conjunction with Geometry instancing. The problem is that the orientation is messed up, the leaves point outward from the sphere correctly, but the face of the leaf is kind of random. If I turn off particle orientation all the leaves point up which would be ok if I could copy the closest surface normal. I suppose I could probably get there if I could get access to the point set's vector info but not sure how to do that either.

Any recommendation on how to proceed would be appreciated.

TOPICS
General , Substance Model Graph

Views

131

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 04, 2021 Aug 04, 2021

Copy link to clipboard

Copied

Hello,

 

Can you please share a screenshot demonstrating the issue? This would help reproducing the problem accurately.

 

Best regards.

 

Luca Giarrizzo | QA Analyst, 3D & Immersive | Adobe

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 05, 2021 Aug 05, 2021

Copy link to clipboard

Copied

LATEST

Hi Luca!

I've attached a screenshot below of what I am running into. I'm using a sphere as a stand in for the "bush" shape and flattened cubes as stand ins for the leaves. I'm sampling the mesh from a scene rasterization to get the leaves to only gather on top of the mesh. All that is behaving as expected. However when I instance the geometry it is orienting the "leaves" in this kind of mirrored fashion that you see in the screenshot. I tried doing a crude sketch in the lower right of what I'm hoping to achieve, with the "leaves" extending out from the surface like they are now, but with the broad face of the leaf rotated to face up (the green lines trying to indicate the normal direction). I think if I can get that working then I should be able to bend them and add jitter and whatnot to make a believable shrub exterior.
Let me know if that clarifies things or if I need to dig in further. Thanks for your help!

ProcBush_Screen.png

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines