geometry
Screen-space square looking distorted in PIX
I have a simple function that creates a square that covers the entire screen, I use it for applying post-processing effects, however as far as I can tell it has been the cause of countless errors.[详细]
2023-03-31 05:26 分类:问答iPhone Animated Sphere
I would like to build a sphere in opengles 2.0 that is animated. Basically I want to have a transparent sphere on which I have small images moving around randomly. I know how to make a sphere and to m[详细]
2023-03-31 04:55 分类:问答Resizing Geometries/GeometryDrawings
I\'m drawing some primitives in Geometry form (\"F1 M 77,92L 704,92L 704,517L 77,517L 77,92 Z\" i.e.), storing them in GeometryDrawings and displaying by use of DrawingVisuals and object inherited fro[详细]
2023-03-31 04:52 分类:问答iPhone - Defining a MKMapRect with 2 MKMapPoint
How would you build the simpliest way a MKMapRect with 2 MKMapPoints, assuming that you don\'t know wh开发者_运维百科ere are those points (the first can be lower or upper, more on the left or the righ[详细]
2023-03-31 03:45 分类:问答What is the fastest way to detect two points in 2D space with biggest distance between them?
I need to get two points that have biggest distance between.开发者_高级运维 The easiest method is to compute distance between each of them, but that solution would have an quadratic complexity.[详细]
2023-03-30 22:58 分类:问答How to compute the visible area based on a heightmap?
I have a heightmap.I want to efficiently compute which tiles in it are visible from an eye at any given location and height.[详细]
2023-03-30 03:13 分类:问答How to calculate a tangent line for a given point in painter path?
Given a generic QPainterPath and a generic QPointF contained by the path how can one calculate a tangent line on that point? There\'s no standard way to do that with Qt API and my开发者_如何学C search[详细]
2023-03-30 02:15 分类:问答Calculate straight line from scattered points
I have some scattered 3D points (2d solution is sufficient). I want find different straight lines passing through (at least three points makes开发者_运维知识库 line) which are laying nearby (say for e[详细]
2023-03-29 19:40 分类:问答circular images?
I am making a site with PHP where users upload images for their profile. I already have that working just fine. However, I want the users images to be circles. From what I have read I believe that I c[详细]
2023-03-29 17:12 分类:问答Compare two user defined curves and score their similarity
I have a set of 2 curves (each with a few hundreds to a couple thousands datapoints) that I want to compare and get some similarity \"score\". Actually, I have >100 of those sets to compare... I am fa[详细]
2023-03-29 15:03 分类:问答