<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>Computer Graphics Forum RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest threads from the 'Computer Graphics' forum at Programmer's Heaven, excluding replies.</description>
    <language>en</language>
    <copyright>Copyright 2009 Programmers Heaven</copyright>
    <pubDate>Fri, 03 Jul 2009 19:55:25 -0700</pubDate>
    <lastBuildDate>Fri, 03 Jul 2009 19:55:25 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Coding 2D graphics in C, to be portable</title>
      <link>http://www.programmersheaven.com/mb/graphics/392968/392968/coding-2d-graphics-in-c-to-be-portable/</link>
      <description>Hello all,&lt;br /&gt;
&lt;br /&gt;
     Well, this is my first post in Programmer's Heaven.  &lt;br /&gt;
Recently, I began developing my own programming library, written in C.  When I got to the graphics, I became stumped, because I want the library to be portable, on both OS, and hardware.  Every way I think of creating graphics, a different architecture or software platform is excluded.  For example, if I used the Windows API, only windows, or possibly Wine can run it; if I use assembler, only one architecture can run it, and I REALLY don't want to re-write the assembly routines for multiple architectures (don't think I could do it for many at all =]...).  Any ideas?</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/392968/392968/coding-2d-graphics-in-c-to-be-portable/</guid>
      <pubDate>Sun, 28 Jun 2009 11:14:55 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
    <item>
      <title>Vertical dotted lines running on screen</title>
      <link>http://www.programmersheaven.com/mb/graphics/392827/392827/vertical-dotted-lines-running-on-screen/</link>
      <description>hi everyone,&lt;br /&gt;
&lt;br /&gt;
the problem i am facing is screen mulfunction. c o l o r e d vertical dotted lines are running on my compaq laptop screen. it just started a week before with just one line which i ignored. then after 2-3 days one more line appeared. next day one more and now 4 lines are there. someone told that lines will go on increasing. what should i do? please help....&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/392827/392827/vertical-dotted-lines-running-on-screen/</guid>
      <pubDate>Thu, 25 Jun 2009 00:24:36 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
    <item>
      <title>Rotation of a 2D image without changing the size</title>
      <link>http://www.programmersheaven.com/mb/graphics/392572/392572/rotation-of-a-2d-image-without-changing-the-size/</link>
      <description>When we use rotation matrix transformation&lt;br /&gt;
 to rotate a 2D image about a point, the size &lt;br /&gt;
of the image changes except for a rotation of &lt;br /&gt;
90,180, 270 and 360 degrees.  Although &lt;br /&gt;
inbuilt function is written in matlab and &lt;br /&gt;
photoshop, the size of the image changes &lt;br /&gt;
after rotation in boththe softwares. &lt;br /&gt;
     This is because, the pixel &lt;br /&gt;
positions are integer values, and when the &lt;br /&gt;
transformation is applied to each and every &lt;br /&gt;
piel value of the image, more than one &lt;br /&gt;
pixel is transformed to the same position (&lt;br /&gt;
because of rounding off)in the rotated image &lt;br /&gt;
and hence some of the pixel intensities are &lt;br /&gt;
overwitten .&lt;br /&gt;
     How to overcome this problem?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/392572/392572/rotation-of-a-2d-image-without-changing-the-size/</guid>
      <pubDate>Sat, 20 Jun 2009 04:47:41 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
    <item>
      <title>Get your Apple iPhone 3G 16GB $155 Samsung i8910 Omnia HD $175</title>
      <link>http://www.programmersheaven.com/mb/graphics/392561/392561/get-your-apple-iphone-3g-16gb-155-samsung-i8910-omnia-hd-175/</link>
      <description>TIMANDRA LIMITED is a leading supplier of high-end products to customers, we deal primarily in genuine and brand new electronics, all items are sourced directly from the manufacturers and carry the manufacturer's warranty. We ship 100% of our orders the same business day. &lt;br /&gt;
