Istancing in kray
Istancing in kray
hi boys, excuse for this post but i need a help to obtain a forest effect on my terrain.
this is the terrain in attachment
if i select the object and aptive the istancing i see the trees in my render but is slow, very slow.
1 - how can I speed up the yield of the trees?
2 - I have to set some parameter in the shader the trees for a quick calculation?
3 - how can I control the instancing on the surface terrain so as not to compenetrate items?
4 - the istancing is on point or on surface?
5 - the pivot of object to instancing is 0,0,0 coordinate? the pivot is on base of object?
6 - the object in attachment is good for instancing?
best regards!!!
this is the terrain in attachment
if i select the object and aptive the istancing i see the trees in my render but is slow, very slow.
1 - how can I speed up the yield of the trees?
2 - I have to set some parameter in the shader the trees for a quick calculation?
3 - how can I control the instancing on the surface terrain so as not to compenetrate items?
4 - the istancing is on point or on surface?
5 - the pivot of object to instancing is 0,0,0 coordinate? the pivot is on base of object?
6 - the object in attachment is good for instancing?
best regards!!!
Last edited by nico on Sat May 02, 2009 2:39 pm, edited 1 time in total.
Re: Istancing in kray
Yes. Add Kray surface shader with photon mapping, irradiance cache off, min rays 1 max rays 10.nico wrote:
1 - how can I speed up the yield of the trees?
2 - I have to set some parameter in the shader the trees for a quick calculation?
compenetrate? If you mean how to place points for instances on terrain - i use Ko_pointfit which drops selected points on the background layer. There was another thread about this some time ago.nico wrote: 3 - how can I control the instancing on the surface terrain so as not to compenetrate items?
objects are always positioned on vertices.nico wrote: 4 - the istancing is on point or on surface?
yes.nico wrote: 5 - the pivot of object to instancing is 0,0,0 coordinate? the pivot is on base of object?
what do u mean by "good"?nico wrote: 6 - the object in attachment is good for instancing?
- Jure
Re: Istancing in kray
hi jure thank's for answers you are precise and punctual!!
excellent explanation
i model all in rhinoceros because i'm teach it and i can model all very very fast, the terrain is a mesh of rhino, so would not go well for my work. the point are casual so the instance attach the point one near other.
i play with you and johny because I enjoy to know two people quite as you!!!
good work, post here the updates
bye
excellent explanation

i model all in rhinoceros because i'm teach it and i can model all very very fast, the terrain is a mesh of rhino, so would not go well for my work. the point are casual so the instance attach the point one near other.
i play with you and johny because I enjoy to know two people quite as you!!!

good work, post here the updates

bye
Re: Istancing in kray
32 min on quad core but low resolution 640*480.
but there's a question
instance_0 = grab screen layout
instance_2 = render without trees
instance_1 = render with istance's trees
now want use KO_PointFit for see where insert trees
love the effect, when i insert the building is fantastic but time render isn't good, i must render 9/10 view hight resolution
but there's a question
instance_0 = grab screen layout
instance_2 = render without trees
instance_1 = render with istance's trees
now want use KO_PointFit for see where insert trees

love the effect, when i insert the building is fantastic but time render isn't good, i must render 9/10 view hight resolution

Re: Istancing in kray
but with hdistance or veggi paint, the render time with instance is too slow or as kray instance?
Re: Istancing in kray
HDi is much slower.nico wrote:but with hdistance or veggi paint, the render time with instance is too slow or as kray instance?
Veggie paint is just a tool for placing instances so it renders just as fast.
- Jure
Re: Istancing in kray
HDI renders slower under Kray, but with native LW render HDI renders a way faster, and with vertex mapping trick its just unbeateable. I wish Kray instancing would be as fast as HDI in native LW render.nico wrote:the render time with instance is too slow or as kray instance?
Re: Istancing in kray
Really? Cause last time I tried HDi with LW and GI it was really slow.Leftover wrote:HDI renders slower under Kray, but with native LW render HDI renders a way faster, and with vertex mapping trick its just unbeateable. I wish Kray instancing would be as fast as HDI in native LW render.nico wrote:the render time with instance is too slow or as kray instance?
- Jure
Re: Istancing in kray
There is HDI stress test rendered on Core2Quad@3Ghz, render time 1-2 minutes.
Re: Istancing in kray
Impressive! Would it be possible for you to share this scene so we can stress test it with Kray?Leftover wrote:There is HDI stress test rendered on Core2Quad@3Ghz, render time 1-2 minutes.
- Jure
Re: Istancing in kray
oh my god!!! a big number of buldingsLeftover wrote:There is HDI stress test rendered on Core2Quad@3Ghz, render time 1-2 minutes.

Re: Istancing in kray
Be careful with Ko_pointfit. Sometimes it will send some points into outer space and this will make kray "preparing photon maps" computation extremely long. You can notice this if you try to do "fit all" on the points layer. If layer is corrupted you will only see one point in the middle of the screen because it will zoom out to max... Solution is to copy only good points, delete what is left on layer and paste it back.
- Jure