Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 25 14:02
    Domino2357 synchronize #503
  • Nov 25 14:02

    Domino2357 on winding_order_fix_proteins

    Curve: removed debugging arrows (compare)

  • Nov 25 13:57
    Domino2357 synchronize #503
  • Nov 25 13:56

    Domino2357 on winding_order_fix_proteins

    Curve: added debugging arrows Curve: flipped direction of nor… Curve: diagnosed (hopefully) th… and 2 more (compare)

  • Nov 24 17:03

    moreApi on SettingsGUI

    (compare)

  • Nov 24 17:01

    moreApi on branch-of-jan

    (compare)

  • Nov 24 17:01

    moreApi on branch-of-jan-v2

    (compare)

  • Nov 24 16:58

    moreApi on branch-of-jan-v2

    (compare)

  • Nov 24 16:58

    moreApi on branch-of-jan-v2

    (compare)

  • Nov 24 16:57

    moreApi on branch-of-jan

    (compare)

  • Nov 24 16:26
    moreApi synchronize #505
  • Nov 24 16:26

    moreApi on cave-temp

    Volume: sync origin and order c… Volume: remove unnecessary over… Mesh,++: move initalizer proper… (compare)

  • Nov 24 16:02

    skalarproduktraum on jitpack-build-for-jdk-11

    Gradle: Add lwjgl.version to ge… (compare)

  • Nov 24 15:39

    skalarproduktraum on jitpack-build-for-jdk-11

    Jitpack: Build for Java 11 by d… (compare)

  • Nov 24 14:32

    PowerOfNames on jans-dirtier-branch

    Settings.kt: added updateRoutin… resolved mergeConflicts with Se… (compare)

  • Nov 24 14:24

    PowerOfNames on SettingsUpgrade

    Settings.kt: added updateRoutin… (compare)

  • Nov 22 15:52
    skalarproduktraum synchronize #505
  • Nov 22 15:52

    skalarproduktraum on cave-temp

    Camera: Add offset and transpar… CaveCubesExample: Make demo coo… (compare)

  • Nov 22 14:13
    skalarproduktraum synchronize #505
  • Nov 22 14:13

    skalarproduktraum on cave-temp

    TrackedStereoGlasses/DTrackTrac… Camera: Only sync properties wh… CaveClientExample: Fix spatial … (compare)

Ulrik Günther
@skalarproduktraum
see the feature/macos-vulkan-compatibility branch
seems like switching back to 7.1.1 at least circumvents the problem
Jan T
@moreApi
Is there an easy way to add a visible bounding box to my volume? 'volume.boundingBox = volume.generateBoundingBox()' does not work
Ulrik Günther
@skalarproduktraum
Instantiate a BoundingGrid and as it’s node property, set the volume
arrr ye got me cowboy quickdraw gets shot
Jan T
@moreApi
but you both miss shot :D
image.png
the size looks good tho
Kyle I S Harrington
@kephale
you said to your volume, not around it
:D
Jan T
@moreApi
:D
it helps already :)
Giuseppe Barbieri
@elect86
@ctrueden I'm looking into ways to trigger a generation of the scijava gradle catalog on the pom release
how are your github action skillz? Looking around I'd need to play with Workflow dispatches/github scripts
the easiest would be to have it directly in the repo itself and I'd append the publication on your release..
Curtis Rueden
@ctrueden
@elect86 Ahh, my GitHub Actions knowledge is weak, I am afraid. I'm getting better slowly over time. What might be easier would be to attach the scijava gradle catalog generation to the pom-scijava release process in the same repository. What do you think?
Where/how does this catalog get published?
I would just add the catalog generation and publication steps to the end of this shell script in the pom-scijava repository.
Giuseppe Barbieri
@elect86

What might be easier would be to attach the scijava gradle catalog generation to the pom-scijava release process in the same repository. What do you think?

I also think this is the easiest and simplest way