&lt;br /&gt;
Registered No.04182957&lt;br /&gt;
&lt;br /&gt;
We specialize in a wide range of products such as laptops, mobile phones, plasma &amp;amp; lcd tv, mp3 &amp;amp; mp4 players, video games console, digital cameras, dvd players (Etc) at cheap &amp;amp; affordable prices. &lt;br /&gt;
&lt;br /&gt;
TIMANDRA LIMITED strive to offer high-quality products at competitive prices. All of our products are brand new, never used, never rebuilt. We maintain multiple-supplier sources for our products as a means of being able to continually offer the best products at the best prices. All of our products are backed by a 90-days, money-back guarantee. Contact us for further informations about extended warranty from manufacturer. &lt;br /&gt;
&lt;br /&gt;
We pride ourselves in the quality of products we offer, our prices, and most importantly, our customer service. &lt;br /&gt;
&lt;br /&gt;
For more informations regarding product and purchasing process send your enquiry to Manxxzy@msn.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
CHECK OUT FOR OUR EXTRA CHEAPER PRODUCT LIST: &lt;br /&gt;
&lt;br /&gt;
T-Mobile Sidekick: &lt;br /&gt;
T-Mobile Sidekick LX 2008--$140 &lt;br /&gt;
T-Mobile Sidekick LX 2009--$145 &lt;br /&gt;
T-Mobile Sidekick LX -- $115 &lt;br /&gt;
T-Mobile Shadow --- $125 &lt;br /&gt;
T-Mobile G1 --- $135 &lt;br /&gt;
T-Mobile Sidekick 3 --- $100 &lt;br /&gt;
Juicy Couture Sidekick 2 -- $85 &lt;br /&gt;
&lt;br /&gt;
Apple iPhone: &lt;br /&gt;
Apple iPhone 4GB --- $105 &lt;br /&gt;
Apple iPhone 8GB --- $125 &lt;br /&gt;
Apple iPhone 16GB -- $135 &lt;br /&gt;
Apple iPhone 3G 8GB -- $145 &lt;br /&gt;
Apple iPhone 3G 16GB -- $155 &lt;br /&gt;
Apple iPhone 3GS ---------$200USD&lt;br /&gt;
&lt;br /&gt;
BlackBerry: &lt;br /&gt;
Blackberry Curve 8900 -- $175 &lt;br /&gt;
Blackberry Storm 9500 -- $145 &lt;br /&gt;
Blackberry Storm 9530 -- $155 &lt;br /&gt;
Blackberry Pearl Flip 8220 -- $105 &lt;br /&gt;
Blackberry Bold 9000 -- $135 &lt;br /&gt;
Blackberry Curve 8320 -- $125 &lt;br /&gt;
&lt;br /&gt;
HTC: &lt;br /&gt;
HTC Touch Pro -- $155 &lt;br /&gt;
HTC Touch Diamond 2 -- $200 &lt;br /&gt;
HTC Touch Diamond -- $140 &lt;br /&gt;
HTC Touch Cruise -- $140 &lt;br /&gt;
HTC Touch Pro2 $200 &lt;br /&gt;
HTC Touch Dual -- $130 &lt;br /&gt;
HTC Dream -- $195 &lt;br /&gt;
HTC Touch Cruise 09 -- $215 &lt;br /&gt;
HTC MAX 4G -- $200 &lt;br /&gt;
HTC Touch HD -- $165 &lt;br /&gt;
HTC Touch 3G -- $155 &lt;br /&gt;
HTC Touch Viva -- $145 &lt;br /&gt;
HTC S740 -- $155 &lt;br /&gt;
&lt;br /&gt;
Eten: &lt;br /&gt;
Eten glofiish X610 -- $135 &lt;br /&gt;
Eten glofiish V900 -- $235 &lt;br /&gt;
Eten glofiish X900 -- $185 &lt;br /&gt;
Eten glofiish DX900 -- $165 &lt;br /&gt;
Eten glofiish M810 -- $155 &lt;br /&gt;
Eten glofiish X650 -- $145 &lt;br /&gt;
Eten glofiish M800 -- $160 &lt;br /&gt;
&lt;br /&gt;
Nokia: &lt;br /&gt;
Nokia N98-----$200 &lt;br /&gt;
Nokia N85------$190 &lt;br /&gt;
Nokia N96 16GB-- $175 &lt;br /&gt;
Nokia E90 -- $155 &lt;br /&gt;
Nokia N97 -- $195 &lt;br /&gt;
Nokia N79 -- $175 &lt;br /&gt;
Nokia E71 -- $180 &lt;br /&gt;
Nokia 8800 Sapphire Arte -- $205 &lt;br /&gt;
Nokia N93i -- $125 &lt;br /&gt;
Nokia 8600 Luna -- $145 &lt;br /&gt;
Nokia 5800 XPress Music----185&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
Sony Ericsson: &lt;br /&gt;
Sony Ericsson Idou-----$200 &lt;br /&gt;
Sony Ericsson C510 -- $185 &lt;br /&gt;
Sony Ericsson P1 -- $125 &lt;br /&gt;
Sony Ericsson C905 -- $145 &lt;br /&gt;
Sony Ericsson W960 -- $130 &lt;br /&gt;
Sony Ericsson G900 -- $150 &lt;br /&gt;
Sony Ericsson XPERIA X1 -- $175 &lt;br /&gt;
Sony Ericsson C902 -- $130 &lt;br /&gt;
Sony Ericsson W902 -- $145 &lt;br /&gt;
&lt;br /&gt;
Samsung: &lt;br /&gt;
Samsung i8910 Omnia HD -------$175 &lt;br /&gt;
Samsung i900 Omnia 16GB -- $165 &lt;br /&gt;
Samsung Omnia 8GB -------$160 &lt;br /&gt;
Samsung T929 Memoir -- $195 &lt;br /&gt;
Samsung T919 Behold -- $185 &lt;br /&gt;
Samsung Giorgio Armani P520 -- $135 &lt;br /&gt;
Samsung U900 Soul -- $160 &lt;br /&gt;
Samsung G800 -- $155 &lt;br /&gt;
Samsung F490 -- $145 &lt;br /&gt;
&lt;br /&gt;
LG Phones &lt;br /&gt;
LG Incite------$295 &lt;br /&gt;
LG GD910-----$300 &lt;br /&gt;
LG KS500----$300 &lt;br /&gt;
LG KF900 Prada-----$290 &lt;br /&gt;
LG KC780----$250 &lt;br /&gt;
LG KP500 Cookie-----$255 &lt;br /&gt;
LG KC910 Renoir------$260 &lt;br /&gt;
LG KB770------$200 &lt;br /&gt;
LG CB630 Invision------$200 &lt;br /&gt;
LG KS360-------$190 &lt;br /&gt;
&lt;br /&gt;
Video Games Console: &lt;br /&gt;
Playstation: &lt;br /&gt;
Sony PSP Slim Giga Bundle -- $105 &lt;br /&gt;
Sony PlayStation 3 80GB Motorstorm Pack -- $155 &lt;br /&gt;
Sony Playstation 3 60GB -- $140 &lt;br /&gt;
Sony PlayStation 3 40GB -- $125 &lt;br /&gt;
&lt;br /&gt;
APPLE LAPTOPS &lt;br /&gt;
Apple Macbook Air............................$600 &lt;br /&gt;
Apple MacBook (MA700LL/A) Mac Notebook...$500usd &lt;br /&gt;
Apple MacBook Pro (MA611LL/A) Notebook...$500usd &lt;br /&gt;
Apple MacBook (MA254LL/A) Mac Notebook...$450usd &lt;br /&gt;
Apple iBook G3 (M7698LL/A) Mac Notebook..$400usd &lt;br /&gt;
Apple MacBook Pro (MA609LL/A) Notebook...$550usd &lt;br /&gt;
Apple MacBook Pro (MA600LLA) Notebook...$500usd &lt;br /&gt;
Apple MacBook Pro (MA610LL/A) Notebook...$450usd &lt;br /&gt;
Apple Macbook Pro (885909119400) Notebook..$445usd &lt;br /&gt;
&lt;br /&gt;
Please review our returns policy for more details below: &lt;br /&gt;
Before you return your items, you must contact us and receive a Return Merchandise Authorization Number (RMA). Any returns sent without an RMA number will not be accepted by TIMANDRA LIMITED We assume all responsibility for the package until it arrives at our office. &lt;br /&gt;
&lt;br /&gt;
Please include the following information when returning an item: &lt;br /&gt;
1) Your RMA number on your invoice (Do not write on the items box). &lt;br /&gt;
2) A copy of your original invoice with the RMA number (inside the shipping box). &lt;br /&gt;
3) A note stating the problem if you would like the return for replacement or exchange. &lt;br /&gt;
&lt;br /&gt;
We ship 100% of our orders the same business day from our warehouse, typically the product will arrive within 2days via either Fedex/Ups Courier Sevices. &lt;br /&gt;
&lt;br /&gt;
For more informations regarding product and purchasing process send your enquiry to Manxxzy@msn.com&lt;br /&gt;
&lt;br /&gt;
We look forward in placing your order with us and giving you the most competent services. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Online Chat MSN:Manxxzy@msn.com&lt;br /&gt;
&lt;br /&gt;
Yours Sincerely &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TIMANDRA LIMITED&lt;br /&gt;
E-mail: Manxxzy@msn.com&lt;br /&gt;
Contact Name :Hernandez Meyers&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/392561/392561/get-your-apple-iphone-3g-16gb-155-samsung-i8910-omnia-hd-175/</guid>
      <pubDate>Fri, 19 Jun 2009 21:33:34 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
    <item>
      <title>convert 3d object to its height field</title>
      <link>http://www.programmersheaven.com/mb/graphics/392488/392488/convert-3d-object-to-its-height-field/</link>
      <description>can anyone give me some suggestions : how to how to convert 3d object to its height field? &lt;br /&gt;
