Enhanced Metafile

Hi,

How to create an enhanced metafile from my application? I am using Visual c++ 6.0 and OpenGL. I could not find the details from sites. Can anyone help me? I want to create an enhanced metafile of the diagram rendered in the screen.

What do you mean with “enhanced metafile”?

Do you ask for a formated file, which allows to save, load the scene and sort the scene you are drawing?

Is this is what you want, an option is search for scene-graph based aplications, like the NVIDIA Scene Graph, or OpenSceneGraph.

API

I think the OP wants this file format :
http://en.wikipedia.org/wiki/Windows_Metafile

You can use these 2 programs combined :
http://www.geuz.org/gl2ps/
http://www.pstoedit.net/

Hi Api,

     My opengl scene that is, the diagram i am drawing on the screen should be converted and saved as an enhanced metafile through my program itself. Instead of drawing on screen and converting to metafile, i wish to do offscreen rendering and saving to a metafile. So if i playback the metafile on my screen instead of redrawing the diagram, i thought the speed of the  can be increased. Since my application under development is a CAD like application, the speed should be considerable. So help with ideas for creating an .emf metafile. And i am in a need to give the output in a pdf format also.. The pdf file should be generated in a high resolution. So if anything wrong, please notice me and forgive me. I am new to this OpenGL programming.

Expecting ur reply,
Thanking you for ur Previous reply,
Sangeetha.

Hi ZBuffer,

 I am going to have a read of the details in the links provided by you.

Thanking you ZBuffer,
Sangeetha.

Still i could not accomplish the task.

Help me…

Hi,

  Suggest me some more ideas regarding enhanced metafile and printing it from my application. I am using VC++6.0 along with opengl.

Sangeetha.

Hi,

  Suggest me some more ideas regarding enhanced metafile and printing it from my application. I am using VC++6.0 along with opengl.

Sangeetha.