Instance color
-
- Posts: 54
- Joined: Fri Aug 24, 2007 12:09 pm
- Location: Belgium
Instance color
I would like to use instances to clone cars in my scene. Every car should have a different color (so only one of the applied materials should change).
Is there any way to do this in Kray?
LW 9.6 x64 Win7
Is there any way to do this in Kray?
LW 9.6 x64 Win7
- Janusz Biela
- Posts: 3265
- Joined: Mon Mar 13, 2006 10:39 am
- Location: Finland
- Contact:
Re: Instance color
keeejreeej wrote:I would like to use instances to clone cars in my scene. Every car should have a different color (so only one of the applied materials should change).
Is there any way to do this in Kray?
LW 9.6 x64 Win7
not yet

-
- Posts: 54
- Joined: Fri Aug 24, 2007 12:09 pm
- Location: Belgium
Re: Instance color
What about the 'use color' option. Can you explain that, how does that work. Was thinking about putting colored parts of car in seperate layer and use the 'use color' option on that??
-
- Posts: 54
- Joined: Fri Aug 24, 2007 12:09 pm
- Location: Belgium
Re: Instance color
What is the template object?
Re: Instance color
It's the object you apply Kray Instances plugin to.keeejreeej wrote:What is the template object?
- Jure
-
- Posts: 54
- Joined: Fri Aug 24, 2007 12:09 pm
- Location: Belgium
Re: Instance color
Just can't seem to get different colors for my instances ?
If I use custom object to apply instance to, then only one instance is applied per custom object so will color filtering work here?
When using normal points (points to poly) and apply material then color of template object should color filter the instances right?
Maybe Jure can explain using nodes to change colors (http://www.kraytracing.com/joomla/forum ... =viewtopic)
If I use custom object to apply instance to, then only one instance is applied per custom object so will color filtering work here?
When using normal points (points to poly) and apply material then color of template object should color filter the instances right?
Maybe Jure can explain using nodes to change colors (http://www.kraytracing.com/joomla/forum ... =viewtopic)
-
- Posts: 54
- Joined: Fri Aug 24, 2007 12:09 pm
- Location: Belgium
Re: Instance color
Please can anyone explain, just can't seem to get this to work.....
- Janusz Biela
- Posts: 3265
- Joined: Mon Mar 13, 2006 10:39 am
- Location: Finland
- Contact:
Re: Instance color
...just remember select: WORLD COORDINATES in texture Editor and USE COLOR in instance Kray menu....
-
- Posts: 54
- Joined: Fri Aug 24, 2007 12:09 pm
- Location: Belgium
Re: Instance color
Well this is how i got my results :
I used james willmott's ObjectID node http://www.newtek.com/forums/showthread ... 372&page=2
My scene is an architectural birdseye view with instanced cars.
I have used 2 custom objects to apply instances to.
I split the car into 2 layers, one containing the cars body (colored parts) and second layer the remaining.
Used 2 custom objects parented to eachother, one for instance of car without body (no color filtering) and the other for instance of body.
The custom (template) object for the cars body has ObjectID node and gradient layer with different colors based on ObjectID (so this will not work with one template object containing points)
'Use color' will now change color of custum object (car body) based on ObjectID and thus have seperate color for color filtering each instance.
I used james willmott's ObjectID node http://www.newtek.com/forums/showthread ... 372&page=2
My scene is an architectural birdseye view with instanced cars.
I have used 2 custom objects to apply instances to.
I split the car into 2 layers, one containing the cars body (colored parts) and second layer the remaining.
Used 2 custom objects parented to eachother, one for instance of car without body (no color filtering) and the other for instance of body.
The custom (template) object for the cars body has ObjectID node and gradient layer with different colors based on ObjectID (so this will not work with one template object containing points)
'Use color' will now change color of custum object (car body) based on ObjectID and thus have seperate color for color filtering each instance.
-
- Posts: 54
- Joined: Fri Aug 24, 2007 12:09 pm
- Location: Belgium
Re: Instance color
And continuing with trees .....
made a point object to instance trees.
As all the points are part of the same object the ObjectID node will not work here.
Color filtering will color filter all trees equally right? Ofcourse I can use a texture to color filter but that will filter through each tree.
Is there any way to color filter each tree seperately?
made a point object to instance trees.
As all the points are part of the same object the ObjectID node will not work here.
Color filtering will color filter all trees equally right? Ofcourse I can use a texture to color filter but that will filter through each tree.
Is there any way to color filter each tree seperately?
-
- Posts: 54
- Joined: Fri Aug 24, 2007 12:09 pm
- Location: Belgium
Re: Instance color
Well anyone? What would be the best way to color filter instanced trees so they don't all look the same?
Re: Instance color
Texture map with world coordinates on...keeejreeej wrote:Well anyone? What would be the best way to color filter instanced trees so they don't all look the same?
- Jure