CAOR-MINES-ParisTech / colibri-vr-unity-package

This is the Unity package for COLIBRI VR, the Core Open Lab on Image-Based Rendering Innovation for Virtual Reality.
https://caor-mines-paristech.github.io/colibri-vr
Other
50 stars 11 forks source link

Issue with the blending method type: Disk-blended focal surfaces #7

Open blvnkexp opened 4 years ago

blvnkexp commented 4 years ago

Hi, I'm having an issue with the blending method type: Disk-blended focal surfaces. It simply does not do anything. I've gone through your tutorial several times thinking maybe I missed something. But still nothing. Not entirely sure why It's not working, is there any solution to this problem. Thanks

DinechinGreg commented 4 years ago

Ah, that is an issue. What platform / OS are you on? Is there a command buffer on the camera component of the main camera ? If you open Frame Debug (Window->Analysis->Frame debugger) and click Enable, does DiskBlendedFocalSurfaces appear somewhere under Camera.Render?

blvnkexp commented 4 years ago

Wow, thanks for the really quick response. Thought I was going to wait a day or two minimum. I'm using windows 7. I checked the Frame Debug and there's no DiskBlendFocalSurfaces.

blvnkexp commented 4 years ago

I made a mistake. It's the Disk-Blended per-view meshes that's not working. Sorry about that.

DinechinGreg commented 4 years ago

No problem! In the same way, on the Camera component, are any command buffers listed? (at the bottom of the component's UI) In this case, a DiskBlendedPerViewMeshes command buffer should appear upon launching play mode.

blvnkexp commented 4 years ago

Yes, it does appear upon launch, but in the scene nothing is showing. I'll send a screen shot as well. 01

DinechinGreg commented 4 years ago

Thanks for the screenshot! What happens if you try "Textured per-view meshes"?

blvnkexp commented 4 years ago

Nothing happening.

DinechinGreg commented 4 years ago

In that case the meshes themselves are probably the issue. Do the depth maps seem correct? Using which checkbox did you generate the per-view meshes? Were there any errors during processing?

blvnkexp commented 4 years ago

The depth pass seemed to come out just as expected. I used Texture array from color data, Per-view meshes from underlying focal surfaces and per-view meshes from depth maps by quadtree simplificationand triangle removal. There won't any errors when processing.

blvnkexp commented 4 years ago

Is there anything specific that needs to be done to the mesh?

blvnkexp commented 4 years ago

I'm using unity 2019.4.0f1. Normal unity scene, so no HDRP or URP. Don't know if any of this might help narrow down a possible problem.

blvnkexp commented 4 years ago

Update on the issue. This is an error I get now. bandicam 2020-07-25 15-54-51-581

DinechinGreg commented 4 years ago

Hmm, this is strange. Nothing specific should be done to the mesh, and it should work fine with your Unity configuration, so I'm not sure how to narrow down the issue.

Thanks for sharing the parsing error! Your platform probably expects "0.3" instead of "0,3", so if you change those accordingly the error should disappear. I think this issue is linked to the way we write the additional setup information, I'll patch this ASAP. However I don't think that this will solve the issues you're having afterwards during processing.

Were you working from a virtual 3D acquisition or from a set of real input data?

I'll try investigating further to see if I can reproduce the problem. Sorry about not having a clear answer yet.

blvnkexp commented 4 years ago

I'm using 3d renders.