Questions tagged [rendering]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
8
votes
1answer
780 views

How should I fill a shape consisting of Bezier curves and straight lines?

I have been working on a graphics library for some time now and have gotten to the point where I have to draw Bezier and line based fonts. Up to this point I am stuck with this: The green lines are ...
9
votes
3answers
801 views

What are the usages of software rasterization in modern game engines?

I am taking a Computer Graphics course this quarter. One of our lab project is about software rasterization. Now I am planing the project proposal and thinking about how to make it useful for other ...
2
votes
0answers
252 views

Projecting light shapes

I am wondering how professional light visualizer software (like Capture Argo - WYSIWYG - Realizzer - LightConverse) project the lights on the objects (like stage, floor, people), even projecting the ...
6
votes
2answers
568 views

Best technique to draw overlapping colored line segments that follow the same route

I'm not too versed in computer graphics so my question may be vague. I'm given a sequence of GPS coordinates which I draw on an iOS map, and they define bus routes. Some of the bus routes happen to ...
16
votes
3answers
5k views

Difference between rendering in OpenGL and 3D animation software

With OpenGL and such I can render some pretty amazing looking things in "real time" 60 FPS. However, if I try to make a video of that same scene in let's say Maya, or 3ds Max it would take MUCH MUCH ...
29
votes
2answers
14k views

How can virtual texturing actually be efficient?

For reference, what I'm referring to is the "generic name" for the technique first(I believe) introduced with idTech 5's MegaTexture technology. See the video here for a quick glance on how it works. ...
11
votes
0answers
627 views

How correct is rendering in XYZ / linear RGB space?

I have a spectral power distribution (SPD, 5 nm steps) for all light sources in the scene and SPDs for the reflectance of all surfaces under any light / viewer angle in question. I'm going to ...
3
votes
1answer
186 views

First quad being re-used?

I had posted about this issue in a previous question, however, I thought instancing was causing it, whereas even using normal uniforms or a SSBO (which's what I'm using right now) causes it, which ...
10
votes
2answers
270 views

Why for perfect reflections a surface must have G2 continuity?

Why for perfect reflections a surface must have G2 continuity (class A surface)? I would like a mathematical answer.
4
votes
0answers
332 views

Incorrect instanced rendering

Previously, to render a bunch of quads, I was simply using a few uniforms (one for a model matrix and another for the texture layer ID). However, I'd rather not have to loop through each quad and set ...
4
votes
1answer
455 views

glMultiDrawArraysIndirect does not work when specifying an offset

I'm trying to use glMultiDrawArraysIndirect to render a batch of object. In my example I have a cube and a sphere (in this order) in a ...
7
votes
2answers
640 views

Moires patterns despite using mipmaps

I am working on Silverlight app. I am trying to render floor covered with tiles. Although I am using mip maps I am still getting awful Moire patterns, when trying to render big area. What I am doing ...
7
votes
2answers
166 views

To what degree, if at all, can custom code be embedded in a PNG, GIF, or JPG?

Computer graphics files are in Windows rendered by components such as the Graphics Device Interface and Direct2D. Is it possible to create a graphic file that, besides displaying a graphic also ...
1
vote
1answer
175 views

How to capture rendered frames from an application and stream over network

I'd like to know (if it is possible), how I would go about getting at the rendered frames from an application. For example, say I am using some 3D modelling tool (eg Blender, 3DS Max, Maya) and I ...
7
votes
1answer
3k views

Does PBR incur a performance penalty by design?

I am wondering if the various PBR models used in modern game engines for real time are heavier in terms of computation, that more classic approaches to rendering. Worded differently, is PBR just a ...
9
votes
2answers
1k views

Fundamentally, how are 2D bitmaps rendered?

Suppose we have a 64-bit word-addressable computer and we want to program it to output a 5x7 character stored as a binary image bitmap (such as the one below) to a memory-mapped display. Since we ...
6
votes
2answers
1k views

Is there some kind of Bresenham algorithm or equivalent for scanline rendering a rotated ellipse?

