Not logged inOpenClonk Forum
Up Topic OC 8 Feedback

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Luchs
Looking at the code, I think the monte carlo algorithm isn't actually the issue here. It's slow because it's calling IsFlagpole on all objects ten times each frame. Also the average of all the samples is calculated by always looping over the full array (of 2000 elements), which is not necessary.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill