I'm struggling with copying a mesh to A LOT of points.
Since it gets very heavy in Maya to copy a mesh of 20 polygons to something like 5 million points,
I was thinking of creating an Arnold StandIn and copy that instead.
Unfortunately, when selecting the StandIn, I get this error:
“Selection has no supported object that can be used for input.”
Does anybody have an idea if this is at all possible or maybe a tip for another way to do this?
I'm currently working with Houdini 15.5 Indie licenses and in Maya 2016.
Thanks!
Copy Arnold StandIn
5847 7 2- Eckxter
- Member
- 61 posts
- Joined: Feb. 2011
- Offline
- awong
- Member
- 818 posts
- Joined: Sept. 2013
- Offline
Arnold StandIn cannot be used as inputs. I'm not too familiar with MtoA. Does it support rendering instancing efficiently (without using Arnold StandIn)? If so, the simplest way would be to make use of packed primitives. For example, you'd pack the 20 polygons object as a packed primitive, and then copy it to the 5 million points. When these 5 million packed primitives are outputted into Maya, it'd be outputted as Maya particle instancer.
If MtoA doesn't support rendering Maya instancer, then maybe another way is for the asset to only output the 5 million points, without copying the 20 polygons. The points would be outputted into Maya as particles. In Maya, you can then use Maya's particle instancer to instance the Arnold StandIn onto these 5 million points.
Hope this helps!
If MtoA doesn't support rendering Maya instancer, then maybe another way is for the asset to only output the 5 million points, without copying the 20 polygons. The points would be outputted into Maya as particles. In Maya, you can then use Maya's particle instancer to instance the Arnold StandIn onto these 5 million points.
Hope this helps!
Andrew / アンドリュー
- Eckxter
- Member
- 61 posts
- Joined: Feb. 2011
- Offline
- Eckxter
- Member
- 61 posts
- Joined: Feb. 2011
- Offline
So far everything seems to be working. Except I'm running into a troublesome issue.
Normally I can see the points that get scattered, but sometimes they disappear, never to be seen again.
The thing is that I know they are still there, because I added the option to copy a box from within the HDA to the points.
When activating that option, the boxes get copied to where the points are.
But when deactivating the copying again, the points are still not visible.
Any clue on what could be happening? Maybe a viewport bug?
I've added a Maya2016 file and HDA in attachment. I hope it works if you want to test it.
Thanks!
Normally I can see the points that get scattered, but sometimes they disappear, never to be seen again.
The thing is that I know they are still there, because I added the option to copy a box from within the HDA to the points.
When activating that option, the boxes get copied to where the points are.
But when deactivating the copying again, the points are still not visible.
Any clue on what could be happening? Maybe a viewport bug?
I've added a Maya2016 file and HDA in attachment. I hope it works if you want to test it.
Thanks!
- A little nonsense now and then, is relished by the wisest men.
- awong
- Member
- 818 posts
- Joined: Sept. 2013
- Offline
You might just need to do a “sync”. After toggling the “Copy Test Geo” option, you need to do a “sync”, because that option changes the type of what the asset is outputting. For example, when the option is “on”, a mesh node needs to be created in Maya to receive the asset's outputs. When the option is “off”, a particle node needs to be created. Doing a “sync” will sync up the Maya nodes to match what the asset needs.
Andrew / アンドリュー
- Eckxter
- Member
- 61 posts
- Joined: Feb. 2011
- Offline
- awong
- Member
- 818 posts
- Joined: Sept. 2013
- Offline
- Eckxter
- Member
- 61 posts
- Joined: Feb. 2011
- Offline
-
- Quick Links