Go Back  IT Forums > Software > CAD
User Name
Password
Reply
 
Thread Tools Search this Thread Display Modes

Dxf file from OpenGl style entity
  #1
Old 09-12-2006, 04:49 AM
Guest
Guest


Guest's Info
Posts: n/a
Default Dxf file from OpenGl style entity

Hello!
I'm writing a tool to convert my geometry entities, which are plotted
in OpenGl, in Dxf format.
When I wrote OpenGl entities I used a lot of transformation like
glTranslate, glRotate, and I used to save state matrix (glPushMatrix,
glPopMatrix).

My question: is there a way to use these style (i.e. writing the
program in "states") or I must to recalculate all my translation,
rotation, etc.?

Bye.
Thanks also if you don't answer!

Marco Bonifazi

Reply With Quote
Dxf file from OpenGl style entity
  #2
Old 10-08-2006, 02:39 AM
Henrik Vallgren
Junior Member


Henrik Vallgren is offline
Henrik Vallgren's Info
Join Date: Aug 2003
Posts: 16
Default Dxf file from OpenGl style entity

Hi,

It's possible, it's more a question of your level of ambition. Do you
want to:

- hide transforms inside block/blockrefs
- generate layers for colors/linestyles
- join adjacent lines into polylines

I use this kind of translation to translate GL commands into win32
printer data. For DXF output, consider DWGDirect (www.opendesign.org).

Good luck,

Henrik Vallgren
www.streamspace.com

marcobonifazi@gmail.com wrote:
Quote:
Hello! I'm writing a tool to convert my geometry entities, which are plotted in OpenGl, in Dxf format. When I wrote OpenGl entities I used a lot of transformation like glTranslate, glRotate, and I used to save state matrix (glPushMatrix, glPopMatrix). My question: is there a way to use these style (i.e. writing the program in "states") or I must to recalculate all my translation, rotation, etc.? Bye. Thanks also if you don't answer! Marco Bonifazi

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Style Design by vBStyles.com


Top Contact Us - IT Forums - Archive - MyLounge Top
MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service