Jump to content

Local Babylon Ribbons Render in Different Location then Playground?!?


Pryme8
 Share

Recommended Posts

So I have this scene http://www.babylonjs-playground.com/#UH6NQ#0

when I went to make the playground I did not change any of the script I just ported it over and cleaned up some of the formatting... which I made because when I make ribbons in my local copy I get this:
question0.thumb.jpg.11302a3ca615cf3054aa


now the odd thing is when I finished making the playground, I was surprised to see the ribbons popped up in the correct positions.
Even if I tried to manipulate the ribbons points to go where the visually should have been even though the coordinates did not match up I was unable to get predictable results out of it... thats why I made the playground anyways here are those results:
question1.thumb.jpg.26674d90da2dd3af1fe0


WAAA?? the heck is going on?

Link to comment
Share on other sites

It's quite difficult to help you since you don't tell us what are the differences between the different versions of you PG.

Example, I get your #4 and just add the line 15 : console.log("ok")

http://www.babylonjs-playground.com/#UH6NQ#5

check your console ... not "ok" displayed. It seems your code creating the ribbon is just not called.

Link to comment
Share on other sites

Yea I ended up figuring out why they were not displaying,. But the location thing is a mystery.   I copied the versions of Babylon and oimo directly from the playground just to test out if maybe I was running a different versions and nope, the locations were still off. It boggles my mind... But yea I moved away from ribbons and started doing extrudes.  

Which makes me think I'm gonna write up a tutorial for extrudes because the documentation and the example page are kinda miss leading and don't explain how you can switch the paths orientation and some other things that I figured out by tinkering.  I'll post a demo today when I get a chance, I have to finish up some scripting for a client today first though... Money before fun!

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