microsoft / MixedRealityDesignLabs_Unity

Mixed Reality Design Labs share experimental samples, explorations and learning from Windows Mixed Reality Design group. If you are looking for official toolkit, please use Mixed Reality Toolkit
MIT License
408 stars 110 forks source link

Bounding Box for panel #68

Closed sancho0410 closed 7 years ago

sancho0410 commented 7 years ago

Hi,

I try to use BoundingBoxTarget with panel (rigibody and 2d box collider) but all the time, i have this execution error :

RenderTexture.GenerateMips failed: render texture does not have mip maps (set useMipMap to true).
(Filename: C:\buildslave\unity\build\Runtime/Graphics/RenderTexture.cpp Line: 847)

This is normal ? Can i use this script with panel ?

Thx ;)

taylorjames9 commented 7 years ago

Hi, We've had several issues with the bounding box come up. We have been in the process of pulling the MRDL codebase into Holotoolkit and updatingit so it can be used for VR+AR development.

In the course of this transition, we are going back through our sample scenes to clean up several of these features. The bounding box in particular is going to get a fixed up. In the meantime, @railboy may have some insights for fixing this version.

Railboy commented 7 years ago

The BoundingBox can be used with panels. Since BoundingBox and BoundingBoxTarget don't make use of RenderTextures, I'm going to guess that this is an unrelated error.