Sign in to follow this  
Guest

8x8 Detail Elevations

Recommended Posts

How can I get the Fly! Editor to create 8x8 detail elevations?I've tried importing the Terrascene project RAS output, with 8X8 detail setting, and subdivide of both 0 and 1. Neither yeilded any elevations greater than 4x4. What Im trying to do is import the RAS file from a terrascenery project so that the FULL file is 8x8 detail tiles. I want to be able to copy/paste the 8x8 detail tiles for areas that I am flattening near airports.

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

What is your subdivide tolerance set to? I believe the slicer will use a less fine grid if all the points fall within the tolerance. I haven't figured out exactly how it uses the tolerance, and I don't think I ever will. lol I bet if you set the tolerance to 1 you will get all 8x8 grids, and the .trn file will be huge. ;-)nick

Share this post


Link to post
Share on other sites

I tried both 0, and 1... I couldnt find a single 8x8. And were talking about LA, so the elevations go from 0 to about 11,000 ft.

Share this post


Link to post
Share on other sites

Ok, I might have misunderstood your first post. Are you calling the slicer from Terrascene, or are you slicing "manually" from within Fly. What I mean is, are you going into the editor with ctrl-e and importing the elevations?If you are using Terrascene to call the slicer, that's the problem. I've had very inconsistent results when calling the slicer with TS2. It seems that when you change the slicing settings, at least concerning the elevations, in TS2 they don't actually get updated in the project file...or something like that. I found it once. :-) This is very weird, and I thought I was imagining things until I re-sliced 187152 (with the slicer directly) for that tutorial I was working on and got totally different data than when I sliced it from TS2 the day before. If this is what you are doing, try using the Fly2 editor to slice just the elevations.I am planning on mentioning this in the tutorial. I actually got to do a (very) little work on it earlier this week. If you don't know how to use the slicer in the editor, I might be doing more work on it soon. ;-)nick

Share this post


Link to post
Share on other sites

Was using the editor, not terrascene. Didnt even know I could set Subdivide within Terrascene.Does terrascene output 'all' the elevation data, or does it dumb it down to a 2x2/4x4 option before saving the ras?

Share this post


Link to post
Share on other sites

