Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualServant of the Lord

Posted 25 January 2013 - 07:39 PM

Maybe visually this will help: I drew over the two images I posted above, where the triangles and squares could possibly be. This is not their exact locations, but it is reasonably accurate for illustrative purposes.

 

 

2D castle - showing how it's composed of non-oriented squares, with images applied to those squares. I used a different color for different squares, to make it easier to see. One square is a single image draw by an artist, and the shadows and curves are drawn into the square image.

 

2drpgcastle.png

 

See how I have the tower as a single square? It's probably one image. Maybe two: the tower and the tower's roof. The banner on the towers look like a separate image. Some 2D games, like my own, use only images of a specific size, and let map makers recombine the images (called 'tiles') to build the world.

 

3D castle - showing how it's composed of oriented triangles with images applied to the triangles. The shading/lighting is calculated by the nature of it being 3D. To make curves, you just use more triangles to make it look smoother (see the archway) or the base of the tower roofs).

 

polygoncastle.png

 

I didn't bother drawing every single triangle - and often the really large triangles will be broken into a few smaller ones - but not many small ones.


#2Servant of the Lord

Posted 25 January 2013 - 07:35 PM

Maybe visually this will help: I drew over the two images I posted above, where the triangles and squares could possibly be. This is not their exact locations, but it is reasonably accurate for illustrative purposes.

 

 

2D castle - showing how it's composed of non-oriented squares, with images applied to those squares. I used a different color for different squares, to make it easier to see. One square is a single image draw by an artist, and the shadows and curves are drawn into the square image.

 

2dcastle.png

 

See how I have the tower as a single square? It's probably one image. Maybe two: the tower and the tower's roof. The banner on the towers look like a separate image. Some 2D games, like my own, use only images of a specific size, and let map makers recombine the images (called 'tiles') to build the world.

 

3D castle - showing how it's composed of oriented triangles with images applied to the triangles. The shading/lighting is calculated by the nature of it being 3D. To make curves, you just use more triangles to make it look smoother (see the archway) or the base of the tower roofs).

 

polygoncastle.png

 

I didn't bother drawing every single triangle - and often the really large triangles will be broken into a few smaller ones - but not many small ones.


#1Servant of the Lord

Posted 25 January 2013 - 07:34 PM

Maybe visually this will help: I drew over the two images I posted above, where the triangles and squares could possibly be. This is not their exact locations, but it is reasonably accurate for illustrative purposes.

 

 

2D castle - showing how it's composed of non-oriented squares, with images applied to those squares. I used a different color for different squares, to make it easier to see. One square is a single image draw by an artist, and the shadows and curves are drawn into the square image.

 

2dcastle.png

 

See how I have the tower as a single square? It's probably one image. Maybe two: the tower and the tower's roof. The banner on the towers look like a separate image. Some 2D games, like my own, use only images of a specific size, and let map makers recombine the images (called 'tiles') to build the world.

 

3D castle - showing how it's composed of oriented triangles with images applied to the triangles. The shading/lighting is calculated by the nature of it being 3D. To make curves, you just use more triangles to make it look smoother (see the archway) or the base of the tower roofs).

 

polygoncastle.png

 

I didn't bother drawing every single triangle - and often the really large triangles will be broken into a few smaller ones - but not many small ones.

 

Here's the actual exact triangle locations for a different 3D model (found online): [3D model] [Location of polygons]

 

Except that in the game itself, every rectangle will be broken into triangles because you can make almost anything out of a triangle, except perfect curves, so videocards are optimized to draw triangles and the 3D modelling artist and the programmer break every 3D shape into triangles.


PARTNERS