Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global Illumination is Super Slow #34

Closed
yvt opened this issue Aug 31, 2013 · 3 comments
Closed

Global Illumination is Super Slow #34

yvt opened this issue Aug 31, 2013 · 3 comments
Labels

Comments

@yvt
Copy link
Owner

yvt commented Aug 31, 2013

Global Illumination (r_radiosity) works perfectly and fast on MacBook Air (Mid 2012, Intel HD Graphics 4000), but not on others.

Radiosity rendering is done as following:

  1. Computation is done in background by CPU, for 512x512x64 grid points.
  2. The computation result is streamed into GPU using glTexSubImage3D (each call transfers 16x16x16 block)
  3. Shader (Shadow/MapRadiosity.fs) samples this and calculates the final value for every visible solid pixels.

The problem is that the step 2 sometimes takes too much time. Even only one glTexSubImage3D call took 300ms on some computers.

Using PBO had no effects.

@dany-on-demand
Copy link
Contributor

Possibly a driver issue? Maybe intel GPU forums will have info on slow glTexSubImage3D on windows.

@learn-more
Copy link
Contributor

Could be a memory alignment issue, did you try other blocksizes?

@yvt yvt removed this from the Global Illumination for All milestone Jul 14, 2016
@feikname feikname added the enhancement request/proposal to add a new feature label Nov 23, 2016
@feikname
Copy link
Collaborator

feikname commented Nov 23, 2016

@yvt can this be closed?

EDIT: Accidentally hit "Close and comment" button

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants