|
3rd August 2006, 12:55 PM | #1 |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,565
|
Re: XYZ data into AC3D
Got the file. Due to the precision used in Create Mesh function, the best thing for this model is to size the whole model to 1x1x1 (SizeTo) and then do the Vertex->Create-2D-Mesh->Front. (you can try this in sections, otherwise, looking at 40,000 vertices will take a long time to complete)
Last edited by Andy; 3rd August 2006 at 01:40 PM. |
3rd August 2006, 01:46 PM | #2 |
Senior Member
Professional user
Join Date: Dec 2003
Location: UK
Posts: 369
|
Re: XYZ data into AC3D
OK, thanks for having a look. The file is just too big, even doing small sections doesn't work, but when I do a new model, make a mesh remove surface move vertises and then make a new surface, it does. Something wrong with the file format I think.
__________________
Regards, Gerry "Mossie" Mos -------------------------------------------------------------------------- WW1 Aircraft Library http://ww1-aircraft.info/ Mossie 3D CAD, "Prompt and Precise" http://mossie3dcad.com/ |
3rd August 2006, 02:22 PM | #3 |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,565
|
Re: XYZ data into AC3D
I did it with the file you sent (see pic above).
I simply clicked on SizeTo (1x1x1) first. The projection you select is important. In this case, I used Vertex->Create-2d-mesh->front. Look the field plugin: The first two numbers in the file are the x, y size of the grid. this is followed by (x*y) heights in row order. If you can get your data like this (all you really need ar the point heights and the size of the grid), You'll get a better mesh. |
3rd August 2006, 02:40 PM | #4 |
Senior Member
Professional user
Join Date: Dec 2003
Location: UK
Posts: 369
|
Re: XYZ data into AC3D
What field plugin are you refering to ?
Don't understand.
__________________
Regards, Gerry "Mossie" Mos -------------------------------------------------------------------------- WW1 Aircraft Library http://ww1-aircraft.info/ Mossie 3D CAD, "Prompt and Precise" http://mossie3dcad.com/ |
4th August 2006, 02:53 AM | #5 |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,565
|
Re: XYZ data into AC3D
In AC3D, select menu Help->About-Plugins and select the Field Import Plugin from the list - this will tell you more.
|
4th August 2006, 05:01 AM | #6 |
Senior Member
Professional user
Join Date: Dec 2003
Location: UK
Posts: 369
|
Re: XYZ data into AC3D
Ok, found that pf file format, I assume is:
grid x grid y pos x pos y height z pos x pos y height z Or should it be grid x grid y height z height z If the first then I've a new error "myalloc 8 failed unable to alloc 8 bytes" I think this is a file error, thoughts please.
__________________
Regards, Gerry "Mossie" Mos -------------------------------------------------------------------------- WW1 Aircraft Library http://ww1-aircraft.info/ Mossie 3D CAD, "Prompt and Precise" http://mossie3dcad.com/ |
4th August 2006, 05:27 AM | #7 |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,565
|
Re: XYZ data into AC3D
It should be:
grid_x grid_y height_z height_z... e.g. I made this up: 3 3 1 2 2 3 1 2 3 4 2 This is a 3x3 grid of points. |
22nd August 2006, 09:18 PM | #8 |
Senior Member
Professional user
Join Date: Feb 2004
Location: Portland, OR
Posts: 604
|
Re: XYZ data into AC3D
Mossie, what cool weirdness are you up to with that terrain chunk...?
Do tell.
__________________
Flight Sim Project Contributor My Gaming Rig: i5 2500K Quad-Core CPU at 3.3GHz MSI P67A-C43 mobo 4GB of PC12800 DDR3 memory Windows 7 1GB Galaxy GeForce GTX550 Ti video card GeForce 270.61 drivers (4/2011) Cougar joystick/throttle combo CH Pedals |
23rd August 2006, 03:10 PM | #9 |
Senior Member
Professional user
Join Date: Dec 2003
Location: UK
Posts: 369
|
Re: XYZ data into AC3D
The plan is to be able to build towns and villages with the correct locations and heights for all buildings. Also for bridges and such. Doing this outside the terrain, and testing in game is too long winded. Once the models are built and placed the terrain is discarded.
__________________
Regards, Gerry "Mossie" Mos -------------------------------------------------------------------------- WW1 Aircraft Library http://ww1-aircraft.info/ Mossie 3D CAD, "Prompt and Precise" http://mossie3dcad.com/ |
|
|