Author Topic: vray freezing at transforiming vertices...  (Read 1172 times)

Krzysztof Cebula

  • Newbie
  • *
  • Posts: 31
vray freezing at transforiming vertices...
« on: November 29, 2011, 01:17:10 PM »
stumbled upon new bug today :) beta makes vray freeze at transforimng vertices.. will try to isolate the case later and upload scene :)

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 2239
    • Itoo Software
Re: vray freezing at transforiming vertices...
« Reply #1 on: November 29, 2011, 01:27:39 PM »

Ok, thanks. We have not detected problems with VRay here, so i will wait that you upload the scene.

Carlos Quintero
Itoo Software
www.itoosoft.com
carlosqg@itoosoft.com

Krzysztof Cebula

  • Newbie
  • *
  • Posts: 31
Re: vray freezing at transforiming vertices...
« Reply #2 on: December 12, 2011, 05:17:32 PM »
ok, take a look at that one.
appears that over certain density it just wont finish up generation, at least not in any reasonable amount of time :)
http://dl.dropbox.com/u/108014/transforing%20verts%20freeze.zip
(p.s. thanks for inverted falloff fix! :) )

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 2239
    • Itoo Software
Re: vray freezing at transforiming vertices...
« Reply #3 on: December 12, 2011, 06:51:48 PM »

Well, basically the distribution of grass on this scene is too huge to be handled by Forest. With the current parameters, i estimate it would generare more than 80 millions of proxies. The limit for Forest/VRay would be about 3 to 5 mill. of items.

I suggest you use clumps of grass instead individual blades, disable collision detection (it has a great performance hit), and when possible limit the grass to closeup views. For distant aereal views possibly would be better to use a plain texture map, perhaps combined with some low-density Forest objects to add variety.

Carlos Quintero
Itoo Software
www.itoosoft.com
carlosqg@itoosoft.com

Krzysztof Cebula

  • Newbie
  • *
  • Posts: 31
Re: vray freezing at transforiming vertices...
« Reply #4 on: December 12, 2011, 11:40:48 PM »
ok, thanks for the pointers :) ill do some more research then :)

Krzysztof Cebula

  • Newbie
  • *
  • Posts: 31
Re: vray freezing at transforiming vertices...
« Reply #5 on: December 13, 2011, 10:51:46 AM »
actually, just disabling collisions made the scene renderable again, thanks for mentioning that :) will avoid using that on super high number of instances :) ~50m instances without a problem now :) also ram usage seems to go waaay down without collisions turned on aswell.
« Last Edit: December 13, 2011, 10:56:04 AM by Krzysztof Cebula »

iToo

  • Administrator
  • Hero Member
  • *****
  • Posts: 2239
    • Itoo Software
Re: vray freezing at transforiming vertices...
« Reply #6 on: December 14, 2011, 07:32:57 AM »

That's great :).  Really collisions have a great impact on performance because two issues:
 
1) Camera's clipping is much less efficient. Without collisions Forest can exclude large areas from scattering (at least, everything behind the camera), but using collisions the full area must be processed, excluding the items on a second phase.
 
2) Beyond certain value, although you increase the density of the Distribution map, the number of visible items doesn't change significantly (because most of them are removed because collisions). Instead, the scattering process time grows exponentially.
 
So, for dense distributions (as grass) i suggest to use a Full Distribution map, collisions disabled and Random Translation enabled (to avoid the grid look). Then, you can adjust the density to get the desired result. The grass tutorial includes a sample scene using these parameters.

Carlos Quintero
Itoo Software
www.itoosoft.com
carlosqg@itoosoft.com