Jump to content

Huge terrain issue...


dimopoulos_d
 Share

Recommended Posts

I have a problem regarding a rather massive autocad file of a whole mountain.

The dwg file itself is 16Mb and the result of importing it in max is a 100Mb file.

Actually its just splines placed in the correct height, but they are quite broken and refined.

Any attempt to create a terrain (compound) just leads in hours of waiting and waiting, and i dont even know if its in 5 or 50% of the process.

I tried optimizing the spline, i tried welding the broken vertixes, nothing. I just wait and wait for hours.

Its not a CPU or limited RAM problem. I have 2Gb of ram but near 1Gb is used anyways.

 

What do you suggest?

Link to comment
Share on other sites

That is one dense bunch of splines:eek:

You could try breaking it into several smaller spline objects and piecing then together afterwards. At least this way would show up which sections is causing the problems.

Alternatively if you want to bodge it you could output from ACAD to a PDF and use fill in photoshop to create a displacement map, but you will loose some of the detail that way.

Link to comment
Share on other sites

well it looks like it could take all day to clean and prepare in autocad, but once done right, it shouldnt take more than a few minutes to import into max and turn into a good 3d model. even as complex as this it should take too long. load up or ftp the dwg file and i'll take a long

Link to comment
Share on other sites

First, what interval are the topo lines at? Can you eliminate every other one and still get good results? Not sure if it will speed up the process, but a new loft tool as of ACAD 2007 will give pretty good terrain results. It has worked better for me than Max's terrain tool. As hughie said, you might just want to cut it into sections so it processes faster.

Link to comment
Share on other sites

Can you eliminate every other one and still get good results?

 

This is what I did the last time I had a project like this. The drawing I had was created with 1 foot elevation increments and 5 foot elevation increments. First I tried the 1 foot and it was pretty clear that it wasn't going to get it, so I tried the 5 foot and it came in a lot faster and it looked just fine.

Link to comment
Share on other sites

First of all thank you all for your replies.

I must say that i'm not an experienced autocad user.

Maybe there is a solution in acad somehow.

 

I'm not really sure about how much detail i need in there.

The project is about a village on that mountain,

but the houses will be boxlike and the trees shperelike

so I'm not really worried about how "heavy" the whole scene will be.

(or should i???)

 

There will be closeups presenting parts of the village (not too close to the houses),

so, for now i dont want to limit my detail options.

Most likely i will not need full detail, but since i will have to create roads,

and flatten parts of it in order to place the houses, for now i want to keep the detail

and reduce it later on.

 

For starters i think i will try eliminating some splines and see what happens...

 

 

 

 

Here is the acad file, in case it helps...

http://www.photorealistic.net/terrain.zip

Link to comment
Share on other sites

well the top half of your drawings is a mess of broken lines with many gaps...the bottom half is pretty much fine. like was asked, how accurate does it have to be. if you want it to be as accurate as possible, you're going to have to spend a good day connecting the broken lines and filling in the gaps. once it's cleaned it should be a really simple process to turn into a mesh.

Link to comment
Share on other sites

well, I am working on a project with a 40mb max terrain file. Fortunately for me, the dwg was very well designed, so I did not have such problems as Dimitris. But to work more efficiently, I applied an edit poly and detached the part of the terrain that the actual buildings stand on, and work with that. The rest of the terrain will probably be multires'ed or optimized for the final renders.

Link to comment
Share on other sites

I still haven't solved this problem...:mad:

But i have another question.

Lets say that in the acad file, there should have been like 200 polylines, but instead they are broken down to lets say 800 lines. Ok with this.

Why when i file link or import this file in max, every single of those 800 lines, is broken down to segment level?

Am i doing something wrong in the import process? I tried the weld setting when importing even with extreme values but still nothing.

Any ideas????

Link to comment
Share on other sites

I still didnt solve it but i have some extra info.

The lines in the acad file are not just polylines. They are 3dpolylines, whatever that means.

But the thing is that i double checked it, and 3dpolylines that are imported in max are broken down, so what should be a segment is converted to a spline.

 

So the new question is...

Does anyone now if and how i can convert 3dpolylines to polylines in autocad?

Link to comment
Share on other sites

  • 3 weeks later...

In case someone is interested, i didnt find a way to fix this problem in 3d studio.

The 3d polylines had to be converted one by one to polylines in autocad through lisp. ( i dont know any details about that cause the conversion was not done by me)

After that everything just run smoothly....

 

Anyway, thank you all for your help guys.

Link to comment
Share on other sites

Dimitris,

 

Is it possible for you get the triangulated surface from the surveyors or mappers that created the contour file? If they could draw the triangles into AutoCAD for the surface, you could then massage that for your model.

 

It would probably be much easier than working with the contours you were provided with.

 

 

 

Jeff

Link to comment
Share on other sites

i think you need to redraw the lines.

 

i would draw splines over the existing lines. To create a terrain object you might not need as many contours as are on your grading plan, so skip a few. for instance if they are 2' increments (wich i know they arent because you are using metric) i might only draw the 10' contours, or the 5' contours.

 

i really think the most accurate way is to redraw them. good luck.

Link to comment
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
 Share

×
×
  • Create New...