nci / drishti

Drishti
MIT License
171 stars 39 forks source link

Dristi VR shader error #28

Open meChiel opened 5 years ago

meChiel commented 5 years ago

Hello,

First I am very pleased to see the VR version of Drishti being on Github. Thanks for that. Saw your VR demo@Neubias. Wanted to give it a try now, but get a shader error when starting the program: before switching the VR mode on. It disallows to render any volume. When loading another volume the error is rethrown. Error is: Error in fragment shader ERROR: 0:66: '=' : cannot convert from 'highp float' to 'highp int'. Closing this shows: drishtiVR: cannot create ee shader.

Attached the full error trace. error.txt

Thanks again for the VR source code. The VR mode seems to work, but with this error, I am unable to load a volume. Hope you know how to fix this.

Kind Regards

Michiel Van Dyck

AjayLimaye commented 5 years ago

Hi Michiel,

Please try the version from here - http://sf.anu.edu.au/~acl900/drishti_perpetualbeta/DrishtiVR/

Also you might need to update the graphics driver. Make sure that discrete gpu is used instead of onboard gpu (if you have one).

Cheers, Ajay

On Tue, 18 Dec. 2018, 12:04 am meChiel <notifications@github.com wrote:

Hello,

First I am very pleased to see the VR version of Drishti being on Github. Thanks for that. Saw your VR demo@Neubias. Wanted to give it a try now, but get a shader error when starting the program: before switching the VR mode on. It disallows to render any volume. When loading another volume the error is rethrown. Error is: Error in fragment shader ERROR: 0:66: '=' : cannot convert from 'highp float' to 'highp int'. Closing this shows: drishtiVR: cannot create ee shader.

Attached the full error trace. error.txt https://github.com/nci/drishti/files/2685633/error.txt

Thanks again for the VR source code. The VR mode seems to work, but with this error, I am unable to load a volume. Hope you know how to fix this.

Kind Regards

Michiel Van Dyck

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nci/drishti/issues/28, or mute the thread https://github.com/notifications/unsubscribe-auth/AFlarvhxZoswj3wB3MLbIqGpjLWSEwAnks5u55ZkgaJpZM4ZWUGu .

meChiel commented 5 years ago

Hey Ajay,

Thank you very much. The problem was caused by using the onboard GPU. When selecting "run with graphics processor" it works.

Thank you also for pointing me to the newer version which allowed me to load 2 volumes, so I could see a synapse - neuron co-staining in VR.

There still some work to do on our recordings. But having this viewer is great.

Thanks Kr Michiel Van Dyck