Back in the day when you often had to write your own low level rendering algorithms we all used to learn the Bresenham algorithms for lines and circles. It was almost trivially easy to extend the ...
1
vote
0answers
219 views

Is it possible to modify a console game graphics (Xbox 360)?

There's a thing called ENB for PC which works by modifying render functions calls of the games and applying additional effects. I wonder if there is a similar way for console games.
5
votes
1answer
372 views

Texture glitch when using simple pixel shader

I have an issue with rendering my textures in Silverlight. When I look at it from above everything looks fine: But if I only change angle of watching it it looks terrible: I am using very simple ...
11
votes
2answers
4k views

Physically based rendering and ray tracing

I've got a lot of confusion and I need to clarify some terminology and put together the knowledge. If I say that an engine is a ray tracer (so it uses the ray tracing algorithm to render the scene), ...
8
votes
1answer
2k views

What is “Object Space Lighting”?

Looking at Star Swarm, a demo for the Nitrous engine, I found this little line: "Nitrous uses Object Space Lighting, the same techniques used in film, including real-time film-quality motion blur." I ...
41
votes
4answers
25k views

Albedo vs Diffuse

Every time I think I understand the relationship between the two terms, I get more information that confuses me. I thought they were synonymous, but now I'm not sure. What is the difference between "...
4
votes
1answer
91 views

Is there a way for me to record every shading sample for a deep texture

Im developing a deep texture processing engine. Right now I have a software renderer to generate the raster samples. Now, for bigger renders it would be nice to do this on hardware. Is there a ...
4
votes
2answers
119 views

Is it possible to render red / blue 3d from one image and a depth buffer?

To render an image for use with red & blue 3d glasses, the usual way to do it is to render from one point of view, convert it to a single intensity (greyscale) value per pixel, and then put that ...
6
votes
2answers
1k views

How is texture baking implemented?

Suppose we already have UV coordinates assigned for mesh vertices, how is texture baking implemented? I guess it will be something like this: ...
7
votes
1answer
264 views

Matching a virtual camera to a physical camera

Say I've got a photograph of a scene, and measurements for part of it (eg. a room where I know the dimensions of the walls). Assuming a rectilinear lens, how would I go about setting up a virtual ...
19
votes
2answers
701 views

How do correlated samples influence the behavior of a Monte Carlo renderer?

Most descriptions of Monte Carlo rendering methods, such as path tracing or bidirectional path tracing, assume that samples are generated independently; that is, a standard random number generator is ...
9
votes
1answer
719 views

Trying to implement Microfacet BRDF but my result images are wrong

I am trying to implement microfacet BRDF model. I am reading Sebastien Lagarde's slides. I implemented formulas to my code but i think result image is wrong. Yellow is base color of material. ...
10
votes
1answer
2k views

Efficient rendering with many light sources

To render a scene with a single light source using phong shading, one can calculate the final color of each fragment passed into the fragment shader based on the ambient/diffuse/specular components of ...
14
votes
3answers
4k views

What are some methods to render transparency in OpenGL

Alpha blending can be turned on to make surfaces transparent, like so: ...
29
votes
3answers
4k views

Avoiding z-fighting with coincident surfaces

When rendering two overlapping co-planar surfaces, a common issue is "z-fighting", where the renderer can't decide which of the two surfaces is closer to the camera, giving visual artifacts in the ...
18
votes
2answers
2k views

What is the “dipole approximation” for subsurface scattering?

If you read papers about subsurface scattering, you'll frequently come across references to something called the "dipole approximation". This term seems to go back to the paper A Practical Model for ...
44
votes
3answers
21k views

When is a compute shader more efficient than a pixel shader for image filtering?

Image filtering operations such as blurs, SSAO, bloom and so forth are usually done using pixel shaders and "gather" operations, where each pixel shader invocation issues a number of texture fetches ...
10
votes
3answers
2k views

Why do Vertex Buffer Objects improve performance?

From my basic understanding, a Vertex Buffer Object works something like this (pseudo code): Normally, if one wanted to say, draw a square, one could issue line drawing commands. ...

1 2 3 4 5
6