Jump to content

Invalid Mesh Pick


shaharyar.ahmed
 Share

Recommended Posts

I set up a small scene in 3Ds max to test object picking in babylon.js. I exported the scene to .obj and then convert it to .babylon using http://www.babylonjs.com/converter.html.

 

But I got some unexpected results, here is the link http://developerslink.net16.net/scene2.html .

 

Its not picking the objects perfectly. You can check it yourself.

 

Here is the one more test but got the same results http://developerslink.net16.net/loadScene.html

Link to comment
Share on other sites

I work in local. But actually, my canvas is in an html table, I have a tool bar at the top of my table of 30px.

 

Quick Example:

<div style="width:100%;height:30px"> tool bar top </div><table style="width:100%;height:100%">    <tr>         <td><canvas id="canvas" style="width:100%;height:100%"></canvas></td>         <td style="width:500px;">Menu right</td>    </tr></table>

Behold in image on what i work:

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...