The document discusses computer graphics hardware and GPU computing. It explains that GPUs have thousands of smaller cores that are optimized for parallel processing compared to CPUs which have a few cores for serial processing. GPU computing uses both the CPU and GPU together, with serial code running on the CPU and parallel code on the GPU. The document also covers topics like the CUDA platform, GPU specifications, raster displays, frame buffers, double buffering, 3D graphics pipelines, and the different types of transformations involved in 3D rendering like model, view and projection transforms.
This ppt's introduced Basics of computer graphics, which helps to diploma in computer engineering, DCA BCA, BE computer science student's to improve study in computer graphics.
This presentation will introduce you to Raster details in computer graphics.
---------------------------------------------------------------------------
Do Not just learn computer graphics an close your computer tab and go away..
APPLY them in real business,
Visit Daroko blog for real IT skills applications,androind, Computer graphics,Networking,Programming,IT jobs Types, IT news and applications,blogging,Builing a website, IT companies and how you can form yours, Technology news and very many More IT related subject.
-simply google:Daroko blog(professionalbloggertricks.com)
• Daroko blog (www.professionalbloggertricks.com)
• Presentation by Daroko blog, to see More tutorials more than this one here, Daroko blog has all tutorials related with IT course, simply visit the site by simply Entering the phrase Daroko blog (www.professionalbloggertricks.com) to search engines such as Google or yahoo!, learn some Blogging, affiliate marketing ,and ways of making Money with the computer graphic Applications(it is useless to learn all these tutorials when you can apply them as a student you know),also learn where you can apply all IT skills in a real Business Environment after learning Graphics another computer realate courses.ly
• Be practically real, not just academic reader
Notes for Mechanical and Computer science Students,
In the Notes Including the Basic to algo and transformation in Computer grafics Pixels, it is a important topic
This ppt's introduced Basics of computer graphics, which helps to diploma in computer engineering, DCA BCA, BE computer science student's to improve study in computer graphics.
This presentation will introduce you to Raster details in computer graphics.
---------------------------------------------------------------------------
Do Not just learn computer graphics an close your computer tab and go away..
APPLY them in real business,
Visit Daroko blog for real IT skills applications,androind, Computer graphics,Networking,Programming,IT jobs Types, IT news and applications,blogging,Builing a website, IT companies and how you can form yours, Technology news and very many More IT related subject.
-simply google:Daroko blog(professionalbloggertricks.com)
• Daroko blog (www.professionalbloggertricks.com)
• Presentation by Daroko blog, to see More tutorials more than this one here, Daroko blog has all tutorials related with IT course, simply visit the site by simply Entering the phrase Daroko blog (www.professionalbloggertricks.com) to search engines such as Google or yahoo!, learn some Blogging, affiliate marketing ,and ways of making Money with the computer graphic Applications(it is useless to learn all these tutorials when you can apply them as a student you know),also learn where you can apply all IT skills in a real Business Environment after learning Graphics another computer realate courses.ly
• Be practically real, not just academic reader
Notes for Mechanical and Computer science Students,
In the Notes Including the Basic to algo and transformation in Computer grafics Pixels, it is a important topic
presentation By Daroko blog-where IT learners Apply skills.
This topic an presentation will introduce you to Computer graphics hardware types.
---------------------------------
• Daroko blog (www.professionalbloggertricks.com)
• Presentation by Daroko blog, to see More tutorials more than this one here, Daroko blog has all tutorials related with IT course, simply visit the site by simply Entering the phrase Daroko blog (www.professionalbloggertricks.com) to search engines such as Google or yahoo!, learn some Blogging, affiliate marketing ,and ways of making Money with the computer graphic Applications(it is useless to learn all these tutorials when you can apply them as a student you know),also learn where you can apply all IT skills in a real Business Environment after learning Graphics another computer realate courses.ly
• Be practically real, not just academic reader
Do Not just learn computer graphics an close your computer tab and go away..
APPLY them in real business,
Visit Daroko blog for real IT skills applications,androind, Computer graphics,Networking,Programming,IT jobs Types, IT news and applications,blogging,Builing a website, IT companies and how you can form yours, Technology news and very many More IT related subject.
-simply google:Daroko blog(professionalbloggertricks.com)
Computer Graphics and its applications, Elements of a Graphics, Graphics Systems: Video Display Devices, Raster Scan Systems, Random Scan Systems, Input devices.
: Introduction of Rendering, Raytracing, Antialiasing, Fractals
Do Not just learn computer graphics an close your computer tab and go away..
APPLY them in real business,
Visit Daroko blog for real IT skills applications,androind, Computer graphics,Networking,Programming,IT jobs Types, IT news and applications,blogging,Builing a website, IT companies and how you can form yours, Technology news and very many More IT related subject.
-simply google:Daroko blog(professionalbloggertricks.com)
• Daroko blog (www.professionalbloggertricks.com)
• Presentation by Daroko blog, to see More tutorials more than this one here, Daroko blog has all tutorials related with IT course, simply visit the site by simply Entering the phrase Daroko blog (www.professionalbloggertricks.com) to search engines such as Google or yahoo!, learn some Blogging, affiliate marketing ,and ways of making Money with the computer graphic Applications(it is useless to learn all these tutorials when you can apply them as a student you know),also learn where you can apply all IT skills in a real Business Environment after learning Graphics another computer realate courses.ly
• Be practically real, not just academic reader
An efficient VLSI architecture implementation for barrel distortion correction in surveillance camera images is presented. The distortion correction model is based on least squares estimation method. To reduce the computing complexity, an odd-order polynomial to approximate the back-mapping expansion polynomial is used. By algebraic transformation, the approximated polynomial becomes a monomial form which can be solved by Horner’s algorithm. The proposed VLSI architecture can achieve frequency 218MHz with 1490 logic elements by using 0.18μm technology. Compared with previous techniques, the circuit reduces the hardware cost and the requirement of memory usage.
presentation By Daroko blog-where IT learners Apply skills.
This topic an presentation will introduce you to Computer graphics hardware types.
---------------------------------
• Daroko blog (www.professionalbloggertricks.com)
• Presentation by Daroko blog, to see More tutorials more than this one here, Daroko blog has all tutorials related with IT course, simply visit the site by simply Entering the phrase Daroko blog (www.professionalbloggertricks.com) to search engines such as Google or yahoo!, learn some Blogging, affiliate marketing ,and ways of making Money with the computer graphic Applications(it is useless to learn all these tutorials when you can apply them as a student you know),also learn where you can apply all IT skills in a real Business Environment after learning Graphics another computer realate courses.ly
• Be practically real, not just academic reader
Do Not just learn computer graphics an close your computer tab and go away..
APPLY them in real business,
Visit Daroko blog for real IT skills applications,androind, Computer graphics,Networking,Programming,IT jobs Types, IT news and applications,blogging,Builing a website, IT companies and how you can form yours, Technology news and very many More IT related subject.
-simply google:Daroko blog(professionalbloggertricks.com)
Computer Graphics and its applications, Elements of a Graphics, Graphics Systems: Video Display Devices, Raster Scan Systems, Random Scan Systems, Input devices.
: Introduction of Rendering, Raytracing, Antialiasing, Fractals
Do Not just learn computer graphics an close your computer tab and go away..
APPLY them in real business,
Visit Daroko blog for real IT skills applications,androind, Computer graphics,Networking,Programming,IT jobs Types, IT news and applications,blogging,Builing a website, IT companies and how you can form yours, Technology news and very many More IT related subject.
-simply google:Daroko blog(professionalbloggertricks.com)
• Daroko blog (www.professionalbloggertricks.com)
• Presentation by Daroko blog, to see More tutorials more than this one here, Daroko blog has all tutorials related with IT course, simply visit the site by simply Entering the phrase Daroko blog (www.professionalbloggertricks.com) to search engines such as Google or yahoo!, learn some Blogging, affiliate marketing ,and ways of making Money with the computer graphic Applications(it is useless to learn all these tutorials when you can apply them as a student you know),also learn where you can apply all IT skills in a real Business Environment after learning Graphics another computer realate courses.ly
• Be practically real, not just academic reader
An efficient VLSI architecture implementation for barrel distortion correction in surveillance camera images is presented. The distortion correction model is based on least squares estimation method. To reduce the computing complexity, an odd-order polynomial to approximate the back-mapping expansion polynomial is used. By algebraic transformation, the approximated polynomial becomes a monomial form which can be solved by Horner’s algorithm. The proposed VLSI architecture can achieve frequency 218MHz with 1490 logic elements by using 0.18μm technology. Compared with previous techniques, the circuit reduces the hardware cost and the requirement of memory usage.
This ppt explains basic topics of computer graphics like - pixel, resolution, text mode, graphics mode, various types of displays, applications of computer graphics etc.
This is a primer on some of the foundations of 3D math used in computer graphics programming. This is the version of the talk from CocoaConf Chicago 2015.
- Depression symptoms, how do you know you are depressed?, How to identify depression?
- Anxiety symptoms, How to identify anxiety
- Eating disorder
- Addiction illicit drugs
WHAT TO DO?
Introduction to machine learningunsupervised learningSardar Alam
Introduction to Machine learning and unsupervised learning by Andrew Ng is an Associate Professor at Stanford; Chief Scientist of Baidu; and Chairman and Co-Founder of Coursera. intresting slides...its video lecture also on Coursera.
Check out the webinar slides to learn more about how XfilesPro transforms Salesforce document management by leveraging its world-class applications. For more details, please connect with sales@xfilespro.com
If you want to watch the on-demand webinar, please click here: https://www.xfilespro.com/webinars/salesforce-document-management-2-0-smarter-faster-better/
Understanding Globus Data Transfers with NetSageGlobus
NetSage is an open privacy-aware network measurement, analysis, and visualization service designed to help end-users visualize and reason about large data transfers. NetSage traditionally has used a combination of passive measurements, including SNMP and flow data, as well as active measurements, mainly perfSONAR, to provide longitudinal network performance data visualization. It has been deployed by dozens of networks world wide, and is supported domestically by the Engagement and Performance Operations Center (EPOC), NSF #2328479. We have recently expanded the NetSage data sources to include logs for Globus data transfers, following the same privacy-preserving approach as for Flow data. Using the logs for the Texas Advanced Computing Center (TACC) as an example, this talk will walk through several different example use cases that NetSage can answer, including: Who is using Globus to share data with my institution, and what kind of performance are they able to achieve? How many transfers has Globus supported for us? Which sites are we sharing the most data with, and how is that changing over time? How is my site using Globus to move data internally, and what kind of performance do we see for those transfers? What percentage of data transfers at my institution used Globus, and how did the overall data transfer performance compare to the Globus users?
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisGlobus
JASMIN is the UK’s high-performance data analysis platform for environmental science, operated by STFC on behalf of the UK Natural Environment Research Council (NERC). In addition to its role in hosting the CEDA Archive (NERC’s long-term repository for climate, atmospheric science & Earth observation data in the UK), JASMIN provides a collaborative platform to a community of around 2,000 scientists in the UK and beyond, providing nearly 400 environmental science projects with working space, compute resources and tools to facilitate their work. High-performance data transfer into and out of JASMIN has always been a key feature, with many scientists bringing model outputs from supercomputers elsewhere in the UK, to analyse against observational or other model data in the CEDA Archive. A growing number of JASMIN users are now realising the benefits of using the Globus service to provide reliable and efficient data movement and other tasks in this and other contexts. Further use cases involve long-distance (intercontinental) transfers to and from JASMIN, and collecting results from a mobile atmospheric radar system, pushing data to JASMIN via a lightweight Globus deployment. We provide details of how Globus fits into our current infrastructure, our experience of the recent migration to GCSv5.4, and of our interest in developing use of the wider ecosystem of Globus services for the benefit of our user community.
How to Position Your Globus Data Portal for Success Ten Good PracticesGlobus
Science gateways allow science and engineering communities to access shared data, software, computing services, and instruments. Science gateways have gained a lot of traction in the last twenty years, as evidenced by projects such as the Science Gateways Community Institute (SGCI) and the Center of Excellence on Science Gateways (SGX3) in the US, The Australian Research Data Commons (ARDC) and its platforms in Australia, and the projects around Virtual Research Environments in Europe. A few mature frameworks have evolved with their different strengths and foci and have been taken up by a larger community such as the Globus Data Portal, Hubzero, Tapis, and Galaxy. However, even when gateways are built on successful frameworks, they continue to face the challenges of ongoing maintenance costs and how to meet the ever-expanding needs of the community they serve with enhanced features. It is not uncommon that gateways with compelling use cases are nonetheless unable to get past the prototype phase and become a full production service, or if they do, they don't survive more than a couple of years. While there is no guaranteed pathway to success, it seems likely that for any gateway there is a need for a strong community and/or solid funding streams to create and sustain its success. With over twenty years of examples to draw from, this presentation goes into detail for ten factors common to successful and enduring gateways that effectively serve as best practices for any new or developing gateway.
Large Language Models and the End of ProgrammingMatt Welsh
Talk by Matt Welsh at Craft Conference 2024 on the impact that Large Language Models will have on the future of software development. In this talk, I discuss the ways in which LLMs will impact the software industry, from replacing human software developers with AI, to replacing conventional software with models that perform reasoning, computation, and problem-solving.
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar
The European Union Agency for Law Enforcement Cooperation (Europol) has suffered an alleged data breach after a notorious threat actor claimed to have exfiltrated data from its systems. Infamous data leaker IntelBroker posted on the even more infamous BreachForums hacking forum, saying that Europol suffered a data breach this month.
The alleged breach affected Europol agencies CCSE, EC3, Europol Platform for Experts, Law Enforcement Forum, and SIRIUS. Infiltration of these entities can disrupt ongoing investigations and compromise sensitive intelligence shared among international law enforcement agencies.
However, this is neither the first nor the last activity of IntekBroker. We have compiled for you what happened in the last few days. To track such hacker activities on dark web sources like hacker forums, private Telegram channels, and other hidden platforms where cyber threats often originate, you can check SOCRadar’s Dark Web News.
Stay Informed on Threat Actors’ Activity on the Dark Web with SOCRadar!
Designing for Privacy in Amazon Web ServicesKrzysztofKkol1
Data privacy is one of the most critical issues that businesses face. This presentation shares insights on the principles and best practices for ensuring the resilience and security of your workload.
Drawing on a real-life project from the HR industry, the various challenges will be demonstrated: data protection, self-healing, business continuity, security, and transparency of data processing. This systematized approach allowed to create a secure AWS cloud infrastructure that not only met strict compliance rules but also exceeded the client's expectations.
How Recreation Management Software Can Streamline Your Operations.pptxwottaspaceseo
Recreation management software streamlines operations by automating key tasks such as scheduling, registration, and payment processing, reducing manual workload and errors. It provides centralized management of facilities, classes, and events, ensuring efficient resource allocation and facility usage. The software offers user-friendly online portals for easy access to bookings and program information, enhancing customer experience. Real-time reporting and data analytics deliver insights into attendance and preferences, aiding in strategic decision-making. Additionally, effective communication tools keep participants and staff informed with timely updates. Overall, recreation management software enhances efficiency, improves service delivery, and boosts customer satisfaction.
We describe the deployment and use of Globus Compute for remote computation. This content is aimed at researchers who wish to compute on remote resources using a unified programming interface, as well as system administrators who will deploy and operate Globus Compute services on their research computing infrastructure.
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?XfilesPro
Worried about document security while sharing them in Salesforce? Fret no more! Here are the top-notch security standards XfilesPro upholds to ensure strong security for your Salesforce documents while sharing with internal or external people.
To learn more, read the blog: https://www.xfilespro.com/how-does-xfilespro-make-document-sharing-secure-and-seamless-in-salesforce/
In software engineering, the right architecture is essential for robust, scalable platforms. Wix has undergone a pivotal shift from event sourcing to a CRUD-based model for its microservices. This talk will chart the course of this pivotal journey.
Event sourcing, which records state changes as immutable events, provided robust auditing and "time travel" debugging for Wix Stores' microservices. Despite its benefits, the complexity it introduced in state management slowed development. Wix responded by adopting a simpler, unified CRUD model. This talk will explore the challenges of event sourcing and the advantages of Wix's new "CRUD on steroids" approach, which streamlines API integration and domain event management while preserving data integrity and system resilience.
Participants will gain valuable insights into Wix's strategies for ensuring atomicity in database updates and event production, as well as caching, materialization, and performance optimization techniques within a distributed system.
Join us to discover how Wix has mastered the art of balancing simplicity and extensibility, and learn how the re-adoption of the modest CRUD has turbocharged their development velocity, resilience, and scalability in a high-growth environment.
A Comprehensive Look at Generative AI in Retail App Testing.pdfkalichargn70th171
Traditional software testing methods are being challenged in retail, where customer expectations and technological advancements continually shape the landscape. Enter generative AI—a transformative subset of artificial intelligence technologies poised to revolutionize software testing.
Experience our free, in-depth three-part Tendenci Platform Corporate Membership Management workshop series! In Session 1 on May 14th, 2024, we began with an Introduction and Setup, mastering the configuration of your Corporate Membership Module settings to establish membership types, applications, and more. Then, on May 16th, 2024, in Session 2, we focused on binding individual members to a Corporate Membership and Corporate Reps, teaching you how to add individual members and assign Corporate Representatives to manage dues, renewals, and associated members. Finally, on May 28th, 2024, in Session 3, we covered questions and concerns, addressing any queries or issues you may have.
For more Tendenci AMS events, check out www.tendenci.com/events
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus
As part of the DOE Integrated Research Infrastructure (IRI) program, NERSC at Lawrence Berkeley National Lab and ALCF at Argonne National Lab are working closely with General Atomics on accelerating the computing requirements of the DIII-D experiment. As part of the work the team is investigating ways to speedup the time to solution for many different parts of the DIII-D workflow including how they run jobs on HPC systems. One of these routes is looking at Globus Compute as a way to replace the current method for managing tasks and we describe a brief proof of concept showing how Globus Compute could help to schedule jobs and be a tool to connect compute at different facilities.
Developing Distributed High-performance Computing Capabilities of an Open Sci...Globus
COVID-19 had an unprecedented impact on scientific collaboration. The pandemic and its broad response from the scientific community has forged new relationships among public health practitioners, mathematical modelers, and scientific computing specialists, while revealing critical gaps in exploiting advanced computing systems to support urgent decision making. Informed by our team’s work in applying high-performance computing in support of public health decision makers during the COVID-19 pandemic, we present how Globus technologies are enabling the development of an open science platform for robust epidemic analysis, with the goal of collaborative, secure, distributed, on-demand, and fast time-to-solution analyses to support public health.
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...informapgpstrackings
Keep tabs on your field staff effortlessly with Informap Technology Centre LLC. Real-time tracking, task assignment, and smart features for efficient management. Request a live demo today!
For more details, visit us : https://informapuae.com/field-staff-tracking/
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTier1 app
Even though at surface level ‘java.lang.OutOfMemoryError’ appears as one single error; underlyingly there are 9 types of OutOfMemoryError. Each type of OutOfMemoryError has different causes, diagnosis approaches and solutions. This session equips you with the knowledge, tools, and techniques needed to troubleshoot and conquer OutOfMemoryError in all its forms, ensuring smoother, more efficient Java applications.
Your Digital Assistant.
Making complex approach simple. Straightforward process saves time. No more waiting to connect with people that matter to you. Safety first is not a cliché - Securely protect information in cloud storage to prevent any third party from accessing data.
Would you rather make your visitors feel burdened by making them wait? Or choose VizMan for a stress-free experience? VizMan is an automated visitor management system that works for any industries not limited to factories, societies, government institutes, and warehouses. A new age contactless way of logging information of visitors, employees, packages, and vehicles. VizMan is a digital logbook so it deters unnecessary use of paper or space since there is no requirement of bundles of registers that is left to collect dust in a corner of a room. Visitor’s essential details, helps in scheduling meetings for visitors and employees, and assists in supervising the attendance of the employees. With VizMan, visitors don’t need to wait for hours in long queues. VizMan handles visitors with the value they deserve because we know time is important to you.
Feasible Features
One Subscription, Four Modules – Admin, Employee, Receptionist, and Gatekeeper ensures confidentiality and prevents data from being manipulated
User Friendly – can be easily used on Android, iOS, and Web Interface
Multiple Accessibility – Log in through any device from any place at any time
One app for all industries – a Visitor Management System that works for any organisation.
Stress-free Sign-up
Visitor is registered and checked-in by the Receptionist
Host gets a notification, where they opt to Approve the meeting
Host notifies the Receptionist of the end of the meeting
Visitor is checked-out by the Receptionist
Host enters notes and remarks of the meeting
Customizable Components
Scheduling Meetings – Host can invite visitors for meetings and also approve, reject and reschedule meetings
Single/Bulk invites – Invitations can be sent individually to a visitor or collectively to many visitors
VIP Visitors – Additional security of data for VIP visitors to avoid misuse of information
Courier Management – Keeps a check on deliveries like commodities being delivered in and out of establishments
Alerts & Notifications – Get notified on SMS, email, and application
Parking Management – Manage availability of parking space
Individual log-in – Every user has their own log-in id
Visitor/Meeting Analytics – Evaluate notes and remarks of the meeting stored in the system
Visitor Management System is a secure and user friendly database manager that records, filters, tracks the visitors to your organization.
"Secure Your Premises with VizMan (VMS) – Get It Now"
3. GPU
GPU computing is the use of a GPU (graphics
processing unit) together with a CPU to accelerate
general-purpose scientific and engineering
applications.
Pioneered five years ago by NVIDIA, GPU
computing has quickly become an industry standard.
CPU + GPU is a powerful combination because CPUs
consist of a few cores optimized for serial
processing, while GPUs consist of thousands of
smaller, more efficient cores designed for parallel
performance.
Serial portions of the code run on the CPU while
parallel portions run on the GPU.
5. THE CUDA
The CUDA parallel computing platform
provides a few simple C and C++ extensions
Its GeForce 256 GPU is capable of billions of
calculations per second, can process a
minimum of 10 million polygons per second,
and has over 22 million transistors, compared
to the 9 million found on the Pentium III.
6. Pixels and Frame
All modern displays are raster-based. A raster is a 2D
rectangular grid of pixels (or picture elements).
A pixel has two properties: a color and a position.
Color is expressed in RGB (Red-Green-Blue)
components - typically 8 bits per component or 24
bits per pixel (or true color).
The position is expressed in terms of (x, y)
coordinates. The origin (0, 0) is located at the top-left
corner, with x-axis pointing right and y-axis
pointing down.
This is different from the conventional 2D Cartesian
coordinates, where y-axis is pointing upwards.
7. The number of color-bits
per pixel is called
the depth (or precision) of
the display.
The number of rows by
columns of the
rectangular grid is called
the resolution of the
display, which can range
from 640x480 (VGA),
800x600 (SVGA),
1024x768 (XGA) to
1920x1080 (FHD), or
even higher.
8. Frame Buffer and Refresh Rate
The color values of the pixels are stored in a special
part of graphics memory called frame buffer.
The GPU writes the color value into the frame buffer.
The display reads the color values from the frame
buffer row-by-row, from left-to-right, top-to-bottom,
and puts each of the values onto the screen.
This is known as raster-scan.
The display refreshes its screen several dozen times
per second, typically 60Hz for LCD monitors and
higher for CRT tubes. This is known as the refresh
rate.
A complete screen image is called a frame.
9. Double Buffering and VSync
While the display is reading from the frame buffer to
display the current frame, we might be updating its
contents for the next frame (not necessarily in raster-scan
manner).
This would result in the so-called tearing, in which the
screen shows parts of the old frame and parts of the new
frame.
This could be resolved by using so-called double buffering.
Instead of using a single frame buffer, modern GPU uses
two of them: a front buffer and a back buffer.
The display reads from the front buffer, while we can write
the next frame to the back buffer. When we finish, we
signal to GPU to swap the front and back buffer (known
as buffer swap or page flip).
10. Double buffering alone does not solve the entire
problem, as the buffer swap might occur at an
inappropriate time, for example, while the
display is in the middle of displaying the old
frame.
This is resolved via the so-called vertical
synchronization (or VSync) at the end of the
raster-scan.
When we signal to the GPU to do a buffer swap,
the GPU will wait till the
next VSync to perform the
actual swap, after the entire
current frame is displayed.
11. The most important point is: When the VSync
buffer-swap is enabled, you cannot refresh
the display faster than the refresh rate of the
display!!!
For the LCD/LED displays, the refresh rate is
typically locked at 60Hz or 60 frames per
second, or 16.7 milliseconds for each frame.
12. 3D Graphics Rendering Pipeline
A pipeline, in computing terminology, refers
to a series of processing stages in which the
output from one stage is fed as the input of
the next stage, similar to a factory assembly
line or water/oil pipe.
With massive parallelism, pipeline can greatly
improve the overall throughput.
In computer graphics, rendering is the process
of producing image on the display from
model description.
13. The 3D graphics rendering pipeline consists
of the following main stages
14. Stage 1
Vertex Processing: Process and transform
individual vertices.
A vertex has attributes: position, color, vertex
Normal
15. Vertices
A vertex, in computer graphics, has these
attributes:
1. Position in 3D space V=(x, y, z): typically
expressed in floating point numbers.
2. Color: expressed in RGB (Red-Green-Blue) or
RGBA (Red-Green-Blue-Alpha) components.
16. Vertices continue…
Texture
we often wrap a 2D image to an object to make it
seen realistic.
A vertex could have a 2D texture coordinates (s, t),
which provides a reference point to a 2D texture
image.
17. Vertex-Normal
Vertex-Normal N=(nx, ny, nz):
the normal vector is perpendicular to
the surface.
Normals are used to differentiate the
front- and back-face, and for other
processing such as lighting.
Right-hand rule (or counter-clockwise)
is used in OpenGL. The
normal is pointing outwards,
indicating the outer surface (or
front-face).
18. In modern GPUs, the vertex processing stage
and fragment processing stage are
programmable.
You can write programs, known as vertex
shader and fragment shader to perform your
custom transform for vertices and fragments.
The shader programs are written in C-like
high level languages such as GLSL (OpenGL
Shading Language),
HLSL (High-Level Shading Language for
Microsoft Direct3D),
or Cg (C for Graphics by NVIDIA).
19. Vertex Processing ….. In-depth
Coordinates Transformation
The process used to produce a 3D scene on the
display in Computer Graphics is like taking a
photograph with a camera.
It involves four transformations: next slide…..
20. 1. Arrange the objects (or models, or avatar) in the
world (Model Transformation orWorld
transformation).
2. Position and orientate the camera (View
transformation).
3. Select a camera lens (wide angle, normal or
telescopic), adjust the focus length and zoom
factor to set the camera's field of view
(Projection transformation).
4. Print the photo on a selected area of the paper
(Viewport transformation) - in rasterization
stage
A transform converts a vertex V from one space (or coordinate system) to another
space V'. In computer graphics, transform is carried by multiplying the vector with
a transformation matrix, i.e., V' = M V.
21. Model Transform (or Local Transform, or World
Transform)
Each object (or model or avatar) in a 3D scene
is typically drawn in its own coordinate
system, known as its model space (or local
space, or object space).
22. Model Transform (or Local Transform, or World
Transform) cont…
As we assemble the objects, we need to
transform the vertices from their local spaces
to the world space, which is common to all
the objects. This is known as the world
transform.
The world transform consists of a series of
scaling (scale the object to match the
dimensions of the world), rotation (align the
axes), and translation (move the origin).
23. In OpenGL, a vertex V at (x, y, z) is
represented as a 3x1 column vector:
Other systems, such as Direct3D, use a row
vector to represent a vertex.
24. Scaling
3D scaling can be represented in a 3x3 matrix:
where αx, αy and αz represent the scaling
factors in x, y and z direction, respectively.
If all the factors are the same, it is
called uniform scaling.
25. Scaling count..
We can obtain the transformed result V' of
vertex V via matrix multiplication, as follows:
26. Rotation
3D rotation operates about an axis of
rotation (2D rotation operates about a center
of rotation). 3D Rotations about
the x, y and z axes for an angle θ (measured in
counter-clockwise manner) can be
represented in the following 3x3 matrices:
The rotational angles about x, y and z axes, denoted as θx, θy and θz, are known
as Euler angles, which can be used to specify any arbitrary orientation of an object.
The combined transform is called Euler transform.
27. Translation
Translation does not belong to linear
transform, but can be modeled via a vector
addition, as follows:
28. Fortunately, we can represent translation using a
4x4 matrices and obtain the transformed result
via matrix multiplication, if the vertices are
represented in the so-called 4-
component homogenous coordinates (x, y, z, 1),
with an additional forth w-component of 1.
The significance of the w-component later in
projection transform.
In general, if the w-component is not equal to 1,
then (x, y, z, w) corresponds to Cartesian
coordinates of (x/w, y/w, z/w). If w=0, it
represents a vector, instead of a point (or vertex).
29. Using the 4-component homogenous
coordinates, translation can be represented
in a 4x4 matrix, as follows:
30. The transformed vertex V' can again be
computed via matrix multiplication:
32. Transformation of Vertex-Normal
Recall that a vector has a vertex-normal, in
addition to (x, y, z) position and color.
Suppose that M is a transform matrix, it can be
applied to vertex-normal only if the transforms
does not include non-uniform scaling.
Otherwise, the transformed normal will not be
orthogonal to the surface. For non-uniform
scaling, we could use (M-1)T as the transform
matrix, which ensure that the transformed
normal remains orthogonal.
33. View Transform
After the world transform, all the objects are
assembled into the world space. We shall now
place the camera to capture the view.
34. Positioning the Camera
In 3D graphics, we position the camera onto
the world space by specifying three view
parameters: EYE, AT and UP, in world space.
The point EYE (ex, ey, ez) defines the location
of the camera.
35. Positioning the Camera
The vector AT (ax, ay, az) denotes the direction
where the camera is aiming at, usually at the
center of the world or an object.
36. Positioning the Camera
The vector UP (ux, uy, uz) denotes the upward orientation
of the camera roughly. UP is typically coincided with the
y-axis of the world space.
UP is roughly orthogonal to AT, but not necessary. As UP
and AT define a plane, we can construct an orthogonal
vector to AT in the camera space.
37. In OpenGL, we can use the GLU
function gluLookAt() to position the camera:
The default settings of gluLookAt() is:
That is, the camera is positioned at the origin (0, 0, 0), aimed into the screen
(negative z-axis), and faced upwards (positive y-axis). To use the default settings,
you have to place the objects at negative z-values.
38. Computing the Camera Coordinates
From EYE, AT and UP, we first form the coordinate
(xc, yc, zc) for the camera, relative to the world space. We
fix zc to be the opposite of AT, i.e., AT is pointing at the -
zc. We can obtain the direction of xc by taking the cross-product
of AT and UP. Finally, we get the direction
of yc by taking the cross-product of xc and zc. Take note
that UP is roughly, but not necessarily, orthogonal to AT.
39. Transforming from World Space to
Camera Space
Now, the world space is represented by
standard orthonormal bases (e1, e2, e3),
where e1=(1, 0, 0), e2=(0, 1, 0) and e3=(0, 0, 1),
with origin at O=(0, 0, 0). The camera space
has orthonormal bases (xc, yc, zc) with origin
at EYE=(ex, ey, ez).
It is much more convenience to express all
the coordinates in the camera space. This is
done via view transform.
40. The view transform consists of two
operations: a translation (for moving EYE to
the origin), followed by a rotation (to axis the
axes):
41. The View Matrix
We can combine the two operations into one
single View Matrix:
42. Model-View Transform
In Computer Graphics, moving the objects
relative to a fixed camera (Model transform),
and moving the camera relative to a fixed
object (View transform) produce the same
image, and therefore are equivalent.
OpenGL, therefore, manages the Model
transform and View transform in the same
manner on a so-called Model-View matrix.
Projection transformation (in the next
section) is managed via a Projection matrix.