rasterizing Questions
6
Solved
I need to create a binary bitmap from a closed 2D polygon represented as a list of points. Could you please point me to efficient and sufficiently simple algorithms to do that, or, even better, som...
Heliotaxis asked 27/8, 2009 at 14:13
1
Solved
Prologue:
This is Q&A to cover 3D triangle rasterization into voxel grid I was asked for in order to solve a different problem related to material erosion/removal during manufactoring process s...
Fabled asked 30/10, 2022 at 8:43
9
Is there any easy (scriptable) way to convert a PDF with vector images into a PDF with raster images? In other words, I want to generate a PDF with the exact same (un-rasterized) text but with each...
Spector asked 7/3, 2012 at 19:19
2
Solved
I've seen fixes for some lagyness issues by setting the layer property of the view
view.layer.shouldRasterize = YES;
I saw a great difference in performance when using a UICollectionView and pre...
Joyce asked 16/10, 2013 at 14:10
3
Solved
I'm trying to fix this triangle rasterizer, but cannot make it work correctly. For some reason it only draws half of the triangles.
void DrawTriangle(Point2D p0, Point2D p1, Point2D p2)
{
Point2D...
Franklyn asked 24/10, 2011 at 1:22
3
Bresenham's line drawing algorithm is well known and quite simple to implement.
While there are more advanced ways to draw anti-ailesed lines, Im interested in writing a function which draws a sin...
Railroader asked 17/12, 2016 at 6:27
2
Solved
Prologue
I finally got around HW incompatibility between AT32UC3xxxxx and SSD1306 OLED I2C display (both have HW bugs making them incompatible) allowing me to use HW I2C at 400KBaud (~26.6ms per fr...
Shuster asked 6/3, 2021 at 8:45
3
Solved
i'm thinking about rasterization triangle algorithm. ( triangle_rasterization_lesson )
I wtote the following code:
void triangle(int xa, int ya, int xb, int yb, int xc, int yc, TGAImage &imag...
Transferor asked 19/8, 2016 at 11:55
3
I'm using position: fixed in my site to fix the navigation bar in the view port, just like facebook's blue bar, but when we tried it on mobile/tablet devices (with their low processing powers) this...
Dawna asked 1/7, 2013 at 17:30
1
Solved
I'm drawing several ggplot2 objects and placing them on a grid.arrange inside a call to a 'pdf' device. I've found that the PDF performs about a billion times better (generates faster, renders fast...
Jorrie asked 28/4, 2016 at 20:2
2
Solved
I use R to analyse data, ggplot to create plots, tikzDevice to print them and finally latex to create a report. THe problem is that large plots with many points fail due to the memory limit of late...
Communicant asked 5/2, 2017 at 22:28
2
When drawing a line with Bresenham line drawing algorithm,
where the line may not be within the bounds of the bitmap being written to - it would be useful to clip the results so they fit within the...
Manx asked 30/11, 2016 at 9:32
1
Solved
After doing some research on rasterisation and ray tracing. I have discovered that there is not much information on how CPUs work for ray-tracing available on the internet. I came across and articl...
Kathie asked 25/6, 2016 at 14:49
2
Using phantomjs, is there a way to control the DPI setting used when rasterizing an image of the web content using the page.render(filename) method?
I can't find anything that would control this v...
Lewls asked 7/6, 2012 at 16:51
2
Solved
For collision testing I need to raster a line. The bresenham algorithm works almost as desired, but has the flaw that is produces a line like:
And I need:
My current implementation (based on h...
Airlia asked 24/11, 2012 at 16:7
6
Solved
I try to draw a round rectangle with drawRoundedRect method directly in a QPixmap (no render engine involve here exept pure Qt one ...), I double check the size of the rectangle versus the size of ...
Stormy asked 28/6, 2011 at 13:51
0
OpenGL pixels/fragments are conceptually 1x1 squares centered on half-integer pixels. The OpenGL 4.5 specification states:
A fragment is located by its lower left corner, which lies on integer
...
Horal asked 23/8, 2014 at 0:30
1
I am using GhostScript.Net to rasterize PDF to page images before sending the page images to the printer. I am doing this so that I can always rasterize to 300dpi. This allows me to print the PDF i...
Coppins asked 6/8, 2014 at 18:19
2
Can anybody explain how rendering differs from rasterization especially in the context of font rendering (why not font rasterization)?
Can rendering be called a special technique (like greyscale ...
Subduct asked 3/4, 2013 at 19:36
1
Solved
I have a shapefile downloaded from the worldwildlife.org for the terrestrial ecoregions of the world. The file can be loaded here: http://worldwildlife.org/publications/terrestrial-ecoregions-of-th...
Stokes asked 20/2, 2013 at 23:54
1
Solved
For an article I am generating plots of deformed finite element meshes, which I visualize using matplotlib's polycollection. The images are saved as pdf.
Problems arise for high density meshes, fo...
Biparty asked 25/12, 2012 at 17:43
1
Solved
What is the general algorithm of rasterizing vector image? I've found a lot of algorithms of rasterizing primitives such as lines, circles, Bezier curves etc. But for general, what should I do? Sim...
Denny asked 29/11, 2011 at 15:26
1
Solved
I'm trying to render the primitives in a normal fill mode, then as a wire frame.
Render Code:
glClear(GL_COLOR_BUFFER_BIT);
glClearColor(0.9f, 0.9f, 0.9f, 1);
// reset matrix
glLoadIdentity();
//...
Uninterested asked 7/11, 2012 at 2:57
1
Solved
I want to map textures with correct perspective for 3D rendering. I am using barycentric coordinates to locate points on the faces of triangles. Simple affine transformation gave me that standard, ...
Goodly asked 10/9, 2012 at 21:57
1
Solved
I need to find all points that are on a line. I tried Bresenham's algorithm but it doesn't work on the following case:
(0, 0)
.-----------+-----------+-----------.
|...........| | |
|...........|...
Lugger asked 4/5, 2011 at 15:21
1 Next >
© 2022 - 2024 — McMap. All rights reserved.