Questions tagged [rasterizing]

Rasterization (or rasterization) is the task of taking an image described in a vector graphics format (shapes) and converting it into a raster image (pixels or dots) for output on a video display or printer, or for storage in a bitmap file format.

In normal usage, the term refers to the popular rendering algorithm for displaying three-dimensional shapes on a computer. Rasterization is currently the most popular technique for producing real-time 3D computer graphics. Real-time applications need to respond immediately to user input, and generally need to produce frame rates of at least 30 frames per second to achieve smooth animation.

Definition

278 questions
0
votes
0 answers

Triangle rasterizer using change of basis

My triangle rasterization program works as-is, but I would like to make it easier to use by specifying explicit coordinates instead of differentials. Unfortunately, I don't know how to calculate the necessary change-of-basis matrix. This can be seen…
0
votes
1 answer

Using Scene's shouldRasterize Property

Most of my game's levels are bigger than the screen size, so the camera follows the player around the level. The level is populated with several objects, such as platforms and mines. Looking at the level as a whole, these platforms and mines don't…
claassenApps
  • 1,137
  • 7
  • 14
0
votes
1 answer

Rasterizing Paths data from Photoshop file

I was able to read the paths data from a Photoshop file.Photoshop File Format. The curves bezier curves. I want to convert this data into pixel format. How do i do this?.
Magellan
  • 71
  • 1
  • 2
  • 11
0
votes
3 answers

How do fragments get generated by rasterizer in OpenGL

I came across the description of rasterization and it basically says that when an object gets projected onto screen that what happens is that a scan takes place over all the pixels on the window/screen and decides if the pixel/fragment is within the…
0
votes
1 answer

Animation and Scrolling Performance Seriously Lagging Using CAShapeLayers for Masking

I'm asking this question as a last resort because any solution I've found and tried has yet to produce a positive result. I am designing an app where a user can manipulate a UIView and make a custom shape that is defined by a UIBezierPath. Without…
Pierce
  • 3,148
  • 16
  • 38
0
votes
2 answers

MKPolygon performance problem

I have created a whole heap of overlays using MKPolygon and created into a MKPolygonView. This works fine but one of the overlays has a butt load of points (about 800 points) and this causes memory and performance issues. I tried shouldRasterize on…
Rudiger
  • 6,749
  • 13
  • 51
  • 102
0
votes
0 answers

Rasterize 3D line

I am trying to find an algorithm for 3D line segment rasterization. Bresenham's algorithm seems like it's almost what I want but it doesn't compute any Z values. Does anyone know if there is a way to extend Bresenham's algorithm or maybe a different…
0
votes
1 answer

OpenGL or Rasterizer for playing SVG

I am planning to write a SVG player. To have the animation run at 20 frames/second I want to generate images at that rate and throw it at the screen. Now to do this what would be a better option, whether to convert the SVG into a OPenGL sequence or…
Raks
  • 71
  • 1
  • 6
0
votes
1 answer

Is there a way to avoid the divison by 0 while rasterizing?

I am working on a project for which I have to compute the screen coordinates of a given world point. I read some material and organized this task into four subtasks: Multiply the world point with the inverse TRS-matrix of my camera to receive the…
liquid.pizza
  • 505
  • 1
  • 10
  • 26
0
votes
0 answers

fast rasterisation and colorization of 2D polygons of known shape to an image file

The shape and positions of all the polygons are known beforehand. The polygons are not overlapping and will be of different colors and shapes, and there could be quite many of them. The polygons are defined in floating point based coordinates and…
Erik Sjölund
  • 10,690
  • 7
  • 46
  • 74
0
votes
1 answer

How to make a map from text file and set background of it as country in matlab

I want to make color map from text file which contains three columns( 1st is latitude, 2nd is longitude, 3rd is temperature). I have accessed to this code which reading and creating color map from text file (1-1000.text) fid = fopen('1-1000.txt'); …
0
votes
2 answers

PhantomJs prints SVG source code instead of rendering it

I have set up a new Windows machine where I would like to rasterize a bunch of SVG documents to PNG images. I have simplified Ariya Hidayat's rasterize script to this : var page = require('webpage').create(), system = require('system'), fs…
Bruno Pérel
  • 575
  • 6
  • 21
0
votes
2 answers

Converting Vector to Raster on the fly in either ColdFusion or Javascript

I would like to know if it's possible to convert .eps, .ai, and/or .pdf vector graphics into something I can display on a webpage like .png? I've tried using...
0
votes
2 answers

Rasterization with Javascript looks different on Apache server

I am using phantomjs to rasterize an html page that I'm creating dynamically with javascript/php. It looks fine when testing on my localhost, but when testing on an apache server, it appears to blow the image up, causing it to be formatted wrong…
jdelong
  • 71
  • 1
  • 6
0
votes
2 answers

Omit off-screen triangles

I am creating a simple little software 3D engine. Right now a polygon doesn't render if all of the vertexes are outside of the frustum, that's all fine and good until you are close to the polygon and all the vertexes are off the screen but the…
user1826677
  • 29
  • 1
  • 2