I have also been wondering how to import elevation data from Terrascene. But I guess it won`t find my elevation data, because the project txt file is not made yet. Is importing elevation data from Terrascene only made for USGS data? Do I have to put my elevations file in Data-filesUSGS to get it to work?

Share this post


Link to post
Share on other sites

Hmmm. That's interesting. I don't know why it's not working. I will try it myself if you want me to confirm the problem (or not). What globe tile is it?TS2 doesn't dumb down the data. It just passes the settings to the slicer when it calls it. The slicer reads the ras and creates the trn files.nick

Share this post


Link to post
Share on other sites

I don't know if it works with any data other than USGS. I'm not saying that it doesn't, I just don't know. Sorry.nick

Share this post


Link to post
Share on other sites

Nick, it worked! I put my GTOPO30 Ras file in Data-FilesUSGS. Then fired up Terrascene and choosed "Import elevations", and checked "Use USGS".The slicer gave no hint it was importing the Ras file like it does when used alone, but I got the right elevations for shure. The txt file was unchanged, with the "Dummy.Ras" entry present. And Flattenator still crashed...like always :(At least I can use this for a fully automated process now.

Share this post


Link to post
Share on other sites

I was wrong. It must have been the other podfile I saw, the one I moved to a temporary directory. Strange...The only thing I can think of now, is to render the images first, then edit the txt file, then try "Use Existing" and see if TS uses the txt file then. Later...

Share this post


Link to post
Share on other sites

Whom are you talking to? For me it was Globe Tile 172:153Can send you the RAS if you would like.

Share this post


Link to post
Share on other sites

I was talking to you. :-) I might not get to this until the weekend. I had a few capacitors melt down on my motherboard last weekend and am limping along until I get a new motherboard...which I hope happens Thursday.nick

Share this post


Link to post
Share on other sites

If you actually have a .ras file already, you might be able to just slice that with the slicer. Maybe you could place it in the TS@ output folder and edit the .txt file to include that file name instead of dummy.ras. Not sure...but maybe worth a shot.nick

Share this post


Link to post
Share on other sites

Ok, Brad. I had some time tonight and couldn't wait to try it. lol I rendered just the elevation data for 172,153 and called the slicer from TS2 with density=8 and tolerance=50. I got a whole bunch of 8x8 detail tiles. I zipped up the .trn files at a size of about 450KB if you want them. If you contact me and don't hear from me, my computer blew up. ;-) In that case I should be back up and running over the weekend.nick (nick@nik2.com)

Share this post


Link to post
Share on other sites

hmmm... how did you get that to work? Is there a setting within TS2 for subdivide/density?Dag nabbit...Well, sigh... I want to learn to do it myself. If you can explain what magic you did, that I somehow missed perhaps we can figure this out. If I cant get it after that, yeah... I will want those files :)lol(Sorry, I dont have TS2 on this puter to look) Thx,Brad

Share this post


Link to post
Share on other sites

I'm at work, so off the top of my head....When you open the render options window in TS2, there is an "Advanced" button next to where you select to slice the scenery. Clikc on that button to get to the window where you can set the clicer parameters.Regardless, when you sliced the elevations with the slicer "manually" it should have worked fine. I just let TS2 do it first to see if it would work. All I did was create a new project containing 172,153. I only generated the elevations and had TS2 call the slicer to slice them. I don't know why it wouldn't work for you. Maybe try with a new project, and maybe move everything out of your Fly2/data directory.nick

Share this post


Link to post
Share on other sites

Ok, finally got around to trying it again tonight. I tried it like 3 or 4 times now. I tried as you said through terrascene, and found the advanced settings. Tried first as subdivide of 20. Same output... mostly 4x4. Tried again w subdivide of 50, as you got to work. That didnt work either. Ok... hmmm. So I tried making sure "AGP" was enabled in fly graphics settings, thinking perhaps if high textures arent used, it limits the terrain detail as well. Tried to slice again... no difference. Its running again right now... strictly through the Fly Editor, but I doubt anything will be different.My flyslice (seen when running through terrascene) is versioned - 2.1.30, fly! 2.5.140.I dont get it... 'what' is going on here? :(Go ahead and email me those elevations. But I really want to figure this out. Something is broken here! doh!

Share this post


Link to post
Share on other sites

Ok... I DID get some 8's now! When I did it manually through the fly editor. But...The quarter tile I 'wanted' as 8's... is all 4 or 2.! This is bogus, because the quarter tile Im talking about goes from probably 1,000 or less elevation.. to over 10,000 ft.Arg...What file sizes did you get for that globe tile?Mine are...g00.trn 522KBg01.trn 375KBg10.trn 1,092KB <- has alot of 8'sg11.trn 410KB <- this one should too... has just as many large mountains as g10.

Share this post


Link to post
Share on other sites

I replaced my motherboard this weekend and am slowly reinstalling everything, but I'm at work now. Off the top of my head, g01, g10, and g11 were all quite large...over 1MB as you got with just g10. g00 was small as it is mostly ocean (right?).One thing you might want to try is to remove the DEM files for that area and download them again. If you don't want to try to figure out which ones are used for this area, you can temporarily rename the USGS folder (I forget th exact name here) to something else and create a new, blank USGS folder. Then TS2 will be forced to download all the data again. Just a thought if something else you can try.I should be able to send you the files tonight. At least they will give you a baseline for comparison to the files that you generate.nick

Share this post


Link to post
Share on other sites

That's a good question, but I can't answer you. It was so long ago. I think I patched it because I remember going through the betas. Since I've been rebuilding my computer I will have to reinstall TS2 again anyway.I wouldn't assume anything is wrong with your TS2 install. I mentioned before that sometimes I would not get high detail elevations. The last time I sliced 187152 from within TS2 I had no high detail grids at DFW. I resliced the same ras file directly with the slicer and got a bunch of 2x2 and 4x4 tiles around there. I can't explain it, and I can't seem to find any consistency.Did you try redownloading the DEMs?nick

Share this post


Link to post
Share on other sites

Hagar,If you put your own .ras file in the TS2 output folder, you'll also need to put in a .rat file. The .rat file is a text file that describes the .ras file (number of data points and the lat/long bounds). On the render dialog, select 'use existing' for the elevations section. On the same dialog, click the 'advanced' button next to the slicer option to get the detailed settings where you can select the subdivideTolerance (try something low, like 50) and the subdivideDensity (8) and you should get lots of elevation points. The .rat files look something like this (you can set geoWidth and geoHeight to 0, they aren't used):## RAS file descriptor## last modified 2003.04.22 AD at 12:21:55 PDTRas.bounds.geoHeight=175438.6178022984Ras.bounds.geoWidth=175438.6178022984Ras.bounds.lowerLeft.latitude=37.0Ras.bounds.lowerLeft.longitude=-123.0Ras.bounds.upperRight.latitude=38.0Ras.bounds.upperRight.longitude=-121.0Ras.xSamples=2402Ras.ySamples=1201

Share this post


Link to post
Share on other sites

Aha! Thanks, Todd!It is always good to learn something new. So I put my elevations into the Output folder and make this simple .rat file. I`ll try this when I get back to my Enbr project :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this