Hot answers tagged

2 votes
Accepted

How Anisotropic filtering works

Anisotropic filtering (and any other filtering process) will respect the base/max level settings for the texture they're fetching from. So as long as those settings are properly provided, it will ...
user avatar
  • 8,101
2 votes
Accepted

what is the output from rasterizer

You are correct in your understanding that the rasterizer produces fragments. Each fragment can be thought of as a quasi-pixel, in that geometry may generate more than one fragment for the same pixel (...
user avatar
  • 156
2 votes
Accepted

How to get coordinates of opposite direction from mouse release point relative to a point?

Assuming you're doing spline curves: Let p be the point at the end of your curve (the one marked with a solid square above). Let h be your handle point (the one denoted as such). The vector from p to ...
user avatar
  • 36
1 vote

Why is there a straight line between my bezier paths?

IIRC in another question, your said your Point class actually uses float x,y; for the coordinates. So one thing that can help is to shift the centers (the "...
user avatar
  • 1,098
1 vote

3D head mesh morphing from one mesh into another using coding

One method, probably the easiest. Is to have a one to one association of vertices in 1 model (model A) with vertices in the other model(model B). To do the morph look up the two vertices and lerp ...
user avatar
  • 2,094
1 vote

How to detect when left mouse button is released in GLUT after being held in motion?

One common method is to store the LAST mouse button pressed and then test if the last state was not pressed compared to the current state. E.g. ...
user avatar
  • 2,234
1 vote

How to get coordinates of opposite direction from mouse release point relative to a point?

One way to approach this topic that can help is to distinguish between points and vectors as distinct types and make sure your operations fit into one of the "known good" scenarios: Point + ...
user avatar
  • 1,098
1 vote

Is it possible to convert Polar to Cartesian coordinates and map result to an image using opengl?

You'd be doing a change of coordinates from polar to Cartesian; at output point $(x,y)$ draw polar coordinate $(\theta = 2 \pi x, r = y)$. The coordinates in a unit circle drawn in the input image are ...
user avatar
  • 811
1 vote

what is the output from rasterizer

In general, a rasterizer converts a vector description of an image to a raster description, like converting (centerx centery radius color) to a bitmap of a shaded circle. Literally, the rasters are ...
user avatar
  • 1,098

Only top scored, non community-wiki answers of a minimum length are eligible