it gets published on the gradle plugin portal
where may I get the same version of the pom-scijava being published? Such as "31.1.0", because I'd like to automatize that as well
Curtis Rueden
@ctrueden
All pom-scijava releases published to Maven Central are tagged on GitHub accordingly, with scheme pom-scijava-31.1.0 where 31.1.0 is the release.
So... you publish a new version of some Gradle plugin for every release of pom-scijava? Why?
Giuseppe Barbieri
@elect86
to be in sync with you
Ulrik Günther
@skalarproduktraum
@ctrueden @elect86 wouldn't it make sense to have the gradle plugin in the pom-scijava repl so you don't need any fanciness?
7 replies
Giuseppe Barbieri
@elect86
yeah, that's what I hoped :D
regarding the version, let me clear what I meant, I'd like to grab it programmatically whenever you publish a new version
Ruoshan Lan
@RuoshanLan
After I merged branch vulkan-macos-and-apple-silicon (https://github.com/scenerygraphics/scenery/tree/feature/vulkan-macos-and-apple-silicon) to my branch (eye-tracking) and then used it for sciview. It gives the following error E:\VR_projects\sciview\src\main\java\com\intellij\openapi\diagnostic\DefaultLogger.java:20: ??: ???org.apache.log4j??? import org.apache.log4j.Level;
I guess it could be due to the change inside scenery(https://github.com/scenerygraphics/scenery/blob/eyetracking-update/build.gradle.kts#L109-L111) caused by merge, which was org.lwjglx:lwjgl3-awt:0.1.8. Or could anyone please give me some suggestions on how to fix it? For example, maybe which package I have missed here.
image.png
image.png
Ulrik Günther
@skalarproduktraum
Looks like that import is unnecessary anyway, I’d just remove that line
Ruoshan Lan
@RuoshanLan
But It needs a package for class level in the second picture
Giuseppe Barbieri
@elect86
@ctrueden I can provide a PR, if it's ok
3 replies
Jan T
@moreApi
How do I make my raw scenery volumes colorfull like in sciview? In scenery volumes usually only have the middle color of the colormap and transaparency. Also the transferfunction has to be set as if the data is only in the first 10% of the value space.
as a workaround I changed the shader to take the output of the transfer function for the lookup in the color table. This provides at least a bit of color variety
Jan T
@moreApi
with that workaround it looks like, only the right halfe of the color map is used. Could there a mismatch between origins of the texture?
Ulrik Günther
@skalarproduktraum
@moreApi you can adjust the applicable range of the transfer function via volume.converterSetups.firstOrNull()?.setDisplayRange(min, max)
there's no mismatch of the texture origins, just some 16bit datasets only have 10bits or so of actual used range
Ulrik Günther
@skalarproduktraum
although @elect86 got a bit whipped for the gradle switch, i think it has paid off -- i was just able to include jars from a github release very quickly, by writing a four-line function in the build.gradle.kts, this is pretty awesome :+1: no idea how that would work with maven
Giuseppe Barbieri
@elect86
:o
Ulrik Günther
@skalarproduktraum
alright @/all, scenery should now work on macOS with Vulkan/Metal rendering support. most of the examples should work (except for the ones with large number of slicing planes, due to a metal limitation we still need to circumvent). if anyone is interested in giving this a shot, let me know :+1: sciview works as well.
image.png
Jan T
@moreApi
I have a very simple textured object in blender how do I import it into scenery? Is there a .obj loader oder somthing?
ah I found "mesh.readFromOBJ" that looks promising
Jan T
@moreApi
The ci fails nearly every condition, even the one that resembles my dev machine. It says something about running out of memory
"""
There is insufficient memory for the Java Runtime Environment to continue.
Native memory allocation (mmap) failed to map 65536 bytes for Failed to commit area from 0x000001d5c0260000 to 0x000001d5c0270000 of length 65536.
"""
https://github.com/scenerygraphics/scenery/runs/7470337251?check_suite_focus=true
Giuseppe Barbieri
@elect86
try increasing the heap space, in gradle.properties append to org.gradle.jvmargs with a simple space -Xmx1g or similar
Ulrik Günther
@skalarproduktraum
@moreApi I’ve encountered that today as well and already fixed it in the Gradle 7.5 PR 👍
Ulrik Günther
@skalarproduktraum
alright @moreApi, scenerygraphics/scenery#478 is merged, the issue should be gone :+1:
@elect86 just increasing heap space doesn't help in that case, as it was a hard crash with allocation failure, not an OutOfMemoryError
Jan T
@moreApi

alright @moreApi, scenerygraphics/scenery#478 is merged, the issue should be gone :+1:

nope still there :( https://github.com/scenerygraphics/scenery/runs/7499277138?check_suite_focus=true#step:5:3577

Ulrik Günther
@skalarproduktraum
yeah, i also realised that on saturday
Ulrik Günther
@skalarproduktraum
@/all we are phasing out gitter - please don't ask new questions here, and come join our zulip stream at https://imagesc.zulipchat.com/#narrow/stream/327495-scenery.2Bsciview -- zulip has much improved threading, and an app that actually works, and you can log in with your github account just like at gitter 🥳 cu there!