PLEASE DO NOT refer me to another thread !
PLEASE DO NOT tell me that this has already been answered, IT HAS NOT BEEN ANSWERED !
Please read though this and understand that I am not a newbie or an idiot and I have crawled all over the github and here to TRY to find a cogent answer before posting this.
I have spent MANY hours trying to figure this out before posting here, believe me.
1. A concise explanation of the problem you’re experiencing.
There are multiple individual models with CORRECT AXES ORIENTATION that are placed together into a .skp for testing, then exported to cesium format.
Please see the attached .jpg, the models are rotated 90 degrees X axis, look really stupid.
I use Sketchup export to .dae, then zip the .dae and the textures folder together into a .zip
I convert that to gitf using the online converter which outputs a .glb
I upload the model to the SandCastle that I have running on my web site
the models are rotated 90 degrees X axis, which looks really REALLY stupid !
I am not using a CZML, I am using the Sandcastle to (TRY!) to vizualize this model on this location.
I have modified the Sandcastle to reflect the correct location.
I understand that there was a change to the Cesium display axes for purposes of displaying moving objects
These models do mot move, but they need to appear correctly oriented.
PLEASE DO NOT refer me to github or this forum previous answers, THEY DO NOT DO ANYTHING
It’s just a bunch of babble such as:
" * Apply a -90 degree rotation to the model’s heading. This can be done by setting the model’s orientation
using the Entity API or from within CZML.’
WHAT CSML ? I am putting a .glb into a folder
" To fix models that are oriented incorrectly after this change, apply a +X to +Z rotation [0,0,1,0,0,1,0,0,-1,0,0,0,0,0,0,1]
to the root node of the glTF. [#6632]"
THIS IS MEANINGLESS BABBLE !
WHAT is the CODE and WHERE DOES IT GO ?
PLEASE folks, this is a goofy problem with CRYPTIC ANSWERS !
PLEASE tell me in plain english HOW TO FIX THE STUPID ROTATION ?
2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.
using the SandCastle to display a .glb, what is the big deal ?
I do not write code, I use the toolset available.
This toolset is BLOWING MY MIND iT"S SO COMPLEX ! ! ! ! ! !
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
The guy that I am working with wants to display these very large models of a proposed power substation in place in Wales so that he can show how ugly it will be as proposed.
We are still trying to figure out how to depict the terrain properly.
I am using the SandCastle on my web site because I have not been able to get all the pathing correct to use a simpler cesium implementation with sandcastle.
We want to use ANY 3d display method that will place the models on the terrain in a browser, so the viewing user can do a tour or rotate around it.
I thought Cesium woud be a good environment to work in BUT MY GOD you guys make it SO PICKY AND KLUDGY !
WOW I thought I was pretty good at this mapping and 3D stuff until I started with Cesium. WOW !
4. The Cesium version you’re using, your operating system and browser.
Go look at the Sandcastle that I stole and we are using
Cesium v 1.5 installed fresh from the site.
it’s the vanguard model in the 3d models demo
It’s on a CentOS server at Lunarpages and I use Chrome
Thank You !
Kent Morrison
Google Certified Geo3D developer
Google Certified KML Developer
Trimble Certified Content Developer
OCT_16_versions_001.glb (1.2 MB)