printing - Graphics
This is a discussion on printing - Graphics ; We are devloping a CAD like application using vc++6.0 with opengl.
In this application we are importing a text file which is exported from
some software like (ECAM) and draw the design based on details present
in the imported file.In ...
-
printing
We are devloping a CAD like application using vc++6.0 with opengl.
In this application we are importing a text file which is exported from
some software like (ECAM) and draw the design based on details present
in the imported file.In this application we have to support printing
(more spcifically PDF output) also.
please suggest me some ideas to accomplish the specified task
-
Re: printing
bala wrote:
> We are devloping a CAD like application using vc++6.0 with opengl.
> In this application we are importing a text file which is exported from
> some software like (ECAM) and draw the design based on details present
>
> in the imported file.In this application we have to support printing
> (more spcifically PDF output) also.
> please suggest me some ideas to accomplish the specified task
You could render into an offscreen buffer and read the pixmap back, or you
could use osmesa (offscreen rendering version of mesa).
-
Re: printing
bala wrote:
> We are devloping a CAD like application using vc++6.0 with
> opengl. In this application we are importing a text file which
> is exported from
> some software like (ECAM) and draw the design based on details
> present
>
> in the imported file.In this application we have to support
> printing (more spcifically PDF output) also.
> please suggest me some ideas to accomplish the specified task
If you're not aiming for photo printing where each pixel must be
set individually but want to print some construction drawings,
taking the result of OpenGL's rasterizing process is probably
suboptimal. A better approach is to perform some good old hidden
line/surface elimination algorithm on the input to print real
vector data. This has the advantages, that processing the print
file is much faster, there's no limited in the printing
resolution and the PDF will be a lot of smaller.
Wolfgang Draxinger
--
Similar Threads
-
By Application Development in forum Adobe Acrobat
Replies: 1
Last Post: 07-21-2009, 06:25 PM
-
By Application Development in forum Inetserver
Replies: 5
Last Post: 07-31-2007, 11:09 PM
-
By Application Development in forum Inetserver
Replies: 0
Last Post: 07-29-2007, 03:13 AM
-
By Application Development in forum Inetserver
Replies: 0
Last Post: 07-23-2007, 11:34 PM
-
By Application Development in forum Adobe Color Management
Replies: 0
Last Post: 09-04-2006, 02:20 PM