Hello,
I 'm trying to instance trees .
they have leaves and trunk material.
But when I sue instance point, i can apply only one material to the entire object.
So I separated the trees in 2 parts
But what if I would like to instance an object with, let say, 10 materials ?
I tried delayed load a little but without success …
thanks for your help
how to instance mutlimaterial bgeo ?
2903 7 2- vbk!!!
- Member
- 383 posts
- Joined:
- Offline
- fsimerey
- Member
- 279 posts
- Joined: Dec. 2009
- Offline
- vbk!!!
- Member
- 383 posts
- Joined:
- Offline
- mark
- Staff
- 2597 posts
- Joined: July 2005
- Offline
vbk!!!
this is what I did for the trees but …
Now I need to instance characters from another soft with dozen of differents surfaces.
This method will drive me crazy
I need something more efficent ..
Packed primitives are an easy way to do instancing. You might want to read this post [sidefx.com]
- vbk!!!
- Member
- 383 posts
- Joined:
- Offline
- vbk!!!
- Member
- 383 posts
- Joined:
- Offline
- tamte
- Member
- 8621 posts
- Joined: July 2007
- Offline
renderstate packed:<attribname> will get attribute that's on the packed primitive, not inside
because you are creating attribute before packing, you can't get it by that function
so you either make sure that you create that attribute before packing
or much much easier, just use Bind VOP in your shader to get sphereColor vector attibute you created
it should work for your current setup
because you are creating attribute before packing, you can't get it by that function
so you either make sure that you create that attribute before packing
or much much easier, just use Bind VOP in your shader to get sphereColor vector attibute you created
it should work for your current setup
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- vbk!!!
- Member
- 383 posts
- Joined:
- Offline
-
- Quick Links