Page 1 of 2

Make a random color or material in Kray instance?

Posted: Fri Oct 29, 2010 3:14 pm
by azman_821009
Hi everyone,

Actually I don't know how I want to explain. Can I make a random color or material using Kray instance? For example a tree, I want to used a Kray instance for clone a lot of tree and in the same time I want to make a random or different color/material of leaf etc. Hope you guys know what I'm trying to say.

Anyway sorry for my English.

Thanks.

Azmen

Re: Make a random color or material in Kray instance?

Posted: Fri Oct 29, 2010 9:11 pm
by Janusz Biela
azman_821009 wrote:Hi everyone,

Actually I don't know how I want to explain. Can I make a random color or material using Kray instance? For example a tree, I want to used a Kray instance for clone a lot of tree and in the same time I want to make a random or different color/material of leaf etc. Hope you guys know what I'm trying to say.

Anyway sorry for my English.

Thanks.

Azmen
Wait for Jure“s answer. I think this is possible in LW x32 ...

Re: Make a random color or material in Kray instance?

Posted: Fri Oct 29, 2010 10:21 pm
by jure
azman_821009 wrote:Hi everyone,

Actually I don't know how I want to explain. Can I make a random color or material using Kray instance? For example a tree, I want to used a Kray instance for clone a lot of tree and in the same time I want to make a random or different color/material of leaf etc. Hope you guys know what I'm trying to say.

Anyway sorry for my English.

Thanks.

Azmen
Well there is not an easy one click solution for this yet. But there are couple of options you can use:
1. "Use color" option in Kray Instances will allow you to colorize the instance with the templates color. For this to work your template points must be at least 1-point polys so that they can have material applied.

2. You can create a map where you paint certain areas different color and apply this as a planar map over your whole instanced area (must be applied in world coordinates mode).

3. use nodes to get variation between instances.

Re: Make a random color or material in Kray instance?

Posted: Fri Oct 29, 2010 10:29 pm
by vpii
2 in the list is what I have been doing.

Re: Make a random color or material in Kray instance?

Posted: Sat Oct 30, 2010 6:06 am
by azman_821009
vpii wrote:2 in the list is what I have been doing.
How you did for this option? Can you show me and explain step-by-step.

Thanks. :)

Azmen

Re: Make a random color or material in Kray instance?

Posted: Sun Oct 31, 2010 1:01 pm
by azman_821009
How can I turn OFF the instance I made? I've try to turn it OFF on 'Objects Properties > Geometry .....' and also on 'Kray Instance > Enable Plugin' but it still appeared. :(

Thanks.

Azmen

Re: Make a random color or material in Kray instance?

Posted: Sun Oct 31, 2010 2:56 pm
by Janusz Biela
azman_821009 wrote:
vpii wrote:2 in the list is what I have been doing.
How you did for this option? Can you show me and explain step-by-step.

Thanks. :)

Azmen
Two ways:
1/ by points (You have to create points as poly)
2/ by wire (normal wire or better, Subpatch)

Both you can setup with texture (very important "world textures coordinates" and Y direction" Just put texture for clone surface and in plugin Instance select option for take colours.

Re: Make a random color or material in Kray instance?

Posted: Mon Nov 08, 2010 5:31 am
by azman_821009
How can I turn OFF the instance I made? I've try to turn it OFF on 'Objects Properties > Geometry .....' and also on 'Kray Instance > Enable Plugin' but it still appeared. :(

Thanks.

Azmen

Re: Make a random color or material in Kray instance?

Posted: Mon Nov 08, 2010 8:47 am
by Janusz Biela
azman_821009 wrote:How can I turn OFF the instance I made? I've try to turn it OFF on 'Objects Properties > Geometry .....'
This does not work

and also on 'Kray Instance > Enable Plugin' but it still appeared. :(

Thanks.

Azmen
This should work correct

Re: Make a random color or material in Kray instance?

Posted: Mon Nov 08, 2010 9:17 am
by azman_821009
Yes but it still appeared. Tried many times both options.

Do you have any idea?

Azmen

Re: Make a random color or material in Kray instance?

Posted: Mon Nov 08, 2010 11:01 am
by jure
Turning off "enable plugin" should work. Check again.

Re: Make a random color or material in Kray instance?

Posted: Mon Nov 08, 2010 12:33 pm
by Janusz Biela
If does not work reinstall Kray plugins , please (maybe You have some old mixed with new)

Re: Make a random color or material in Kray instance?

Posted: Mon Nov 08, 2010 3:32 pm
by azman_821009
jure wrote:Turning off "enable plugin" should work. Check again.
Yes, i turned it off many times. Then tried to delete/removed the Kray Instance plug-in on Object Properties > Geometry > ... it's work. :(

Re: Make a random color or material in Kray instance?

Posted: Mon Nov 08, 2010 4:33 pm
by Janusz Biela
So works? If not please delete all Kray.p from disk (by searcher windows as: "kray.*") and put all new Kray plugins in one folder.

Re: Make a random color or material in Kray instance?

Posted: Thu Nov 11, 2010 10:14 am
by azman_821009
Janusz Biela wrote:So works? If not please delete all Kray.p from disk (by searcher windows as: "kray.*") and put all new Kray plugins in one folder.
Thanks again Janusz. Finally it works. :D

1 more thing, I tired to make different color the point (light and darker green) but when I rendered, nothing happen with the colors.

Thanks.

Azmen