Git Product home page Git Product logo

Comments (12)

johguenther avatar johguenther commented on May 27, 2024

For raw volumes Studio needs to know the metadata (at least dimensions and voxel type) of the volume, which you can (currently only) pass on the command line:

ospStudio --dimensions 256 256 256  --voxelType 2500  skull_256x256x256_uint8.raw

For more options and explanations see

ospStudio --help

from ospray_studio.

ChenZhiMing66 avatar ChenZhiMing66 commented on May 27, 2024

It still has the same problem. Should I input more commands?
image

from ospray_studio.

BruceCherniak avatar BruceCherniak commented on May 27, 2024

Hi, does closing this mean that you were able to get it working? If not, I'm happy to help resolve it further. raw volumes can be tricky.

from ospray_studio.

ChenZhiMing66 avatar ChenZhiMing66 commented on May 27, 2024

Hi, does closing this mean that you were able to get it working? If not, I'm happy to help resolve it further. raw volumes can be tricky.

Hi, I haven't got it working yet. So what should I do to solve this problem?

from ospray_studio.

BruceCherniak avatar BruceCherniak commented on May 27, 2024

From your comment above It still has the same problem.:
https://user-images.githubusercontent.com/55489611/195841541-94cd1762-834d-41be-bdc5-6af7ca089cfa.png

Appears you are trying to load this as FLOAT data by setting --voxelType 6000. Use --voxelType 2500, as Johannes as suggested above.\

The enum types are here https://github.com/ospray/ospray/blob/fdda0889f9143a8b20f26389c22d1691f1a6a527/ospray/include/ospray/OSPEnums.h#L80

from ospray_studio.

ChenZhiMing66 avatar ChenZhiMing66 commented on May 27, 2024

From your comment above It still has the same problem.: https://user-images.githubusercontent.com/55489611/195841541-94cd1762-834d-41be-bdc5-6af7ca089cfa.png

Appears you are trying to load this as FLOAT data by setting --voxelType 6000. Use --voxelType 2500, as Johannes as suggested above.\

The enum types are here https://github.com/ospray/ospray/blob/fdda0889f9143a8b20f26389c22d1691f1a6a527/ospray/include/ospray/OSPEnums.h#L80

ospray
But I have tried --voxelType 2500 and it still doesn't work.

from ospray_studio.

BruceCherniak avatar BruceCherniak commented on May 27, 2024

I see. Hmm. Is skull_256x256x256_uint8.raw something you can share with us? I will try it locally.

from ospray_studio.

johguenther avatar johguenther commented on May 27, 2024

It is OS specific: works on Linux, but I can reproduce the exception on Windows.

from ospray_studio.

ChenZhiMing66 avatar ChenZhiMing66 commented on May 27, 2024

I see. Hmm. Is skull_256x256x256_uint8.raw something you can share with us? I will try it locally.

Sure. I have upload in my git. Or Could I ask your email ? And I will send it to you.

from ospray_studio.

ChenZhiMing66 avatar ChenZhiMing66 commented on May 27, 2024

It is OS specific: works on Linux, but I can reproduce the exception on Windows.

Yes. I run it on Windows. So can it import this type of data on Windows? And I see that it says Loading volumes with default volume parameters . Does it mean that the command parameters I inputed do not work?

from ospray_studio.

johguenther avatar johguenther commented on May 27, 2024

We found the problem, the fix is in the devel branch.

from ospray_studio.

ChenZhiMing66 avatar ChenZhiMing66 commented on May 27, 2024

Thank you!! I was finally able to test the devel version and it solves the bug perfectly.

from ospray_studio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.