Questions tagged [real-time]

For questions about computations subject to real-time constraints. The minimum framerate for a real-time illusion is usually considered to be around 24 frames per second. See also [interactive] for less strict constraints and [offline] for computations which will take significantly longer.

Filter by
Sorted by
Tagged with
0
votes
0answers
31 views

How to display image from CUDA / What API to port my project to for real-time raytracing?

I started a raytracing project using the python numba library which provides a just-in-time compiler for CUDA kernels. When the scene is rendered my result is a 1920 x 1080 x 3 RGB array in GPU memory....
1
vote
1answer
66 views

light probe (for global illumination) placement techniques?

I'm learning light probes used for dynamic global illumination. I have a question regarding the placement of light probes, as based on most of the pictures I have seen, they seem to be placed ...
2
votes
1answer
100 views

Downscaling texture via mipmap [DirectX 11]

I am implementing a post-processing effect in my DirectX 11 pet renderer. The post-processing pass is implemented by rendering a full-screen quad covered with texture containing original rendered ...
0
votes
1answer
62 views

How to draw depth-based volume in real-time

Normally when we talk about realistic transparent volumes, we care about refraction (and total internal reflection), and we care about scattering. But there's a much simpler case of volume ...
5
votes
0answers
114 views

Why is Forward Rendering/Shading named this way?

Forward rendering is the 'classic' approach to the rendering pipeline. Nowadays it is mostly replaced by a more flexible, deferred rendering approach. I did some research and had trouble finding ...
-1
votes
2answers
113 views

What is a list of common, cheap, real time rendering algorithms?

I am well aware of the existence of Blinn-Phong shading, which is a great tool when you are doing, for example, modelling algorithms and wan't to focus on the model. In this case a full BRDF result, ...
1
vote
1answer
31 views

Consistent animation speed across systems

I recently noticed that in all games, no matter what system you play on or what specs you have, your character will always move at the same speed even if there is no frame rate limit. I was wondering ...
4
votes
1answer
130 views

Benefits of Clustered Shading vs Tiled Shading?

The Unity Engine manual page Best Practice: Setting up the Lighting Pipeline has a section "Render pipelines" with an illustration of Tile Rendering and Cluster Rendering: The section then mentions:...
3
votes
1answer
146 views

Importance Sampling in Unreal Engine Formula Derivation (Irradiance term)

I am currently trying to understand IBL in Unreal Engine, and there are so much things that I don't understand about the formula. Unreal approximate the specular term of shading equation by doing ...
9
votes
1answer
1k views

Why do multiple Gaussian Blurs?

Applying multiple Gaussian blurs can result in an effect that is equivalent to a stronger Gaussian blur. For instance this question says that: Is doing multiple Gaussian blurs the same as doing one ...
2
votes
1answer
319 views

Radiosity normal map light baking

I'm trying to implement radiosity normal maps from the old Valve paper: Half-Life® 2 / Valve Source™ Shading.pdf | valvesoftware.com I've tried generating the light maps using Vray and 3dStudio max, ...
5
votes
1answer
132 views

Correct post-displacement normal calculation (Y-component and epsilon)

I often use a 2D Perlin noise texture to displace a grid in the vertex shader (e.g. terrain, ocean). However, every time I google the method to calculate post-displacement normals there is a slight ...
1
vote
0answers
66 views

Omnidirectional Faded Soft Shadows

I'm doing research to implement a shadow algorithm for omnidirectional soft shadows in a real-time 3D renderer. I've read about PCF but to me it doesn't look very realistic since it doesn't "fade" ...
6
votes
1answer
122 views

fix over exposure in importance sampling in screen space reflections

