7 Answered Questions for the topic Graphics
Graphics Geometry
06/20/19
How do you check for intersection between a line segment and a line ray emanating from a point at an angle from horizontal?
Given a line segment, that is two points (x1,y1) and (x2,y2), one point P(x,y) and an angle theta. How do we find if this line segment and the line ray that emanates from P at an angle theta from...
more
How do you find a point at a given perpendicular distance from a line?
I have a line that I draw in a window and I let the user drag it around. So, my line is defined by two points: (x1,y1) and (x2,y2). But now I would like to draw "caps" at the end of my line, that...
more
How do you calculate the axis-aligned bounding box of an ellipse?
If the major axis of the ellipse is vertical or horizontal, it's easy to calculate the bounding box, but what about when the ellipse is rotated?
The only way I can think of so far is to calculate...
more
How do you calculate the angle between two normals in glsl?
How do you calculate the angle between two normals in glsl? I am trying to add the fresnel effect to the outer edges of an object (combining that effect with phong shading), and I think that the...
more
04/10/19
Should I include funny pictures in my slides?
I am preparing slides for a short (10min) talk at the group meeting. The talk is about a fairly serious piece of (pure) mathematics, and it so happens that there is a very relevant one-panel...
more
08/14/17
how many gb required to download auto desk 2016 free student version where can i download
how to download auto desk 2016 free student version please help
08/07/15
How does a Ball object draw itself onto a panel in a different class?
A) The Ball object's image gets drawn in the containing class, not in the Ball class.B) By passing its information to the other class so that class can draw it on the panel there.C) By drawing on...
more
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.