Jump to content

Textures on sideways, and no dynamic textures?


qqdarren
 Share

Recommended Posts

We've just tried moving a site from 2.2 to 3.0. We're left with a couple of breakages that have me stumped, and that I cannot see mentioned in the change log. (UPDATE: managed to fix both while writing this message!!)

1. A sphere with a earth.jpg texture applied. The texture now looks like it is sideways... ah, just fixed this! I think this might have been a bug prior to 2.3, and I was working around it? I.e. it seems my earth.jpg was rotated sideways! Turning it to have North at the top half-fixed it. The other half of the fix was to add

sphere.rotation.x = Math.PI;


2. See https://www.babylonjs-playground.com/#2S68ZN

which is showing drawing text on to a dynamic texture, then using it as a particle.

Compare with https://www.babylonjs-playground.com/indexstable#2S68ZN

I.e. it looks like 3.1 is going to fix whatever the problem is? (I still thought I'd report it, in case this was an accidental fix!)
 

Link to comment
Share on other sites

I've got one machine where https://www.babylonjs-playground.com/#2S68ZN is not working. Nothing in the log; when I did a console.log(tc.textSize) I get 43, which sounds suspiciously low.  I thought it might be something about fonts, but when I test on the old Babylon 2.2 version it is working (my real site, not the above playground, obviously).

So, I have:

 2.2: works everywhere

 3.0: works nowhere

 3.1-latest: works on fast Mint 18 with a GPU (firefox and chrome), works on a feeble-CPU Windows 7 no GPU (chrome), doesn't work on fairly fast Mint 17 with no GPU (two different users, both firefox and chrome tested)

If anyone else has it not working, perhaps you could post? "Working" is you see the word "testing..." keep spewing out and going down through the ground. "Not working" is you just see the plane and nothing happens.  Thanks!

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