Download

Cone of Sight Visualization

Hello guys!

I would like to implement visible 2D cone of sight but I am not sure what is the best way to do it. Maybe there is not better solution than raytraces but how can I then render visible polygon ? I think there must be some faster solution than raytracing. Can you give me some advice on that, please ? :slight_smile:

Example:

Similar Unity threads:

http://forum.unity3d.com/threads/cone-of-sight-visualization.123143/

http://forum.unity3d.com/threads/how-to-render-a-true-cone-of-sight.91630/

Thank you

Hey Nonder :slight_smile:

Nice to see that you finally got your computer, i wont be able to help you on this case but wanted to welcome you on the UE4 boat :slight_smile:

Regards

Thank you for your welcome! :slight_smile: I really appreciate it. HW is not best but it can atleast run engine, hopefully I will :slight_smile:

Sorry for OT guys :slight_smile:

I still would like to hear some advices on this problem :slight_smile:

Not sure exactly what you’re looking this post eventually talks about how to generate a mesh at runtime - you could take the view frustrum and turn it into a mesh in the world.

Maybe this article might help you

http://www.redblobgames.com/articles/visibility/

Thank you guys, It looks like there is not better way than raytracing. That is very nice article TiGuy and is definitely helpful. I think combination of raytracing and mesh generation is everything what I need :slight_smile: