Fill a parallelepiped

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: maka3 (maka3_at_punjabi.net)
Date: 10/12/04


Date: 12 Oct 2004 14:53:28 -0700

Tomaz Koritnik wrote:

> Hi
>
> After drawing 6 polygons, also draw lines for each edge you want to show.
>
> regards
> Tomaz

Thanks for your fast reply. But my suggestion to draw each side was "worst case".
Unfortunately I can't imagine another method.
I would prefer one call with the 8 points as a parameter.
Bye,
Markus



Relevant Pages

  • Re: Fill a parallelepiped
    ... After drawing 6 polygons, also draw lines for each edge you want to show. ...
    (microsoft.public.win32.programmer.gdi)
  • Re: glPolygonOffset Needing Extreme Values
    ... draw wireframe model ... but found some problems with some polygons in the solid ... solid model to appear normally, so I thought this would make more ...
    (comp.graphics.api.opengl)
  • Re: Customizable drawing program?
    ... >> Regards, ... > And for the lines that I will actually draw I want to be able to draw ... > and I want all the basic design type functions (save design, ... > saved design, blah blah blah). ...
    (comp.lang.tcl)
  • glPolygonOffset Needing Extreme Values
    ... I'm trying to draw an outline around a polygonal model. ... offset depth by negative values ... but found some problems with some polygons in the solid ... solid model to appear normally, so I thought this would make more ...
    (comp.graphics.api.opengl)
  • Re: Polygon missing vertex
    ... draw a Polygon, it handles it, like it is a Triangle-Fan. ... That's why you cannot draw convex Polygons. ... Just Remember OGL has to handle everything as Triangles, even if you wont see first. ... So as fungus said, OGL can't handle non-convex polygons, but sometimes you can get it handle this right. ...
    (comp.graphics.api.opengl)