I am having my first encounter with the rendering of indirect reflections in the form of screen space reflections in a game engine, but i am struggling to get correct looking results. (patterns arise ...
4
votes
1answer
340 views

Advantages of spherical harmonics over baked vertex lighting?

My question is about spherical harmonic lightning, in the context of computing the coefficients with an expensive GI algorithm and passing them to the vertex shader Another way is to just use an ...
6
votes
0answers
217 views

How is Ambient Occlusion calculated in “Deep Screen Space”?

The paper (http://resources.mpi-inf.mpg.de/DeepScreenSpace/) just says that "The ambient occlusion contribution of a surfel to a pixel [..] as well as the influence radius [..] are computed ...
4
votes
1answer
210 views

What is better to use for real-time computing Mesh - Plane intersection points, GPU or CPU?

I want to write plugin (library) for Unity3d (it doesn't matter which framework I will choose for this, question is ), for cutting arbitrary mesh with plane (for simplicity it will be plane for ...
2
votes
0answers
47 views

Is this the correct interpretation of the separable SSS artistic model?

I'm trying to understand the separable subsurface scattering algorithm, but I'm a little confused on what the parameters mean from a notation and implementation standpoint, particularly for the ...
6
votes
1answer
584 views

Confused about prefiltering environment maps (Manson 16)

I'm working my way through this paper about GGX-filtering environment maps: http://www.ppsloan.org/publications/ggx_filtering.pdf I find myself stuck on the basics. In particular, I am confused by ...
7
votes
1answer
595 views

Subsurface Scattering Without Rays?

Some games claim to use subsurface scattering but my current understanding of sss is only achieved with ray tracing. How would you sub surface scatter without ray tracing? Do some claim to use sss but ...
4
votes
1answer
376 views

Phong: Real-time rendering of Metal and Plastic Materials

Using a shader that works like Phong, what would be the difference between painted Metal and plastic? I seem to remember reading in books years ago, that I no longer have access to, the following: ...
13
votes
4answers
741 views

Projected grid water horizon detail

I'm trying to implement an ocean scene with C++ and DirectX11. Currently I have a projected grid, Gerstner waves and a basic shading. My problem is that when I aim my camera horizontally, so I can see ...
1
vote
1answer
453 views

What framework shoud I use to implement the RAISR upscaling algorithm on the GPU?

I recently ran across the paper RAISR: Rapid and Accurate Image Super Resolution and thought it seemed like an interesting technique for scaling up images. However, I haven't seen any implementation ...
1
vote
1answer
751 views

Which technique is fast to generate real-time reflections?

I want to know about some technique with which i can generate nice reflections on the surface. I know one conventional technique where we invert an object and render it and blend it with the floor but ...
7
votes
2answers
774 views

Selection of GI techniques working in real time

I'm considering topic of my thesis connected with computer graphics - I would compare some GI techniques which work completely in real time (no precomputation to lightmaps etc. and each frame ...
4
votes
0answers
54 views

Is it possible to create a forced focus with a dual layer of images in order to Avoid eye strain with Virtual and Augmented Reality?

Would eye tracking allow for the alignment of a dual layered image (a google glass like device and a screen or projection) to provide a way to force the focus of the eyes into to a real life ...
4
votes
3answers
377 views

Texture coordinates projection

I have some classic texture coordinates and as a normal behaviour they follow the mesh's transformations. I am trying to use the same texture coordinates behaviour but without being affected by the ...
15
votes
3answers
7k views

Physically based shading - ambient/indirect lighting

I implemented a physically based path tracer after studying PBRT by M. Pharr and G. Humphreys. Now I'm trying to apply physically based rendering to real time graphics using OpenGL ES (in an iPhone ...
3
votes
1answer
211 views

Real time image based lighting for arbitrary BRDFs coordinate alignment

I was trying to understand how real-time illumination happens with image-based lighting. I understood that importance of representing the Environment Map and BRDF in spherical harmonics. Because ...
5
votes
2answers
4k views

How does vsync affect fps exactly when not at full vsync fps?

I know that if you turn of vsync, it synchronizes rendering with the vertical redraw cycle to prevent tearing, and that doing so caps your rendering rate (FPS) at the monitor refresh rate, which is ...
4
votes
1answer
64 views

In what order to apply lighting and translucency?

I'm making a game that is supposed to like like a early 90s 3D game, so i'm rendering in software on an 8-bit indexed bitmap, using lookup tables for translucency and lighting. Now I have to draw a ...
5
votes
2answers
3k views

What are the current open problems in Computer Graphics?

I did a quick investigation about the topic but there doesn't seem a decent resource to find related problems without digging into latest CG papers (unlike CS problems you can easily find a Wikipedia ...
1
vote
2answers
73 views

live music visualisation [closed]

Does anyone out there know of any software for developing real time visualisations and analysis of real time sound, say using a mike? I've found a few but none allow the user to build up their own ...
8
votes
2answers
233 views

How to create a patterned object with variable pattern density in real-time?

Assume there is some value p, calculated per-frame, that varies continuously over the surface of an object. The value of p ...
5
votes
1answer
147 views

Questions about Preconditioning Conjugate Gradient method in Baraff & Witkin 98?

I encountered some problems when implementing the cloth simulation algorithm from Baraff & Witkin 98's Large Steps in Cloth Simulation. Baraff & Witkin 98 Consider the cloth as a particle ...
5
votes
1answer
448 views

Methods for grid traversal in a glsl pixel shader?

I'm working on a shadertoy "snake" game, using the new multi pass rendering abilities to save game state between frames. I'm using raytracing to render the board (an AABB), and am planning on using ...
7
votes
1answer
563 views

How to implement a realtime 2D light renderer with fog/colored light on the GPU?

Since long ago I wanted to implement a 2D lightning algorithm based on an idea I saw on YouTube. The video is realtime, but it runs on the CPU and the resolution is pretty low. I'm curious if anyone ...
2
votes
0answers
235 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
1answer
1k views

Is doing multiple Gaussian blurs the same as doing one larger blur?

To make Gaussian blurring a 2d image faster, I know that you can do one axis and then the other. I'm wondering though, if I did two Gaussian blurs of size $N$, would that be the same mathematically ...
6
votes
1answer
215 views

Does prerendering actually help performance?

In PC game development, after loading models, textures, shaders, etc in a loading screen, some games will render the models once to an off screen target to make sure the driver and gpu have done all ...
7
votes
1answer
2k 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 ...
8
votes
1answer
1k 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 ...
7
votes
1answer
1k views

How to improve on bilateral upsampling in real time scenarios

It is a well known "standard" to use bilateral upscaling when it comes to comes to combine a low resolution target and an higher res one. I have personally noticed that using the basic algorithm (...
8
votes
2answers
70 views

Is there a way to achieve the look of a distant flock or shoal without full simulation?

Although simulation models like Boids give good results for bird flocks or fish shoals on a small scale, simulating every single member in real time becomes unrealistic for huge numbers. Is there a ...
5
votes
2answers
2k views

How to reduce the number of draw calls when rendering one object multiple times?

Especially when rendering particle effects, the same object needs to be rendered several times with slightly modified properties. But these changes are often limited to properties like pose or ...
4
votes
1answer
423 views

How does directional Gaussian blurring work?

In image editing software, you often have the ability to do a directional blur where you can choose and angle and a magnitude of a blur. How does this actually work in practice with Gaussian blurring?...
6
votes
1answer
2k views

How is motion blur implemented in modern realtime renderers?

When realtime renderers (such as 3d games) have motion blur, how is it usually implemented? I think I've heard something about needing to have motion vectors for each pixel but I'm not sure about ...
15
votes
1answer
1k views

How does state of the art real time hair rendering work?

It is common knowledge that hair simulation and rendering is particularly challenging and in fact rare are the examples in games that propose believable hairs. It is pretty easy to imagine how hard it ...
7
votes
2answers
522 views

Real-time translucency effect

While rendering my scene with OpenGL, I sometimes add an overlay which contains information, settings and a few draggable items. Currently, the overlay has a slightly transparent background to make ...
6
votes
2answers
342 views

How can I create a bounding volume hierarchy for constantly moving objects?

I'd like to be able to render a large population of small independently moving objects in real time. They may move in a swarm-like manner, but their relative positions will not be coherent - their ...