Solaris layout tool not picking up overrides
4653 17 2- blakshep
- Member
- 77 posts
- Joined: Oct. 2016
- Offline
- TwinSnakes007
- Member
- 589 posts
- Joined: July 2013
- Offline
- blakshep
- Member
- 77 posts
- Joined: Oct. 2016
- Offline
Sure! Here i am assigning a red shader to every mesh in my scene, but some reason is not affecting the objects created by layout node.
Also haven't succeeded assigning redshift matte attribute to them.Here just assigned it to top node and it works fine for every object except the layout ones. Tried also assigning every mesh or * still same.
Is this something with opinions, or bug, or i just do it completely wrong ?
Also haven't succeeded assigning redshift matte attribute to them.Here just assigned it to top node and it works fine for every object except the layout ones. Tried also assigning every mesh or * still same.
Is this something with opinions, or bug, or i just do it completely wrong ?
- jsmack
- Member
- 7659 posts
- Joined: Sept. 2011
- Offline
blakshep
Sure! Here i am assigning a red shader to every mesh in my scene, but some reason is not affecting the objects created by layout node.
Also haven't succeeded assigning redshift matte attribute to them.Here just assigned it to top node and it works fine for every object except the layout ones. Tried also assigning every mesh or * still same.
Is this something with opinions, or bug, or i just do it completely wrong ?
The mesh prim highlighted is a child of an instanceable prim, therefore it's not editable directly. It's possible to create an 'inherits' arc that contains the assignment that overlays the instanceable prims.
If possible, use variants of the assets without materials in the layout and then assign the material to an ancestor prim.
- blakshep
- Member
- 77 posts
- Joined: Oct. 2016
- Offline
So i guess its same reason matte wont work?
How do you make an inherit arc?
It is needed to able override materials or render properties like every single project.
Im testing the compounentbuilder workflow where i have assets already made with shaders. Load em up without shaders and load em again and do assignments with each and every asset doesn't sound fun.
Thanks for your help.
How do you make an inherit arc?
It is needed to able override materials or render properties like every single project.
Im testing the compounentbuilder workflow where i have assets already made with shaders. Load em up without shaders and load em again and do assignments with each and every asset doesn't sound fun.
Thanks for your help.
- blakshep
- Member
- 77 posts
- Joined: Oct. 2016
- Offline
- frostfx
- Member
- 44 posts
- Joined: May 2017
- Offline
- blakshep
- Member
- 77 posts
- Joined: Oct. 2016
- Offline
- frostfx
- Member
- 44 posts
- Joined: May 2017
- Offline
Inherit arcs cannot be made to external files. You can see which prim its inheriting from (if any) from the metadata of the prim. Looking at your screenshot im guessing its /__class__/apple01.
So you can try setting the Material Path Prefix on your material library node to /__class__/apple01/mtl/ and name your material the same as the one you want to override (and uncheck the assign to geometry checkbox). i havent used the layout node myself, but thats a way to override materials on instances.
So you can try setting the Material Path Prefix on your material library node to /__class__/apple01/mtl/ and name your material the same as the one you want to override (and uncheck the assign to geometry checkbox). i havent used the layout node myself, but thats a way to override materials on instances.
Edited by frostfx - Feb. 11, 2022 13:44:14
- blakshep
- Member
- 77 posts
- Joined: Oct. 2016
- Offline
Thanks for your answer but im still so confused
i have no class thing for the objects have issue with.
the metadata of one of my object is attached dont really get what can i read of it.
I actually dont want to override material though it is very often needed.
I just want to make these objects matte by adding redshift matte attribute to it but it just ignores it therefor i tried override material to so i see issue in opengl view
i have no class thing for the objects have issue with.
the metadata of one of my object is attached dont really get what can i read of it.
I actually dont want to override material though it is very often needed.
I just want to make these objects matte by adding redshift matte attribute to it but it just ignores it therefor i tried override material to so i see issue in opengl view
- frostfx
- Member
- 44 posts
- Joined: May 2017
- Offline
- blakshep
- Member
- 77 posts
- Joined: Oct. 2016
- Offline
- blakshep
- Member
- 77 posts
- Joined: Oct. 2016
- Offline
- frostfx
- Member
- 44 posts
- Joined: May 2017
- Offline
- arx_anima
- Member
- 75 posts
- Joined: Aug. 2019
- Offline
you have to create the class prim in your scene if you wanna use the inherit, the component builder simply stores the information so it can inherit from that prim.
Once you create the prim with the same path in your scene and do stuff to it your asset will inherit this.
That said tho there can be an issue with your material assignment, i always create the material prim with my class deactivate it to loose all assigments and then assign whatever material i want onto the geo prim in the class so the asset will pick it up.
Once you create the prim with the same path in your scene and do stuff to it your asset will inherit this.
That said tho there can be an issue with your material assignment, i always create the material prim with my class deactivate it to loose all assigments and then assign whatever material i want onto the geo prim in the class so the asset will pick it up.
- blakshep
- Member
- 77 posts
- Joined: Oct. 2016
- Offline
- antc
- Member
- 271 posts
- Joined: Nov. 2013
- Offline
When I use the layout lop set to instanceable references I get the prototypes placed on the stage under a "Prototypes" scope. From there its possible to direct edits using whatever lop to the prototypes rather than the instances. The only catch out the box is that the prototypes come in instanced as well, which prevents overrides. That's an easy fix though - just use a configure primitive lop set to /layout/Prototypes/* and check "instanceable: Not Instanceable". If that works the prototype models text should go from blue to yellow in the scenegraph tree.
Heres an example with a color override on three instanced spheres and two instanced cubes using a single edit properties lop
The inherits workflow is also ok but not as convenient as the prototypes because lop primitive pattern matching can't traverse the contents of the classes.
Heres an example with a color override on three instanced spheres and two instanced cubes using a single edit properties lop
The inherits workflow is also ok but not as convenient as the prototypes because lop primitive pattern matching can't traverse the contents of the classes.
Edited by antc - Feb. 11, 2022 19:10:48
- blakshep
- Member
- 77 posts
- Joined: Oct. 2016
- Offline
-
- Quick Links