Istancing in kray

Post your tutorials and help questions in this forum
Locked
User avatar
nico
Posts: 602
Joined: Thu Feb 08, 2007 1:21 am
Contact:

Istancing in kray

Post by nico »

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!!!
Attachments
terrain2.jpg
terrain1.jpg
terrain.jpg
Last edited by nico on Sat May 02, 2009 2:39 pm, edited 1 time in total.
jure
Posts: 2142
Joined: Thu Jun 02, 2005 6:53 pm

Re: Istancing in kray

Post by jure »

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?
Yes. Add Kray surface shader with photon mapping, irradiance cache off, min rays 1 max rays 10.
nico wrote: 3 - how can I control the instancing on the surface terrain so as not to compenetrate items?
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: 4 - the istancing is on point or on surface?
objects are always positioned on vertices.
nico wrote: 5 - the pivot of object to instancing is 0,0,0 coordinate? the pivot is on base of object?
yes.
nico wrote: 6 - the object in attachment is good for instancing?
what do u mean by "good"?
- Jure
User avatar
nico
Posts: 602
Joined: Thu Feb 08, 2007 1:21 am
Contact:

Re: Istancing in kray

Post by nico »

hi jure thank's for answers you are precise and punctual!!
excellent explanation :D
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!!! :mrgreen:

good work, post here the updates :!:

bye
User avatar
nico
Posts: 602
Joined: Thu Feb 08, 2007 1:21 am
Contact:

Re: Istancing in kray

Post by nico »

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 :mrgreen:

love the effect, when i insert the building is fantastic but time render isn't good, i must render 9/10 view hight resolution :!:
Attachments
istance_2.jpg
istance_1.jpg
istance_0.jpg
User avatar
nico
Posts: 602
Joined: Thu Feb 08, 2007 1:21 am
Contact:

Re: Istancing in kray

Post by nico »

but with hdistance or veggi paint, the render time with instance is too slow or as kray instance?
jure
Posts: 2142
Joined: Thu Jun 02, 2005 6:53 pm

Re: Istancing in kray

Post by jure »

nico wrote:but with hdistance or veggi paint, the render time with instance is too slow or as kray instance?
HDi is much slower.

Veggie paint is just a tool for placing instances so it renders just as fast.
- Jure
Leftover
Posts: 51
Joined: Thu Feb 14, 2008 8:58 am

Re: Istancing in kray

Post by Leftover »

nico wrote:the render time with instance is too slow or as kray instance?
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.
jure
Posts: 2142
Joined: Thu Jun 02, 2005 6:53 pm

Re: Istancing in kray

Post by jure »

Leftover wrote:
nico wrote:the render time with instance is too slow or as kray instance?
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.
Really? Cause last time I tried HDi with LW and GI it was really slow.
- Jure
Leftover
Posts: 51
Joined: Thu Feb 14, 2008 8:58 am

Re: Istancing in kray

Post by Leftover »

There is HDI stress test rendered on Core2Quad@3Ghz, render time 1-2 minutes.
Attachments
hditest.jpg
hditest2.jpg
jure
Posts: 2142
Joined: Thu Jun 02, 2005 6:53 pm

Re: Istancing in kray

Post by jure »

Leftover wrote:There is HDI stress test rendered on Core2Quad@3Ghz, render time 1-2 minutes.
Impressive! Would it be possible for you to share this scene so we can stress test it with Kray?
- Jure
User avatar
nico
Posts: 602
Joined: Thu Feb 08, 2007 1:21 am
Contact:

Re: Istancing in kray

Post by nico »

Leftover wrote:There is HDI stress test rendered on Core2Quad@3Ghz, render time 1-2 minutes.
oh my god!!! a big number of buldings :shock:
jure
Posts: 2142
Joined: Thu Jun 02, 2005 6:53 pm

Re: Istancing in kray

Post by jure »

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
Locked