Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


#Actualsienaiwun

Posted 13 May 2013 - 02:42 AM

http://www.gamedev.net/topic/485795-projected-area-of-triangle/

 

Some other ideas are this ...

 

Use D3DXVec3Project to take each point of a triangle and project it to screen space.

 

Take the cross product of any two screen space triangle points. This is twice the area of the triangle (in screen space). 

    Thanks very much. As the area is computed without D3D or OPENGL, I must write my own rasterizer.

    I wonder if the triangles can be paremeterized into a vector, like spherical harmonics way. And the vector can by projected on a plane. Is there some ways.

    Sincere.


#1sienaiwun

Posted 13 May 2013 - 02:39 AM

http://www.gamedev.net/topic/485795-projected-area-of-triangle/

 

Some other ideas are this ...

 

Use D3DXVec3Project to take each point of a triangle and project it to screen space.

 

Take the cross product of any two screen space triangle points. This is twice the area of the triangle (in screen space). 

    Thanks very much. As the area is computed without D3D or OPENGL, I must write my own rasterizer.

    I wonder if the triangles can be paremeterized into easy-projected vector, like spherical harmonics way. or some other kind of vectors.

    Sincere.


PARTNERS