&lt;br /&gt;
thanks a lot&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/392488/392488/convert-3d-object-to-its-height-field/</guid>
      <pubDate>Thu, 18 Jun 2009 07:07:57 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
    <item>
      <title>GIF Negative? (Solved)</title>
      <link>http://www.programmersheaven.com/mb/graphics/392318/392318/gif-negative-solved/</link>
      <description>I am trying to decode a GIF image file format. The GIF file format using LZW can return negative references. If you simply use absolute value on these references you get the "GIF Negative" of the image. The GIF negative is not what I expected. It is not just 255-x to get the back to normal. The best way to describe this is to try adding the color into ms paint (or any other software) and clicking negative with the file format set to GIF. Here is an example.&lt;br /&gt;
NORMAL      -&amp;gt; Negative&lt;br /&gt;
RRR GGG BBB -&amp;gt; RRR GGG BBB&lt;br /&gt;
255 000 000 -&amp;gt; 255 204 102&lt;br /&gt;
000 255 000 -&amp;gt; 255 204 051&lt;br /&gt;
000 000 255 -&amp;gt; 255 153 255&lt;br /&gt;
255 255 255 -&amp;gt; 255 153 102&lt;br /&gt;
I am trying to convert the "GIF Negative" back to "GIF Normal". &lt;br /&gt;
Any ideas of where I could find the answer?&lt;br /&gt;
&lt;br /&gt;
Edit: I found the answer. I will post it here. You can delete this post or save it for future reference.&lt;br /&gt;
The way "GIF Negative" works is, after you decode the image but before you reference it, you do this: &lt;br /&gt;
if (Current reference)&amp;lt;0&lt;br /&gt;
(new reference)=(total references)+(Current reference(should be negative number only!))&lt;br /&gt;
Note: Do this after you decode using LZW (if needed).</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/392318/392318/gif-negative-solved/</guid>
      <pubDate>Sun, 14 Jun 2009 09:49:43 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
    <item>
      <title>Get position array following a line</title>
      <link>http://www.programmersheaven.com/mb/graphics/392237/392237/get-position-array-following-a-line/</link>
      <description>&lt;strong&gt;Poll:  &lt;/strong&gt;&lt;br&gt;&lt;table width="310"&gt;
&lt;tr bgcolor="#F3F3F3"&gt;&lt;td width="250"&gt; &lt;/td&gt;&lt;td width="60"&gt;0 votes&lt;/td&gt;&lt;/tr&gt;
&lt;tr bgcolor="#FFFFFF"&gt;&lt;td width="250"&gt; &lt;/td&gt;&lt;td width="60"&gt;0 votes&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;br&gt;
I'm trying to do basic GDI animations with bitmaps. What I want to do is make a bitmap move towards a point.&lt;br /&gt;
I want the bitmap move in small steps towards this point.&lt;br /&gt;
So what I really want to know is how I can get a Point array of all the small steps to this position so I can redraw anything on each position.&lt;br /&gt;
&lt;br /&gt;
I think if I where to make this a function it would have this look. I can't figure out how to make the logic.&lt;br /&gt;
&lt;br /&gt;
Point[] GetLineSteps(Point startxy, Point stopxy)&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
 	Return LineSteps;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Appreciate your help. &lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/392237/392237/get-position-array-following-a-line/</guid>
      <pubDate>Fri, 12 Jun 2009 06:21:35 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
    <item>
      <title>how to make this graphic in C++</title>
      <link>http://www.programmersheaven.com/mb/graphics/391079/391079/how-to-make-this-graphic-in-c++/</link>
      <description>&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://i301.photobucket.com/albums/nn41/mepal_photos/grafikaPemandangan.jpg" /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
i'm training in graphic's programming.&lt;br /&gt;
can you help me to make the source code from picture above?&lt;br /&gt;
i wanna to learn it.&lt;br /&gt;
thanks &lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/391079/391079/how-to-make-this-graphic-in-c++/</guid>
      <pubDate>Sat, 16 May 2009 15:29:50 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
    <item>
      <title>OpenGL graphics editor project</title>
      <link>http://www.programmersheaven.com/mb/graphics/391014/391014/opengl-graphics-editor-project/</link>
      <description>&lt;strong&gt;&lt;strong&gt;I need the code for a graphics editor using OpenGL...This is part of my engg subject....&lt;br /&gt;
Please do send me the code immediately....as its very urgent...&lt;br /&gt;
&lt;br /&gt;
I should be able to run the program in microsoft visual studio...&lt;br /&gt;
&lt;br /&gt;
Please do help me...&lt;/strong&gt;&lt;/strong&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/391014/391014/opengl-graphics-editor-project/</guid>
      <pubDate>Fri, 15 May 2009 00:33:23 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
    <item>
      <title>viewport to window mapping</title>
      <link>http://www.programmersheaven.com/mb/graphics/390962/390962/viewport-to-window-mapping/</link>
      <description>Hi ...&lt;br /&gt;
I need to draw a map .I have the latitude longitude  values of it .I was able to map these to screen coordinates and then draw the map.Once the map is drawn,as the mouse moves over the map i need to show the latitude and longitude values. This is where i am struck .For the initial case its simple,just rearrangement of window to view port mapping formula .i.e.,&lt;br /&gt;
u = (x-xmin)* sx+ umin&lt;br /&gt;
v = (y-ymin)* sy + vmin&lt;br /&gt;
But once the zoom and pan operations are applied on the map, I dont know how to get the latitude longitude values for each screen coordinate .&lt;br /&gt;
If some one knows how to solve this ,Please help me&lt;br /&gt;
&lt;br /&gt;
Thanks in advance</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/390962/390962/viewport-to-window-mapping/</guid>
      <pubDate>Wed, 13 May 2009 20:40:17 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
    <item>
      <title>How can i read 3D SOLID in *.dxf files??</title>
      <link>http://www.programmersheaven.com/mb/graphics/390907/390907/how-can-i-read-3d-solid-in-dxf-files/</link>
      <description>I want to read 3D Solid in dxf/dwg file&lt;br /&gt;
&lt;br /&gt;
This is the code,it is a cilinder&lt;br /&gt;
&lt;br /&gt;
  0&lt;br /&gt;
3DSOLID&lt;br /&gt;
  5&lt;br /&gt;
154&lt;br /&gt;
330&lt;br /&gt;
1F&lt;br /&gt;
100&lt;br /&gt;
AcDbEntity&lt;br /&gt;
  8&lt;br /&gt;
0&lt;br /&gt;
100&lt;br /&gt;
AcDbModelerGeometry&lt;br /&gt;
 70&lt;br /&gt;
     1&lt;br /&gt;
  1&lt;br /&gt;
mnmoo mi m mi          &lt;br /&gt;
  1&lt;br /&gt;
ni ^ *+0;:,4 ^ *+0\^ [ nh ^ LR nmqoqnqgmo QK o  &lt;br /&gt;
  1&lt;br /&gt;
mjqlffffffffffffff fqfffffffffffffffj:rooh n:rono &lt;br /&gt;
  1&lt;br /&gt;
&amp;gt;,27:&amp;gt;;:- {rn rn _nn mnmqoqnqgmo |&lt;br /&gt;
  1&lt;br /&gt;
=0;&amp;amp; {rn rn {rn {m {rn {rn |&lt;br /&gt;
  1&lt;br /&gt;
3*2/ {rn rn {rn {rn {l {n |&lt;br /&gt;
  1&lt;br /&gt;
,7:33 {rn rn {rn {rn {rn {k {rn {m |&lt;br /&gt;
  1&lt;br /&gt;
9&amp;gt;&amp;lt;: {rn rn {rn {j {i {l {rn {h 90-(&amp;gt;-; ,6183: |&lt;br /&gt;
  1&lt;br /&gt;
9&amp;gt;&amp;lt;: {rn rn {rn {g {f {l {rn {no 90-(&amp;gt;-; ,6183: |&lt;br /&gt;
  1&lt;br /&gt;
300/ {rn rn {rn {nn {nm {k |&lt;br /&gt;
  1&lt;br /&gt;
&amp;lt;01:r,*-9&amp;gt;&amp;lt;: {rn rn {rn kqnkfhioofmlojhoj gqmjkjohffmnfjjkhl kqgmhofgojligofhji o o n no o o n V V o n no 90-(&amp;gt;-; V V V V |&lt;br /&gt;
  1&lt;br /&gt;
9&amp;gt;&amp;lt;: {rn rn {rn {rn {nl {l {rn {nk 90-(&amp;gt;-; ,6183: |&lt;br /&gt;
  1&lt;br /&gt;
300/ {rn rn {rn {rn {nj {j |&lt;br /&gt;
  1&lt;br /&gt;
/3&amp;gt;1:r,*-9&amp;gt;&amp;lt;: {rn rn {rn kqnkfhioofmlojhoj gqmjkjohffmnfjjkhl o o o rn rn o o 90-(&amp;gt;-;@) V V V V |&lt;br /&gt;
  1&lt;br /&gt;
300/ {rn rn {rn {rn {ni {k |&lt;br /&gt;
  1&lt;br /&gt;
&amp;lt;0:;8: {rn rn {rn {nm {nm {nj {nh -:):-,:; {i {rn |&lt;br /&gt;
  1&lt;br /&gt;
300/ {rn rn {rn {rn {ng {g |&lt;br /&gt;
  1&lt;br /&gt;
/3&amp;gt;1:r,*-9&amp;gt;&amp;lt;: {rn rn {rn kqnkfhioofmlojhoj gqmjkjohffmnfjjkhl fqijknfinohlinfjnn o o n n o o 90-(&amp;gt;-;@) V V V V |&lt;br /&gt;
  1&lt;br /&gt;
&amp;lt;0:;8: {rn rn {rn {nj {nj {nm {nh 90-(&amp;gt;-; {f {rn |&lt;br /&gt;
  1&lt;br /&gt;
&amp;lt;0:;8: {rn rn {rn {ni {ni {ng {nf -:):-,:; {nn {rn |&lt;br /&gt;
  1&lt;br /&gt;
:;8: {rn rn {rn {mo o {mo iqmglngjlohnhfjgim {nj {mn 90-(&amp;gt;-; _h *1410(1 |&lt;br /&gt;
  1&lt;br /&gt;
&amp;lt;0:;8: {rn rn {rn {ng {ng {ni {nf 90-(&amp;gt;-; {nl {rn |&lt;br /&gt;
  1&lt;br /&gt;
:;8: {rn rn {rn {mm o {mm iqmglngjlohnhfjgim {ng {ml 90-(&amp;gt;-; _h *1410(1 |&lt;br /&gt;
  1&lt;br /&gt;
):-+:' {rn rn {rn {nh o {mk |&lt;br /&gt;
  1&lt;br /&gt;
:336/,:r&amp;lt;*-): {rn rn {rn kqnkfhioofmlojhoj gqmjkjohffmnfjjkhl o o o rn no o o n V V |&lt;br /&gt;
  1&lt;br /&gt;
):-+:' {rn rn {rn {nf o {mj |&lt;br /&gt;
  1&lt;br /&gt;
:336/,:r&amp;lt;*-): {rn rn {rn kqnkfhioofmlojhoj gqmjkjohffmnfjjkhl fqijknfinohlinfjnn o o n no o o n V V |&lt;br /&gt;
  1&lt;br /&gt;
/061+ {rn rn {rn nkqnkfhioofmlojhoj gqmjkjohffmnfjjkhl o |&lt;br /&gt;
  1&lt;br /&gt;
/061+ {rn rn {rn nkqnkfhioofmlojhoj gqmjkjohffmnfjjkhl fqijknfinohlinfjnn |&lt;br /&gt;
100&lt;br /&gt;
AcDb3dSolid&lt;br /&gt;
350&lt;br /&gt;
157&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/390907/390907/how-can-i-read-3d-solid-in-dxf-files/</guid>
      <pubDate>Tue, 12 May 2009 15:42:08 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
    <item>
      <title>Urgent help Regarding GraphicsEditor using vc++</title>
      <link>http://www.programmersheaven.com/mb/graphics/390714/390714/urgent-help-regarding-graphicseditor-using-vc++/</link>
      <description>I'm doing my engg 6th sem the project is based on Graphics editor, and i'm in need of info regarding this using vc++.&lt;br /&gt;
Basic tasks is to create a polygon(finite), create a color box and to fill the color into the created object, ive codes for creation of a polygon and to fill all i need is some additional help on how to make this work altogether.&lt;br /&gt;
ive also included a screenshot pls check out the pic,and hoping to hear from u guys asap very urgent.&lt;br /&gt;
Thanks&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br&gt;&lt;br&gt;&lt;strong&gt;Attachment:&lt;/strong&gt; &lt;a href="http://www.programmersheaven.com/mb/DownloadAttachment.aspx?AttachmentID=635"&gt;kunchathumb.jpg&lt;/a&gt; (8643 bytes | downloaded 17 times)</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/390714/390714/urgent-help-regarding-graphicseditor-using-vc++/</guid>
      <pubDate>Sat, 09 May 2009 10:25:06 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
    <item>
      <title>Help with pendulum animation.</title>
      <link>http://www.programmersheaven.com/mb/graphics/390440/390440/help-with-pendulum-animation/</link>
      <description>I'm not sure that it's exactly a pendulum.  I basically need to animate a necklace that has 6 links connected by an "invisible string".  I need the animation to work as the necklace is turned.  &lt;br /&gt;
&lt;br /&gt;
As if the person wearing it were doing a cartwheel.&lt;br /&gt;
&lt;br /&gt;
I'm attaching an rough sketch of what i'm talking about. &lt;br /&gt;
&lt;br /&gt;
I just need an algorithm to animate this.  I'm not very good with physics and could really use some help.  I don't have access to any physics libraries or simulators so I'll actually need to code the whole algorithm.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br&gt;&lt;br&gt;&lt;strong&gt;Attachment:&lt;/strong&gt; &lt;a href="http://www.programmersheaven.com/mb/DownloadAttachment.aspx?AttachmentID=633"&gt;diagram.jpg&lt;/a&gt; (12735 bytes | downloaded 32 times)</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/390440/390440/help-with-pendulum-animation/</guid>
      <pubDate>Tue, 05 May 2009 08:42:09 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
    <item>
      <title>3D openGL in C++ help wanted</title>
      <link>http://www.programmersheaven.com/mb/graphics/390020/390020/3d-opengl-in-c++-help-wanted/</link>
      <description>hi, i am trying to do texture mapping and add some smoke with a simple animation to my environment&lt;br /&gt;
any tips or links would be appreciated ASAP&lt;br /&gt;
if anyone do tasks too contact me if you can work asap thanks&lt;br /&gt;
&lt;br /&gt;
&lt;br&gt;&lt;br&gt;&lt;strong&gt;Attachment:&lt;/strong&gt; &lt;a href="http://www.programmersheaven.com/mb/DownloadAttachment.aspx?AttachmentID=617"&gt;Assign3.pdf&lt;/a&gt; (157969 bytes | downloaded 48 times)</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/390020/390020/3d-opengl-in-c++-help-wanted/</guid>
      <pubDate>Tue, 28 Apr 2009 11:51:27 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
    <item>
      <title>directdraw scaling problem</title>
      <link>http://www.programmersheaven.com/mb/graphics/389674/389674/directdraw-scaling-problem/</link>
      <description>Hi all&lt;br /&gt;
&lt;br /&gt;
I'm trying to use directdraw to scale a high mega pixel video to a window size, but I fail on certain video cards.&lt;br /&gt;
&lt;br /&gt;
The details are as followed:&lt;br /&gt;
Surface1 holds the original frames, 2144x976, RGB24, offscreen surface, in video memory, not overlayed.&lt;br /&gt;
Surface2 is the same just with a different resolution of 704x530.&lt;br /&gt;
When I blit from Surface1 to Surface2 the failure occures.&lt;br /&gt;
On tested Nvidia/Ati cards it all works fine, but on intel GMA cards I get a not implemented error response.&lt;br /&gt;
&lt;br /&gt;
A few remarks:&lt;br /&gt;
1) On smaller source resolutions it all works fine and the scaling works as anticipated&lt;br /&gt;
2) Initially this blit caused a blue screen on workstations equipped with the intel cards, but after updating their driver, that was resolved&lt;br /&gt;
3) Looking through the card's directdraw capabilities I didn't find any relevant imposed scaling limitations or surface sizes limitations&lt;br /&gt;
4) Currently the only work around that I can see for this (without waiting for the blit to fail) is to check for the lack of flag NONLOCALVIDMEM and combine this with a certain resolution threshold above which the surfaces will be created in system memory&lt;br /&gt;
&lt;br /&gt;
Any thoughts?&lt;br /&gt;
Thanks in advance&lt;br /&gt;
&lt;br /&gt;
Nir</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/389674/389674/directdraw-scaling-problem/</guid>
      <pubDate>Thu, 23 Apr 2009 01:22:37 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
    <item>
      <title>need help opening protected jpeg</title>
      <link>http://www.programmersheaven.com/mb/graphics/388990/388990/need-help-opening-protected-jpeg/</link>
      <description>As a visually impaired poker player I usually made some modifications to the graphics of sites that I play on. However on one site (ipoker) when I try to open the graphics files I get an error message from photoshop."unknown or invalid jpeg marker"  I downloaded something called xnView but it was unable to open the files. I would be very grateful if someone could tell me how to open the files and then return them to the format they are in once I have altered them. &lt;br /&gt;
&lt;br /&gt;
I know this is possible because there is software available for modifying some of the graphics on the site, unfortunately not the ones I need.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/388990/388990/need-help-opening-protected-jpeg/</guid>
      <pubDate>Sat, 11 Apr 2009 14:00:39 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
    <item>
      <title>Translating 3D Axis Question</title>
      <link>http://www.programmersheaven.com/mb/graphics/388988/388988/translating-3d-axis-question/</link>
      <description>First post...&lt;br /&gt;
&lt;br /&gt;
I am not asking for someone to do my work, rather I am new to the whole 3D coding world and need some general guidelines on how to proceed as well as a primer on the conceptual logic....&lt;br /&gt;
&lt;br /&gt;
Any response would be greatly appreciated...&lt;br /&gt;
&lt;br /&gt;
Background:&lt;br /&gt;
&lt;br /&gt;
I am writing a program that takes output from a CAD program and translates it into real world information usable for the purpose of creating materials estimates for the construction of wood frame buildings.&lt;br /&gt;
&lt;br /&gt;
The CAD program creates a virtual frame of the structure including the studs, plates, headers, jacks, cripples, joists, rafters etc. These are the parts that make up a wood frame building. I am able to export the vector data from the back engine of the cad program as a text file and parse the data into an object oriented library that models the real worlds parts virtually.&lt;br /&gt;
&lt;br /&gt;
The fixed base coordinate system defines the drawing space x axis as 1,0,0 and the y axis as 0,1,0. The z axis is not defined in the the data output and is assumed always through out the the program as 0,0,1. Translated into a real world sense from the viewers perspective, looking away from you is negative Z, looking up is positive Y, and looking right is positive X.&lt;br /&gt;
&lt;br /&gt;
Each entity created has its own transform matrix for x and y, that is to say they have rotational matrix for their positive x and y axis. As an example, if drawing in plan view (looking straight down the y axis), and drawing a line from lower left to upper right on the screen (that would be North East in the real world sense), entity matrix would be x 1,0,-1, and y 0,1,0.&lt;br /&gt;
&lt;br /&gt;
So far this pretty much follows all of the normal programming rules from what I have gathered:&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://whitneyearnhardt.com/images/axisOrient.gif" /&gt;&lt;br /&gt;
&lt;br /&gt;
Where I need a little help and guidance is as follows:&lt;br /&gt;
&lt;br /&gt;
Each of the entities (pieces of wood) have rules for their creation that let me apply rules or assumptions to them to extract the relevant data I need to form my materials lists, cutting lists etc. &lt;br /&gt;
&lt;br /&gt;
Without getting into to much detail an example would be that a stud in a wall is always assumed to have the following corresponding relationships: x-axis = thickness, z-axis = width, and y-axis equals height or length.&lt;br /&gt;
&lt;br /&gt;
The CAD output stores all of the data for the polygons that make up the stud in real world coordinates, but unfortunately there is no convention to either the order of the polygons, their lines and the points that make up the lines; its simply a jumble or so it appears. In other words the polygons are not listed like: bottom, top, left face, right face, rear face, front face...they constantly change order.&lt;br /&gt;
&lt;br /&gt;
Bear with me I am almost done....&lt;br /&gt;
&lt;br /&gt;
Here is some sample data of the stud object. This stud is in a wall drawn from South West to North East in a plan view at a 45 degree angle (positive x rotated -45 degrees)...OBJECT st5 is the stud...the data for this stud is broken out into both the entity object and its primitives...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ENTITY:&lt;br /&gt;
&lt;br /&gt;
|    +--- BLOCK: fram&lt;br /&gt;
|         |       E-space-base:    8'9_7/8",0',-9'8_7/16"&lt;br /&gt;
|         |       E-space-x:    8_1/2",0',-8_1/2"&lt;br /&gt;
|         |       E-space-y:    0',1',0'&lt;br /&gt;
|         |    &lt;br /&gt;
|         |--- OBJECT: st5 reflectance:100 gloss:15 diffusion:100&lt;br /&gt;
|         |       E-space-base:    11'7_5/16",1_1/2",-12'5_7/8"&lt;br /&gt;
|         |       E-space-x:    8_1/2",0',-8_1/2"&lt;br /&gt;
|         |       E-space-y:    0',1',0'&lt;br /&gt;
|         |       T-space-base:    8'9_7/8",0',-9'8_7/16"&lt;br /&gt;
|         |       T-space-x:    8_1/2",0',-8_1/2"&lt;br /&gt;
|         |       T-space-y:    0',1',0'&lt;br /&gt;
&lt;br /&gt;
PRIMITIVES:&lt;br /&gt;
&lt;br /&gt;
object: st5&lt;br /&gt;
        polygon(1)  fill-color: 247   r228g207b156&lt;br /&gt;
          line(2)  point1: 11'7_5/16",1_1/2",-12'5_7/8"  point2: 11'7_5/16",9'4_1/4",-12'5_7/8"&lt;br /&gt;
          line(3)  point1: 11'7_5/16",9'4_1/4",-12'5_7/8"  point2: 11'4_13/16",9'2_1/2",-12'8_3/8"&lt;br /&gt;
          line(4)  point1: 11'4_13/16",1_1/2",-12'8_3/8"  point2: 11'4_13/16",9'2_1/2",-12'8_3/8"&lt;br /&gt;
          line(5)  point1: 11'7_5/16",1_1/2",-12'5_7/8"  point2: 11'4_13/16",1_1/2",-12'8_3/8"&lt;br /&gt;
        polygon(6)  fill-color: 247   r228g207b156&lt;br /&gt;
          line(7)  point1: 11'8_3/8",9'4_1/4",-12'6_15/16"  point2: 11'8_3/8",1_1/2",-12'6_15/16"&lt;br /&gt;
          line(8)  point1: 11'8_3/8",1_1/2",-12'6_15/16"  point2: 11'5_7/8",1_1/2",-12'9_7/16"&lt;br /&gt;
          line(9)  point1: 11'5_7/8",9'2_1/2",-12'9_7/16"  point2: 11'5_7/8",1_1/2",-12'9_7/16"&lt;br /&gt;
          line(10)  point1: 11'5_7/8",9'2_1/2",-12'9_7/16"  point2: 11'8_3/8",9'4_1/4",-12'6_15/16"&lt;br /&gt;
        polygon(11)  fill-color: 239   r128g255b128&lt;br /&gt;
          line(12)  point1: 11'5_7/8",9'2_1/2",-12'9_7/16"  point2: 11'4_13/16",9'2_1/2",-12'8_3/8"&lt;br /&gt;
          line(13)  point1: 11'7_5/16",9'4_1/4",-12'5_7/8"  point2: 11'4_13/16",9'2_1/2",-12'8_3/8"&lt;br /&gt;
          line(14)  point1: 11'7_5/16",9'4_1/4",-12'5_7/8"  point2: 11'8_3/8",9'4_1/4",-12'6_15/16"&lt;br /&gt;
          line(15)  point1: 11'5_7/8",9'2_1/2",-12'9_7/16"  point2: 11'8_3/8",9'4_1/4",-12'6_15/16"&lt;br /&gt;
        polygon(16)  fill-color: 247   r228g207b156&lt;br /&gt;
          line(17)  point1: 11'7_5/16",1_1/2",-12'5_7/8"  point2: 11'7_5/16",9'4_1/4",-12'5_7/8"&lt;br /&gt;
          line(18)  point1: 11'8_3/8",1_1/2",-12'6_15/16"  point2: 11'7_5/16",1_1/2",-12'5_7/8"&lt;br /&gt;
          line(19)  point1: 11'8_3/8",9'4_1/4",-12'6_15/16"  point2: 11'8_3/8",1_1/2",-12'6_15/16"&lt;br /&gt;
          line(20)  point1: 11'7_5/16",9'4_1/4",-12'5_7/8"  point2: 11'8_3/8",9'4_1/4",-12'6_15/16"&lt;br /&gt;
        polygon(21)  fill-color: 247   r228g207b156&lt;br /&gt;
          line(22)  point1: 11'5_7/8",9'2_1/2",-12'9_7/16"  point2: 11'5_7/8",1_1/2",-12'9_7/16"&lt;br /&gt;
          line(23)  point1: 11'5_7/8",1_1/2",-12'9_7/16"  point2: 11'4_13/16",1_1/2",-12'8_3/8"&lt;br /&gt;
          line(24)  point1: 11'4_13/16",1_1/2",-12'8_3/8"  point2: 11'4_13/16",9'2_1/2",-12'8_3/8"&lt;br /&gt;
          line(25)  point1: 11'5_7/8",9'2_1/2",-12'9_7/16"  point2: 11'4_13/16",9'2_1/2",-12'8_3/8"&lt;br /&gt;
        polygon(26)  fill-color: 247   r228g207b156&lt;br /&gt;
          line(27)  point1: 11'8_3/8",1_1/2",-12'6_15/16"  point2: 11'7_5/16",1_1/2",-12'5_7/8"&lt;br /&gt;
          line(28)  point1: 11'7_5/16",1_1/2",-12'5_7/8"  point2: 11'4_13/16",1_1/2",-12'8_3/8"&lt;br /&gt;
          line(29)  point1: 11'5_7/8",1_1/2",-12'9_7/16"  point2: 11'4_13/16",1_1/2",-12'8_3/8"&lt;br /&gt;
          line(30)  point1: 11'8_3/8",1_1/2",-12'6_15/16"  point2: 11'5_7/8",1_1/2",-12'9_7/16"&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The 3D solid data I have extracted relevant to this stud st5 object comes in as series of 6 polygons each with 4 lines and each line with 2 points stored in real world data. Obviously this is a huge waste of run time memory, so I have taken the data stripped out all redundant information to create a virtual 3D solid with a collection of faces, a collection lines and a collection of points such that I now have 6 faces, 12 lines and 8 points. This of course assumes the solid is a simple 3D rectangle type object.&lt;br /&gt;
&lt;br /&gt;
Finally and why I came here to this forum:&lt;br /&gt;
&lt;br /&gt;
Assuming my stud is a simple rectangular solid, rotated -45 degrees, and that its x-axis = thickness, z-axis = width, and y-axis equals height or length, what would be the most efficient way to extract thickness, width and length?&lt;br /&gt;
&lt;br /&gt;
Catch: The stud may or may not be a simple solid axial planes. The bottom or top cut may hay have a simple bevel or miter, or in fact be a compound cut (that is to say the cut plane shares no axis of the relative coordinate system of its parent solid.&lt;br /&gt;
&lt;br /&gt;
Sorry for the long winded preface...but I thought it necessary to expose as many of my assumptions as possible in hopes thaty flaws in my initial logic might be pointed out and that any responses given are as educational as they are tactical solutions.&lt;br /&gt;
&lt;br /&gt;
I need help with my strategy as much as my tactics...&lt;br /&gt;
&lt;br /&gt;
Thank you....&lt;br /&gt;
&lt;br /&gt;
Carson Wales&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/388988/388988/translating-3d-axis-question/</guid>
      <pubDate>Sat, 11 Apr 2009 11:56:14 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
    <item>
      <title>Issue of the century: Drawing only what's in the viewport</title>
      <link>http://www.programmersheaven.com/mb/graphics/388708/388708/issue-of-the-century-drawing-only-whats-in-the-viewport/</link>
      <description>Hi all. I have a theoretical issue to discuss with you. &lt;br /&gt;
&lt;br /&gt;
As you probably know, user (or world, page, logical etc..) space extents are usually much &lt;br /&gt;
&lt;br /&gt;
larger than device space extents and sometimes, when you have a very large entity (line, &lt;br /&gt;
&lt;br /&gt;
rectangle, whatever) defined in user space and you apply a scale transformation -- the library &lt;br /&gt;
&lt;br /&gt;
doesn't matter here -- to zoom in over a part of the large entity, you reach a point where the &lt;br /&gt;
&lt;br /&gt;
entity disappears (can't be rendered) simply because, at some scale, the transformed vertices &lt;br /&gt;
&lt;br /&gt;
of the entity generate an overflow in device space; but if you zoom in further, you might &lt;br /&gt;
&lt;br /&gt;
encounter some smaller entities in the same spot! I'll try to illustrate better with an &lt;br /&gt;
&lt;br /&gt;
example. Say, our user space supports 64-bit (double) coordinates and our device space is &lt;br /&gt;
&lt;br /&gt;
GDI32 (2^27 units) and we have two lines (in good ol' Cartesian system):&lt;br /&gt;
&lt;br /&gt;
(-100.0, -100.0, +100.0, +100.0) [entity A]&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
(-1000000000000.0, +1000000000000.0, +1000000000000.0, -1000000000000.0) [entity B]&lt;br /&gt;
&lt;br /&gt;
As we can see, the two lines cross point (0, 0) and logically, if I zoom enough to show line A &lt;br /&gt;
&lt;br /&gt;
in my viewport, I should also be able to see (to draw, a programmer may say) line B as well; &lt;br /&gt;
&lt;br /&gt;
but unfortunately, this doesn't happen; when line A is visible, the scaling factor is so big &lt;br /&gt;
&lt;br /&gt;
that the mapped coordinates of line B exceed 27 bits. One solution would be, of course, to &lt;br /&gt;
&lt;br /&gt;
calculate the intersection between line B and my viewport and draw only the visible line &lt;br /&gt;
&lt;br /&gt;
segment. Fine, but what if B was a spline (NURBS), an ellipse, etc. Moreover, periodic curves &lt;br /&gt;
&lt;br /&gt;
can have more than one intersecting segment with the viewport and the formulas and equations &lt;br /&gt;
&lt;br /&gt;
become quite complex. Besides, the idea of down-sampling the user space entity enough to make &lt;br /&gt;
&lt;br /&gt;
it map correctly in device space, flattening it, and finally up-sampling the resulting line &lt;br /&gt;
&lt;br /&gt;
segments, this idea is not acceptable because of the loss of precision (curve smoothness) &lt;br /&gt;
&lt;br /&gt;
incurred..&lt;br /&gt;
&lt;br /&gt;
Let me point out that when the mapped coordinates can't fit in device space, the entity cannot &lt;br /&gt;
&lt;br /&gt;
be flattened (using GDI's FlattenPath()). I tried to flatten (generate) NURBS' using a sample &lt;br /&gt;
&lt;br /&gt;
from the Internet but for some reasons the output doesn't exactly match the same spline when &lt;br /&gt;
&lt;br /&gt;
drawn in AutoCAD(R). Anyway, I wish I knew how to flatten all kinds of curves accurately. My &lt;br /&gt;
&lt;br /&gt;
problem would be solved. I'm trying to study curves intersection now.. damn hard.&lt;br /&gt;
&lt;br /&gt;
All the above applies to Win32. I know little about GDI+ ..  but actually, even if the device &lt;br /&gt;
&lt;br /&gt;
space gets larger, the idea of drawing ONLY what's visible in the current viewport (by &lt;br /&gt;
&lt;br /&gt;
generating a new -- usually smaller -- set of sub-entities) should rule IMHO! For performance &lt;br /&gt;
&lt;br /&gt;
reasons and because it simply makes more sense -- and it allows a much broader zooming range &lt;br /&gt;
&lt;br /&gt;
BTW.&lt;br /&gt;
&lt;br /&gt;
So guys! If this has been done before, or if anyone has any clues, books, links.. please let &lt;br /&gt;
&lt;br /&gt;
me know &lt;img src="http://www.programmersheaven.com/images/Community/smile.gif" width="15" height="15" alt="" /&gt; If anyone knows how to generate (by code) an AutoCAD(R) spline accurately, please &lt;br /&gt;
&lt;br /&gt;
help me out :)&lt;br /&gt;
&lt;br /&gt;
In an other forum, I even suggested that this kind of issues (mapping, clamping, clipping..) &lt;br /&gt;
&lt;br /&gt;
should be SOLVED once and for all and become an integral part of all graphics library &lt;br /&gt;
&lt;br /&gt;
packages! Don't you agree?&lt;br /&gt;
&lt;br /&gt;
PS. If anyone knows any other forums or places on the net where I can further discuss these &lt;br /&gt;
&lt;br /&gt;
issues, I would appreciate you letting me know!&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
Robert&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/388708/388708/issue-of-the-century-drawing-only-whats-in-the-viewport/</guid>
      <pubDate>Tue, 07 Apr 2009 00:47:22 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
    <item>
      <title>movement;</title>
      <link>http://www.programmersheaven.com/mb/graphics/388556/388556/movement/</link>
      <description>in infix to postfix conversion ;how do i emulate the movement of operators and operands within the stack;my input (a+b*c) is placed in an horizontal cuboid...and my output should be displayed in another horizontal cuboid in its postfix form...&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/388556/388556/movement/</guid>
      <pubDate>Fri, 03 Apr 2009 22:31:22 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
    <item>
      <title>how to play jw file made as .tmp extension???</title>
      <link>http://www.programmersheaven.com/mb/graphics/388412/388412/how-to-play-jw-file-made-as-tmp-extension/</link>
      <description>i was watching a video on net like may be by jw player or by adobe flash player,and found that website making a file xxx.tmp in my temp folder and later it is played in my page.Problem is that file is too long and always remains unfinished ,now i want that the remaining file which had created on my hard disk with extension .tmp i play it as windows media player .but when i changed the extension to wav or mp3 or flv it gives error message ,now is there a way to do this..&lt;br /&gt;
&lt;br /&gt;
Secondly i wonder how that site is converting this tmp file to playing file????&lt;br /&gt;
&lt;br /&gt;
when i opened tmp file in notepad its may be binary code ???&lt;br /&gt;
&lt;br /&gt;
now any suggestions please&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/388412/388412/how-to-play-jw-file-made-as-tmp-extension/</guid>
      <pubDate>Wed, 01 Apr 2009 07:47:04 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
    <item>
      <title>opengl:</title>
      <link>http://www.programmersheaven.com/mb/graphics/388221/388221/opengl/</link>
      <description>since i m just a beginner in computer graphics...i find it difficult to write codes for simple geometric shapes which many others say its easy..&lt;br /&gt;
so i want a code for 'drawing a stack(vertical cuboidal structure made from cubes placed one above the other, iteratively based on value of 'n'(number of iterations)).. with string "#" placed in its lowermost cube&lt;br /&gt;
&lt;br&gt;&lt;br&gt;&lt;strong&gt;Attachment:&lt;/strong&gt; &lt;a href="http://www.programmersheaven.com/mb/DownloadAttachment.aspx?AttachmentID=562"&gt;rashmi.zip&lt;/a&gt; (465 bytes | downloaded 26 times)</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/388221/388221/opengl/</guid>
      <pubDate>Sun, 29 Mar 2009 03:47:44 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
    <item>
      <title>Best language for PostScript output</title>
      <link>http://www.programmersheaven.com/mb/graphics/388001/388001/best-language-for-postscript-output/</link>
      <description>I've written software for too many years (punched cards in 1970), so I think I can learn just about any language (eventually, grin). I have a bunch of graphics software that I wrote in a language that appears to be dying (TransEra's HiTech BASIC clone of HP's Rocky Mountain Basic). Over the years, I've gotten pretty fluent in PostScript. I've probably re-written half the graphics commands in HTB as my own subs that actually output PostScript correctly &amp;lt;g&amp;gt;. What I'd like to do is to write a new version of that graphics software. &lt;strong&gt;What language/environment would you recommend?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Wish list:&lt;/strong&gt;&lt;br /&gt;
*  I use vector graphics, not bitmap. This is mandatory. If the language has a way to paint vector graphics on the screen, it would make my life much easier. Final output is PostScript (vector), which I distill to PDF.&lt;br /&gt;
*  I use very large data sets. I'd like to be able to manipulate arrays of floating-point numbers that have more than 32K elements in a dimension. Being able to perform matrix math is a big plus.&lt;br /&gt;
*  I tend to use a lot of logarithm/exponential functions, so I don't want something that makes that slow or hard to access (can't imagine that would be a problem with a modern language).&lt;br /&gt;
*  If possible, I'd rather work under Linux than Windows, but that's not a hard requirement. I'm just getting tired of dealing with BSODs, driver conflicts, etc.&lt;br /&gt;
*  I want to design the charts myself. I've never seen a packaged routine that does the kinds of things that I want to do, and I'm always thinking of new formats, so an off-the-shelf graphics subroutine package is an unlikely option.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/388001/388001/best-language-for-postscript-output/</guid>
      <pubDate>Wed, 25 Mar 2009 14:03:11 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
    <item>
      <title>openGL? directX? seriously need help A.S.A.P</title>
      <link>http://www.programmersheaven.com/mb/graphics/387962/387962/opengl-directx-seriously-need-help-asap/</link>
      <description>I need to present my assignment &lt;span style="color: Red;"&gt;TOMORROW.&lt;/span&gt;&lt;br /&gt;
I need to solve mathematical problems using C and also need to add graphic.&lt;br /&gt;
&lt;br /&gt;
I've been planning of writing a program which uses graphic which can take user input,calculate and return the answer as output.&lt;br /&gt;
&lt;br /&gt;
can I do that in openGL with C?&lt;br /&gt;
&lt;br /&gt;
or directX with C?&lt;br /&gt;
&lt;br /&gt;
or is there any other way?&lt;br /&gt;
&lt;br /&gt;
I've spent &lt;span style="color: Red;"&gt;WEEKS&lt;/span&gt; just searching for this.please...................&lt;span style="color: Red;"&gt;HELP&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
I'm using Code::Blocks,Windows Vista.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/387962/387962/opengl-directx-seriously-need-help-asap/</guid>
      <pubDate>Tue, 24 Mar 2009 23:43:53 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
    <item>
      <title>user input openGL with C</title>
      <link>http://www.programmersheaven.com/mb/graphics/387882/387882/user-input-opengl-with-c/</link>
      <description>how to create an openGL project with C which asks the user to input value and then,do the calculation and return the value as an output?&lt;br /&gt;
&lt;br /&gt;
-thank you-</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/387882/387882/user-input-opengl-with-c/</guid>
      <pubDate>Mon, 23 Mar 2009 23:22:33 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
    <item>
      <title>openGL with c?</title>
      <link>http://www.programmersheaven.com/mb/graphics/387785/387785/opengl-with-c/</link>
      <description>hey there,&lt;br /&gt;
&lt;br /&gt;
I'm thinking of solving a math problem in C using openGL graphics.&lt;br /&gt;
I tried and it didn't work the way I planned it.&lt;br /&gt;
It turned out to be,the answers being displayed in DOS window,and the graphics in openGL window.&lt;br /&gt;
&lt;br /&gt;
I wanna put both of them together in an openGL window.&lt;br /&gt;
&lt;br /&gt;
If this is possible,can anyone please help?&lt;br /&gt;
&lt;br /&gt;
thank you..</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/graphics/387785/387785/opengl-with-c/</guid>
      <pubDate>Sun, 22 Mar 2009 04:08:48 -0700</pubDate>
      <category>Computer Graphics</category>
    </item>
  </channel>
</rss>