Matias Lavik (马蹄)
Matias Lavik (马蹄)
Hi! Thanks for the feedback :) Maybe I misunderstood you slightly, but I think it should be right to assume that the normal can be negative?` I use the gradient...
@SnowWindSaveYou Hmm.. I think you're right! If the light source is right above the dataset, and we view it form below, it should appear dark. But currently we get too...
Ok, I've pushed a fix and made a PR. Does this seem right? https://github.com/mlavik1/UnityVolumeRendering/pull/107/files#diff-547394143ada2254be67b4ef5c602882bf0c188d2a720a4860bb658f366d8505R197 It's basically the same as: ```glsl if(dot(normal, eyeDir) < 0.0) normal *= -1.0 ``` But possibly...
I also realised that parts of the dataset where the gradient magnitude is near zero, using the graident vector as a normal doesn't work so well. This article suggests some...
I assume it should get garbage collected as soon as it's no longer referenced anywhere. Does calling [GC.Collect()](https://docs.microsoft.com/en-us/dotnet/api/system.gc.collect?view=net-6.0) help? Which texture are you talking about, btw? The dataset's main (`VolumeData.dataTexture`)...
Thank you! 👍 Good luck researching :D
Hi! Sorry for the late reply. I was away for a while on holiday. Hmm.. that's a new one! I'll take a look at it (do you have a dataset...
Suggestion: Two modes for editing 1D TF: 1. Colour and alpha control points (existing solution) 2. Edit curve for R, G, B and A separately (ImageVis3D)  Internally, (2) can...
Hi! Sorry for the late reply. I've been away on holiday, and then moving :) So for the RAW importer to be able to import a dataset, you need to...
Hi, Thank you, that would be great! I really appreciate any contributions I can get. I'm not at all familiar with the NIfTI-1 format (I added this task after receiving...