Is the ESD_bounding_box info in the *.sd file of scenery objects of any importance for OR?
Relevance of bounding box info in *.sd files
Collapse
X
-
I don't think so? Check out these two threads at ET, perhaps a developer ( or someone with direct knowledge of the code) will see your post and reply.
http://www.elvastower.com/forums/ind..._1#entry193270
http://www.elvastower.com/forums/ind..._1#entry193397Cheers, Gerry
"A mind is like a parachute. It doesn't work if it is not open." Frank Zappa
It's my railroad and I'll do what I want! Historically accurate attitude of US Railroad Barons.
Forever, ridin' drag in railroad knowledge.
Audi, Vide, Tace, Si Vis Vivere In Pace
https://www.trainsim.com/forums/filedata/fetch?filedataid=79656&type=medium https://www.trainsim.com/forums/filedata/fetch?filedataid=79654&type=small -
If you want to make the object snapable it's required. I recall also that OR uses the BB to keep rain/snow out of the inside of buildings.
regards,............Vince ..............
...... Author NECv4 .......
.... LIRR BUILD PHOTOS ....
...... Eschew Obsfucation ......
On the The Statue of Liberty in New York Harbor there is a Tablet. On it is written:
"Give me your tired, your poor, your huddled masses yearning to breathe free,
the wretched refuse of your teeming shore, send these, the homeless, tempest-tossed to me,
I lift my lamp beside the golden door!"Comment
-
Cheers, Gerry
"A mind is like a parachute. It doesn't work if it is not open." Frank Zappa
It's my railroad and I'll do what I want! Historically accurate attitude of US Railroad Barons.
Forever, ridin' drag in railroad knowledge.
Audi, Vide, Tace, Si Vis Vivere In Pace
https://www.trainsim.com/forums/filedata/fetch?filedataid=79656&type=medium https://www.trainsim.com/forums/filedata/fetch?filedataid=79654&type=smallComment
-
Hi Gerry,
It was enabled in default MSRE & uses the 'X' key to toggle. There is no indication if 'snap' is on or off.
One of the default shapes is WireFence50m.s
Here's the Shape Data (SD) file for the default fence. I found out about thias feature accidentally and wrote it up in the forums several years ago.
Any static object can be made 'snapable' by entering the proper parameters in the SD file. Easy to do.Code:SIMISA@@@@@@@@@@JINX0t1t______ shape ( WireFence50m.s ESD_Detail_Level ( 9 ) ESD_Alternative_Texture ( 1 ) ESD_Bounding_Box ( -25 0 0 25 1.5 0 ) ESD_No_Visual_Obstruction () ESD_Snapable ( ) )
So it's the data in the SD file that 'snaps' together not anything to do with the shape file itself.
The SD file ESD_Bounding_Box parameter does not need to conform to the actual shape.
For instance, in the LIRR route I set the 'snap' feature to work with the de_OldStation platform objects but there was a problem with the platform station house part. It's pivot point was offset from the other platform sections and thus I had to offset the BB for tat particular part.
They're in the LIRR at many of the stations, the ones with the brown colored platform surfaces if you want to have a look at the way the SD files BB's are set up.
regards,............Vince ..............
...... Author NECv4 .......
.... LIRR BUILD PHOTOS ....
...... Eschew Obsfucation ......
On the The Statue of Liberty in New York Harbor there is a Tablet. On it is written:
"Give me your tired, your poor, your huddled masses yearning to breathe free,
the wretched refuse of your teeming shore, send these, the homeless, tempest-tossed to me,
I lift my lamp beside the golden door!"Comment




Comment