PDA

View Full Version : Relief surface from set of curves



kembl
09-18-2009, 02:23 AM
Hi, all! I am in trouble.

I have set of ground level curves (like in school geographical maps) and needs to convert it to proper surface.

http://img12.imageshack.us/img12/7650/cuirvesheightmap.jpg

I was try to use Patch tool, but it generates surface which extends out of curves (on left lower corner)

http://img225.imageshack.us/img225/552/patchclause.jpg

Bridge tool not woks fine too, it makes a lot of crossected polygons :(


which way is better to build right surface with not much work overhead? Is some special technique or tools exists?

meshpig
09-18-2009, 05:15 AM
Hi kembl

Добро пожаловать в LW форумах! You can extrude curves, (shift e) but creates a lot of excess geometry which you then need to bandglue or unify the bejeezus out of.

Better to select a loop of points and make the curve contours into polygons/n-gons ( "p" as in make poly) . Then "add edges" to get the geometry right for sub d or further extension.

meshpig
09-18-2009, 05:37 AM
I was try to use Patch tool, but it generates surface which extends out of curves (on left lower corner)

When you ctrl f the patch, assign more units to the sides which are lagging. Like on the 'parallel' there give it a double dose. That will ensure the faces wrap around the curve by dint of number: a circle with 120 facets will appear more round than one with 12.

dballesg
09-18-2009, 06:09 AM
Maybe this LScript will help you?


MoveProgressivo-Skin - Lofting progressivo (http://www.lwita.com/vb/showthread.php?t=4524)

Thanks to Akademus to post the link here (http://www.newtek.com/forums/showpost.php?p=920846&postcount=2).

David

kembl
09-18-2009, 06:36 AM
Thx, will try it!


Maybe this LScript will help you?


MoveProgressivo-Skin - Lofting progressivo (http://www.lwita.com/vb/showthread.php?t=4524)

Thanks to Akademus to post the link here (http://www.newtek.com/forums/showpost.php?p=920846&postcount=2).

David

Looks very well for my task, i try it! Thx!

Sekhar
09-18-2009, 09:31 AM
Thx, will try it!

You could also try the LW built-in lofting tool "Create Skin" (under Multiply->More in the Studio preset).

art
09-18-2009, 09:52 AM
Similar topic is discussed here:

http://newtek.com/forums/showthread.php?t=99757

JamesWillmott offers a couple an interesting solutions.

kembl
09-21-2009, 12:18 AM
Similar topic is discussed here:

http://newtek.com/forums/showthread.php?t=99757

JamesWillmott offers a couple an interesting solutions.


Thank you! This is very informative thread for my task!

Thank you all, now I see the way :thumbsup: :thumbsup:

adk
09-21-2009, 12:47 AM
You could also give this a try.

http://www.artssphere.com/plugins/triangulatepoints.php

.. kill the curves to just get the points and simply run the script. Might need some cleaning up around the edges but should work just fine I think.

kembl
09-23-2009, 12:33 AM
You could also give this a try.

http://www.artssphere.com/plugins/triangulatepoints.php

.. kill the curves to just get the points and simply run the script. Might need some cleaning up around the edges but should work just fine I think.

Wow, looks realistic! Thank!

But, finaly, I made work with this technology: http://newtek.com/forums/showpost.php?p=896586&postcount=10

1) Make Cloud of Points

Simple export your object to OBJ format and see in to the *.obj file, it has simple text format.

I copy all lines predefined with "v" (vertex coords) in to text editor, delete leading v char from all strings and save result as pointscloud.txt

2) Import this file to Rhino as Points Cloud format

3) Start plug-in terrainCAD and it build very fine looking surface

4) Optional. Export surface to OBJ and import it to MeshLab or PolygonCruncher for optimising (I think Rhino may optimise too, but don't know how).

5) Import to LW

All takes ~ 10 minutes. (Actualy 1 hour, cause I was need to understand point 1) 2) 3))

adk
09-23-2009, 05:22 PM
Yeah I do remember manually tweaking .obj text for extraction of point clouds (years ago tho). With this method from what I remember, Accutrans imports these rather well as well as Rhino. ACAD with Sycode terrain module also does this quite well.

Trick always seems to be the triangulation of those clouds so LW can see them ... which the above script does in a click. So as long as you can get the points into LW that script should work just fine and save a lot of mucking about. Cheers a bunch to the author :thumbsup: again.

Beauty of mucking about is that sometimes you discover / create your own solutions to these issues so well done for getting it sorted :)