Skip to content
New issue

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

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

Already on GitHub? # to your account

New IES plotter #104

Merged
merged 31 commits into from
Apr 12, 2024
Merged

New IES plotter #104

merged 31 commits into from
Apr 12, 2024

Conversation

devshgraphicsprogramming
Copy link
Member

No description provided.

… given the profile (currently without rotation around Z-axis which got introduced), add messy IES profile I'm working with
… render mode (currently CDC working), recreate DS3 on each CDC recreation request and let user shift by 5 degrees around Z-axis by arrow keys, have debug mode for logging data
…. Leave dummy dispatch calls for testing with RD
…in.cpp, make sure RD sees SSBOs. TODO: implement CDC sample in compute and store to image
…, add push constants with user-friendly changeable degrees. TODO: I have a bug in the implementation which makes it display my projected octahedron only currently, deal with the bug!
…o IESCompute class, use shared descriptor compute shader writes to and fragment shader samples from (CDC)
…nates & Direction sample vector

TODO: move last 3 to be handled by separate full screen triangle extension pipeline/code
Comment on lines 182 to 187
double intensity = sampleI(degrees(sphericalCoordinates.x), degrees(sphericalCoordinates.y));
vec4 value = vec4(intensity / pc.maxIValue, 0, 0, 0);

imageStore(outIESCandelaImage, pixelCoordinates, value);
imageStore(outSphericalCoordinatesImage, pixelCoordinates, vec4(sphericalCoordinates.xy, 0, 1));
imageStore(outOUVProjectionDirectionImage, pixelCoordinates, vec4(direction.xyz, 1));
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

something also useful that I'd do is [in another compute shader] take the IES data grid and scatter (you take raw spherical coordinate & value then figure out the destination pixel and write it there) it to an image as a "point cloud", see if there's some discrepancies

… before (silent cpp warnings), add integral tests for debugging new grid integration
…. R - tests if direction vector is normalized, G - tests if our spherical coordinates belong to [-PI/2,PI/2] x [-PI,PI] cartesian product
…mpute shader shifted angles it first horizontal doesn't begin with 0, fix the scene with horizontal angle it begins with and clamp to min/max hAngle range
…al range fixed into [0,PI] x [-PI,PI] CP for natural & easy mirror + mirror repeat operations. Remove previous buggy quadrant-degrees wrap implementation, work with spherical coordinates directly, update QUAD_SYMETRIC & HALF_SYMETRIC wrapping, perform tests on HALF_SYMETRIC (given OTHER_HALF_SYMETRIC profile for which horizontal angles are patched to be HALF_SYMETRIC)
… if ISOTROPIC and find big bug with it's implementation causing ISOTROPIC case to sample incorrectly, add ISOTROPIC filepath test case, update media submodule
…gs with NO_LATERAL_SYMMET, update the plotter to handle all of them, update media submodule
@devshgraphicsprogramming devshgraphicsprogramming merged commit 85a36e6 into new_ditt Apr 12, 2024
1 check failed
@devshgraphicsprogramming devshgraphicsprogramming deleted the iesFeatures branch April 12, 2024 12:21
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants