{"id":173,"date":"2010-03-24T13:59:35","date_gmt":"2010-03-24T10:29:35","guid":{"rendered":"http:\/\/blog.seganx.com\/?p=173"},"modified":"2024-03-16T15:15:42","modified_gmt":"2024-03-16T15:15:42","slug":"framework-dx7-2","status":"publish","type":"post","link":"https:\/\/sajad-b.com\/?p=173","title":{"rendered":"Framework DX7"},"content":{"rendered":"<p>Here is my first attempt to create a framework on DirectX 7 (Immediate Mode) that began around 2003\/02.<br \/>\nThe programming language was Pascal in Delphi IDE; the source code is available but dirty. because it was my first try and I was a beginner.<br \/>\nThe simple framework has 2 parts, one is an editor called Maker and the other is a Viewer.<br \/>\nThe Maker has 4 view ports with full-screen display capabilities. but the object creation method was in the wrong way! The sample was just a try to write down an editor, not a renderer \ud83d\ude00<br \/>\nThe viewer was a simple test for lighting, fog, render states, and some features on DirectX 7. Viewers use a text file to load a scene from the Objects folder. the text file contains a list of file names and a simple position vector ( just like this: filename1.omf|x|y|z ). Each file contains vectors in binary format and all textures inside.<\/p>\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image\"><a href=\"https:\/\/i0.wp.com\/sajad-b.com\/wp-content\/uploads\/2010\/03\/Framework-dx7-3.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"625\" height=\"504\" data-id=\"175\" src=\"https:\/\/i0.wp.com\/sajad-b.com\/wp-content\/uploads\/2010\/03\/Framework-dx7-3.jpg?resize=625%2C504&#038;ssl=1\" alt=\"a box\" class=\"wp-image-175\" srcset=\"https:\/\/i0.wp.com\/sajad-b.com\/wp-content\/uploads\/2010\/03\/Framework-dx7-3.jpg?w=676&amp;ssl=1 676w, https:\/\/i0.wp.com\/sajad-b.com\/wp-content\/uploads\/2010\/03\/Framework-dx7-3.jpg?resize=300%2C242&amp;ssl=1 300w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><figcaption class=\"wp-element-caption\">Lighting in Viewer (2003)<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/i0.wp.com\/sajad-b.com\/wp-content\/uploads\/2010\/03\/Framework-dx7-1.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"625\" height=\"477\" data-id=\"177\" src=\"https:\/\/i0.wp.com\/sajad-b.com\/wp-content\/uploads\/2010\/03\/Framework-dx7-1.jpg?resize=625%2C477&#038;ssl=1\" alt=\"Changing vertex UV\" class=\"wp-image-177\" srcset=\"https:\/\/i0.wp.com\/sajad-b.com\/wp-content\/uploads\/2010\/03\/Framework-dx7-1.jpg?w=813&amp;ssl=1 813w, https:\/\/i0.wp.com\/sajad-b.com\/wp-content\/uploads\/2010\/03\/Framework-dx7-1.jpg?resize=300%2C229&amp;ssl=1 300w, https:\/\/i0.wp.com\/sajad-b.com\/wp-content\/uploads\/2010\/03\/Framework-dx7-1.jpg?resize=768%2C586&amp;ssl=1 768w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><figcaption class=\"wp-element-caption\">Changing vertex UV (2003)<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/i0.wp.com\/sajad-b.com\/wp-content\/uploads\/2010\/03\/Framework-dx7-2.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"625\" height=\"478\" data-id=\"178\" src=\"https:\/\/i0.wp.com\/sajad-b.com\/wp-content\/uploads\/2010\/03\/Framework-dx7-2.jpg?resize=625%2C478&#038;ssl=1\" alt=\"Object Viewer\" class=\"wp-image-178\" srcset=\"https:\/\/i0.wp.com\/sajad-b.com\/wp-content\/uploads\/2010\/03\/Framework-dx7-2.jpg?w=638&amp;ssl=1 638w, https:\/\/i0.wp.com\/sajad-b.com\/wp-content\/uploads\/2010\/03\/Framework-dx7-2.jpg?resize=300%2C229&amp;ssl=1 300w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><figcaption class=\"wp-element-caption\">Object Viewer (2003)<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/i0.wp.com\/sajad-b.com\/wp-content\/uploads\/2010\/03\/Framework-dx7-0.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"625\" height=\"477\" data-id=\"176\" src=\"https:\/\/i0.wp.com\/sajad-b.com\/wp-content\/uploads\/2010\/03\/Framework-dx7-0.jpg?resize=625%2C477&#038;ssl=1\" alt=\"Moving a vertex\" class=\"wp-image-176\" srcset=\"https:\/\/i0.wp.com\/sajad-b.com\/wp-content\/uploads\/2010\/03\/Framework-dx7-0.jpg?w=813&amp;ssl=1 813w, https:\/\/i0.wp.com\/sajad-b.com\/wp-content\/uploads\/2010\/03\/Framework-dx7-0.jpg?resize=300%2C229&amp;ssl=1 300w, https:\/\/i0.wp.com\/sajad-b.com\/wp-content\/uploads\/2010\/03\/Framework-dx7-0.jpg?resize=768%2C587&amp;ssl=1 768w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><figcaption class=\"wp-element-caption\">Moving a vertex (2003)<\/figcaption><\/figure>\n<\/figure>\n\n\n<p>Download: <a href=\"https:\/\/sajad-b.com\/products\/samples\/Framework_DX7_src.rar\">Framework-DX7 source<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Here is my first attempt to create a framework on DirectX 7 (Immediate Mode) that began around 2003\/02. The programming language was Pascal in Delphi IDE; the source code is available but dirty. because it was my first try and I was a beginner. The simple framework has 2 parts, one is an editor called [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[8],"tags":[57,21],"class_list":["post-173","post","type-post","status-publish","format-standard","hentry","category-tech-museum","tag-directx7","tag-framework"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sajad-b.com\/index.php?rest_route=\/wp\/v2\/posts\/173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sajad-b.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sajad-b.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sajad-b.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sajad-b.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=173"}],"version-history":[{"count":5,"href":"https:\/\/sajad-b.com\/index.php?rest_route=\/wp\/v2\/posts\/173\/revisions"}],"predecessor-version":[{"id":816,"href":"https:\/\/sajad-b.com\/index.php?rest_route=\/wp\/v2\/posts\/173\/revisions\/816"}],"wp:attachment":[{"href":"https:\/\/sajad-b.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sajad-b.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sajad-b.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}