Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 12 Oct 2011
Offline Last Active Oct 05 2015 09:09 AM

#4913476 Fancy Windows Borders?

Posted by Labrasones on 15 February 2012 - 03:42 PM

Thanks! That's exactly the type of stuff I was looking for. And now I have a keyword to google if I wan't more info and stuff!

#4896211 Questions about rendering and editing large terrains?

Posted by Labrasones on 21 December 2011 - 10:43 AM

3) When editing the terrain, how to optimize the intersection tests? Currently i just cast a ray and find the intersected triangle, then i loop through all the terrain vertices and test their distance to the point of intersection to find if the vertex is within the radius of the editing brush. This works fine for now (32k vertices) but i'm worried about larger terrains. And i still have to add the code for recalculating normals.

I may be WAY off here, as I'm still new. But aren't height-map terrains generated from a grey scale image? If so, would it not be possible to paint the image representing the height? It might be more work to implement texture painting capabilities into your game, but if you do, you might be able to use it to edit terrain textures as well. Again, I'm still really new, but that's how I always thought terrain editors worked.