Jump to content

[bug] showBoundingBox create a bug with sprites


Dad72
 Share

Recommended Posts

Hi,

 

When you look at the first picture, it shows impeccable clouds. but on the second, I select the boat of the scene and active BoundingBox = true but clouds do this properly. I tried without activating BoundingBox and it works so I think it really comes from this member: showBoundingBox.

 


 


 

Thanks

Link to comment
Share on other sites

arf, I never manage to put a picture with the playground, I do not know the image that exists in the playground and http link does not work => Image from origin 'http://www.babylonjs.com' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.babylonjs-playground.com' is therefore not allowed access.
 
But here's the bug normally. if the cloud image is placed in the images folder /.

http://www.babylonjs-playground.com/#1FH5HJ#5

Link to comment
Share on other sites

oops, yes, textures/ and no images/  :wacko:

 

I can not seem to reproduce in the playground. it was difficult for me to reproduce the same.
On my scene when I put in the comment showBoundingBox, it works fine, but if I remove the comment, it makes what I have on the image. I do not understand what it may come.
 
What makes the showBoundingBox would do that? 
Link to comment
Share on other sites

I managed to reproduce the bug :) . sorry my late reply. I have long sought to reproduce this bug with the playground.

 

in made it just because of the combination of: 

scene.activeCamera.__fxaa_cookie = new BABYLON.FxaaPostProcess("fxaa", 1.0, scene.activeCamera, BABYLON.Texture.BILINEAR_SAMPLINGMODE, engine, false); //andmesh.showBoundingBox = true;
if i delete: scene.activeCamera.__fxaa_cookie. This work.

    

The bug:

http://www.babylonjs-playground.com/#1FH5HJ#8 (Select the sphere to see the bug)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...