[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-650860-105":59,"doc-detail-650860-en":130,"doc-similar-650860":160},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","leo-3drenderingpresentation-the-basics-of-3d-rendering","Leo - 3DRenderingPresentation - The Basics of 3D Rendering","","The basics of 3D rendering explain how a 3D scene is converted into a 2D image. It motivates the need for rendering because software screens display a 2D pixel grid, while a 3D world is defined by object locations and rotations. The workflow is presented as projection followed by rasterisation: World space to camera space, camera space to screen space via projection and similar triangles, then to NDC and finally raster space. Rasterisation then draws triangles by scanning a bounding box, testing pixels with an edge function to determine whether each pixel lies inside the triangle.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/leo-3drenderingpresentation-the-basics-of-3d-rendering/650860/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/leo-3drenderingpresentation-the-basics-of-3d-rendering/650860.png","ImageObject",300,407,{"name":92,"@type":93},"Ben ","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-29","2026-10-24",true,{"@type":102,"interactionType":103,"userInteractionCount":34},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"Why do we need 3D rendering in software graphics?","Question",{"text":112,"@type":113},"Because while the 3D world is defined in space, the final output is a 2D grid of colored pixels on a screen. Rendering converts the 3D scene into that 2D pixel picture.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What are the main stages of the rendering process described here?",{"text":117,"@type":113},"The rendering pipeline is split into a projection stage and a rasterisation stage. Projection converts 3D coordinates to 2D screen-related coordinates, and rasterisation turns those into pixels.",{"name":119,"@type":110,"acceptedAnswer":120},"How does rasterisation determine which pixels belong to a triangle?",{"text":121,"@type":113},"It first finds a rectangular bounding box around the triangle, then checks every pixel in that box. Using an edge function, it determines whether a pixel lies inside the triangle by evaluating which side of each triangle edge the pixel falls on.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},650860,1792848471,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":34,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":19,"preview_urls":145},2336478951081,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","The Basics of 3D Rendering  \nMain resource:  \n[https://scratchapixel.com](https://scratchapixel.com)  \nAuthor:  \nLeo W  \nWhat is 3D Rendering? Why do we need it?  \n• When building 3D worlds in software, we have a dilemma – put simply, screens are 2D, not 3D  \n• This means that somehow, we need to convert our 3D scene, described by the locations and rotations of objects, into a picture – which consists of a 2D grid of coloured pixels – this conversion is called rendering  \n• There are many approaches to this – the one I will be showing today is called “rasterisation” or “rasterization”.  \nProjection and Rasterisation  \nProjection Stage Rasterisation Stage  \nProjection  \n• Before we do any rasterisation, we first have to convert the 3D locations in our world to 2D locations on the screen  \n• This is called the projection stage, and consists of 4 steps:  \n• World – Camera space  \n• Camera – Screen space  \n• Screen – NDC space  \n• NDC – Raster space  \nWorld – Camera Space  \n• The 3D co-ordinates we start off with are in what is called “World Space”. This is the 3D co-ordinates we are used to working with – X,Y,Z  \n• These co-ordinates must be converted to “Camera Space” to get any further. This is a way of representing positions relative to the camera  \n– where (0,0,0) is the camera, and for example,(1,0,0) is 1 unit to the right of the camera  \n• Let’s look at an example in 2D  \nWorld – Camera Space Example  \nCamera – Screen Space  \n• Once the co-ordinates are in camera space, they are ready to be projected onto a virtual screen in front of the camera  \n• This is done by considering similar triangles – as shown on the next slide, all objects are projected to be the same distance away from the camera, directly towards the camera’s lens  \nCamera – Screen Space Example  \nScreen – NDC and NDC – Raster Space  \n• Now that the co-ordinates are on the virtual screen in front of the camera, we convert them to NDC space – we pick a cut-off point on the top and bottom of the virtual screen, and label y-co-ordinates from 0 to 1 along this line. We also do the same in the other axis (not shown in 2D diagrams)  \n• Now, all 3D coordinates have been converted to be 2D co-ordinates between (0,0) and (1,1) . The conversion to raster space is very easy – we just multiply by the width and height of the screen. My monitor, for example is 1920x1080, so the raster space co-ordinates are now between (0,0) and (1920,1080)  \nRasterisation  \n• Now that our co-ordinates are finally in raster space, we can perform the rasterisation algorithm. Up until now, we have used beachballs as our objects, but from now on we must use triangles. We project the 3 vertices of the triangle using the process described thus far, and we end up with a triangle described in raster space  \n• To rasterise this triangle, first we find a rectangular box around it on the screen that the whole triangle fits in. We then check every pixel in this box to find out if it is contained within the triangle. This can be done by using the “Edge Function”, which is beyond the scope here, and requires a fair amount of maths, but essentially calculates which side of a triangle’s edge a point is on. By computing this function for all sides, we can find out if the pixel is on the inside of the triangle.  \n• (see Scratchapixel “Rasterization: a Practical Implementation” - “The Rasterization Stage” for more info on the edge function and the maths involved)","cbCaivQbVpAc2Lez","https://ap.wps.com/l/cbCaivQbVpAc2Lez","pdf",296765,13,"English","# The Basics of 3D Rendering\n## What is 3D Rendering?\n## Projection and Rasterisation\n## Projection Stage\n### World - Camera Space\n### Camera - Screen Space\n### Screen - NDC and NDC - Raster Space\n## Rasterisation","[{\"question\":\"Why do we need 3D rendering in software graphics?\",\"answer\":\"Because while the 3D world is defined in space, the final output is a 2D grid of colored pixels on a screen. Rendering converts the 3D scene into that 2D pixel picture.\"},{\"question\":\"What are the main stages of the rendering process described here?\",\"answer\":\"The rendering pipeline is split into a projection stage and a rasterisation stage. Projection converts 3D coordinates to 2D screen-related coordinates, and rasterisation turns those into pixels.\"},{\"question\":\"How does rasterisation determine which pixels belong to a triangle?\",\"answer\":\"It first finds a rectangular bounding box around the triangle, then checks every pixel in that box. Using an edge function, it determines whether a pixel lies inside the triangle by evaluating which side of each triangle edge the pixel falls on.\"}]","Leo - 3DRenderingPresentation - The Basics of 3D Rendering | PDF",33,[146,150,153,157],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/e0bc06324f9e07e88c6050ca842342a4.webp",983,552,{"page_no":14,"url":151,"width":152,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/957ddec274f20cc9c81a40fe5d017e5d.webp",982,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/8a3dab7532c644b8a4a2eeb1149f6d17.webp",981,551,{"page_no":19,"url":158,"width":159,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/53c82ed22393dcd6bb1b5136977c1eda.webp",980,{"list":161,"token":66},[162,168,174,181,187,193,199,205,211,218],{"doc_id":163,"doc_title":164,"file_type":137,"home_preview_img_url":165,"slug":166,"view_count":24,"category_name":30,"create_tm":167},694789,"Scalable Vector Graphics (SVG) -Concepts Behind the Name - Designing Graphical Interfaces with SVG","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230007445587/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=BP7QiwWe9EWh0DsIhSVleNFKqvs%3D","scalable-vector-graphics-svg-concepts-behind-the-name-designing-graphical-interfaces-with-svg",1794347765,{"doc_id":169,"doc_title":170,"file_type":137,"home_preview_img_url":171,"slug":172,"view_count":34,"category_name":30,"create_tm":173},651019,"Two-and Three-Dimensional Drawings - Lesson - Two-and Three-Dimensional Drawings","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229973477056/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=%2F9bLzEbVIw7sESIGpoU2KOAwcO4%3D","two-and-three-dimensional-drawings-lesson-two-and-three-dimensional-drawings",1792857671,{"doc_id":175,"doc_title":176,"file_type":137,"home_preview_img_url":177,"slug":178,"view_count":179,"category_name":30,"create_tm":180},648631,"CS354 Computer Graphics - Viewing and Projections","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229972127938/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=mlWABcrViMpjiP%2BwiKtRgB2smmA%3D","cs354-computer-graphics-viewing-and-projections",16,1792794227,{"doc_id":182,"doc_title":183,"file_type":137,"home_preview_img_url":184,"slug":185,"view_count":39,"category_name":30,"create_tm":186},649135,"CAD 203-AutoCAD II - Advanced Concepts","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229972138834/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=hWsMYu51Orheaoylmfsx9V%2BHF6Y%3D","cad-203-autocad-ii-advanced-concepts",1792797437,{"doc_id":188,"doc_title":189,"file_type":137,"home_preview_img_url":190,"slug":191,"view_count":52,"category_name":30,"create_tm":192},663076,"Chapter 4 - Orthographic Projection and Multiview Constructions - orthographic projection principles & AutoCAD commands","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229981596309/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=el5IES9hI9WxJrV%2BZ8KPVcBv0a4%3D","chapter-4-orthographic-projection-and-multiview-constructions-orthographic-projection-principles-autocad-commands",1793224991,{"doc_id":194,"doc_title":195,"file_type":137,"home_preview_img_url":196,"slug":197,"view_count":52,"category_name":30,"create_tm":198},651035,"Unit 2 - Principle of Projection - Projection","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229973481881/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=TaQrtH1d0f9QagU8%2BQdbQIv6qjc%3D","unit-2-principle-of-projection-projection",1792858213,{"doc_id":200,"doc_title":201,"file_type":137,"home_preview_img_url":202,"slug":203,"view_count":34,"category_name":30,"create_tm":204},649009,"AutoCAD 3D Drawing Practice - MechPart07 Tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229972135129/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=1QMeI%2FfpGYirUh4PVJy3tqIgBCQ%3D","autocad-3d-drawing-practice-mechpart07-tutorial",1792796575,{"doc_id":206,"doc_title":207,"file_type":137,"home_preview_img_url":208,"slug":209,"view_count":44,"category_name":30,"create_tm":210},648845,"OBJECT-ORIENTED FACTORY LAYOUT IN AUTO CAD - Paper","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229972132100/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=CJvrmqShW7T1yoXhRmWEEG34HL0%3D","object-oriented-factory-layout-in-auto-cad-paper",1792795750,{"doc_id":212,"doc_title":213,"file_type":137,"home_preview_img_url":214,"slug":215,"view_count":216,"category_name":30,"create_tm":217},648630,"Orthographic Projection - Multiview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229972127928/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=NBk6cm4dejbOrrmlKJQaQ4%2BZY2g%3D","orthographic-projection-multiview",12,1792794225,{"doc_id":219,"doc_title":220,"file_type":137,"home_preview_img_url":221,"slug":222,"view_count":223,"category_name":30,"create_tm":224},663077,"Multiview Orthographic Projection Sketch - How to Sketch Multiview Views","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229981596318/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110679&Signature=XU1w0IV7E3TIAIvn90zN0RcTEMI%3D","multiview-orthographic-projection-sketch-how-to-sketch-multiview-views",14,1793224994]