-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix/missing-xlib-struct-and-querypool-stride
- Loading branch information
Showing
17 changed files
with
70 additions
and
605 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
package graphics.scenery.volumes.vdi | ||
|
||
import org.jetbrains.annotations.ApiStatus.Experimental | ||
import org.joml.Matrix4f | ||
import org.joml.Vector2i | ||
import org.joml.Vector3f | ||
|
@@ -18,6 +19,7 @@ import org.joml.Vector3f | |
* | ||
* @author Aryaman Gupta <[email protected]> and Ulrik Günther <[email protected]> | ||
*/ | ||
@Experimental | ||
data class VDIMetadata( | ||
val version: Int = 1, | ||
var index: Int = 0, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ package graphics.scenery.volumes.vdi | |
import com.esotericsoftware.kryo.Kryo | ||
import com.esotericsoftware.kryo.io.Input | ||
import com.esotericsoftware.kryo.io.Output | ||
import org.jetbrains.annotations.ApiStatus.Experimental | ||
import org.joml.Matrix4f | ||
import org.joml.Vector2i | ||
import org.joml.Vector3f | ||
|
@@ -15,6 +16,7 @@ import java.io.OutputStream | |
* | ||
* @author Aryaman Gupta <[email protected]> and Ulrik Günther <[email protected]> | ||
*/ | ||
@Experimental | ||
class VDIDataIO { | ||
companion object { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package graphics.scenery.volumes | ||
package graphics.scenery.volumes.vdi | ||
|
||
import bvv.core.shadergen.generate.SegmentTemplate | ||
import bvv.core.shadergen.generate.SegmentType | ||
|
@@ -12,9 +12,11 @@ import graphics.scenery.compute.InvocationType | |
import graphics.scenery.textures.Texture | ||
import graphics.scenery.utils.Image | ||
import graphics.scenery.utils.lazyLogger | ||
import graphics.scenery.volumes.VolumeManager | ||
import net.imglib2.type.numeric.integer.IntType | ||
import net.imglib2.type.numeric.integer.UnsignedIntType | ||
import net.imglib2.type.numeric.real.FloatType | ||
import org.jetbrains.annotations.ApiStatus.Experimental | ||
import org.joml.Vector3f | ||
import org.joml.Vector3i | ||
import org.lwjgl.system.MemoryUtil | ||
|
@@ -32,6 +34,8 @@ import kotlin.math.ceil | |
* | ||
* @author Aryaman Gupta <[email protected]> and Wissal Salhi | ||
*/ | ||
|
||
@Experimental | ||
class VDIVolumeManager (var hub: Hub, val windowWidth: Int, val windowHeight: Int, val maxSupersegments: Int, val scene: Scene) | ||
{ | ||
private val logger by lazyLogger() | ||
|
Oops, something went wrong.