implemented some more controls

This commit is contained in:
djaidjai committed 2025-01-11 17:54:01 +01:00
1 parent dc0175f88a
commit 9c7dd45858
7 files changed
+68 -30

No files matched your search

+7 -1
View File
@@ -28,9 +28,9 @@ const ColorStop h_stopsBluePurleRed[] = {
__device__ Point3 d_cameraPos;
__device__ Vec3 d_cameraDir;
__device__ Vec3 d_cameraUp;
__device__ Point3 d_lightPos;
__device__ Color3 d_backgroundColor;
__device__ Vec3 d_cameraUp;
Vec3 h_cameraUp = Vec3::init(0.0, 1.0, 0.0).normalize();
@@ -45,3 +45,9 @@ void copyConstantsToDevice() {
// ----------------------- Camera and Light -----------------------
cudaMemcpyToSymbol(d_cameraUp, &h_cameraUp, sizeof(Vec3));
}
// ----------------------- TransferFunction -----------------------
__device__ float d_opacityK;
__device__ float d_sigmoidOne;
__device__ float d_sigmoidTwo;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.