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 ?
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.
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