Peer-to-Peer Forum

2 of 2
2

Login Register    
Scripting - or LOD help
Posted: 10 June 2010 03:25 PM   [ # 16 ]  
Moderator
RankRankRankRank
Total Posts:  603
Joined  2008-07-02

And I like the append to selction list, but the delete does work ......  maybe it shouldn’t, but that’s a bug I’ll take any day!

I am not surprised that the delete works… sometimes… it does not work when I ran it for example. 

What I really wanted to stress is that you should not change the hierarchy in the walk function.  Doing so—MAY—lead to unexpected (or as you have seen, inconsistent) results.  If it works for you great!  When it stops working for you, at least now you’ll know why.

Carry on wink

 
Posted: 10 June 2010 03:38 PM   [ # 17 ]  
Jr. Member
RankRank
Total Posts:  35
Joined  2009-03-17

Cool - that’s what I was looking for…:)

I must say - doing miles of hedgrows / shrubs for realtime is a pain. I definitely have some good ideas if presagis ever does a brush / hedgerow wizard!

Thanks again for the script!

 
Posted: 10 June 2010 03:53 PM   [ # 18 ]  
Sr. Member
RankRankRankRank
Total Posts:  550
Joined  2009-03-17

Back to the source of your problem - hedgerows.  How are you doing it that you’re getting quads?  I’d probably use the strip-face tool with an applied top texture, then use the wall tool (NOT keepig bottom or interiors), select the face on one end, move it to a new object, apply you’re repeating wall texture, then while that face is selected, select all the other wall faces and use the texture flow tool to send the hedge texture down the line.  I use this for walls that run for hundreds of yards pretty successfully, and agree that a 3-D wall / hedge / fence wizard would be pretty cool to have

 
Posted: 10 June 2010 04:51 PM   [ # 19 ]  
Jr. Member
RankRank
Total Posts:  35
Joined  2009-03-17

The project scope was to create a hedgerow system that conforms to the terrain and covers a 1 mile by 1 mile area. Think small towns in France. Needless to say - theresa lot of hedgerow length.

So I proceed this way.

1: created a linear tiling texture (1024x1024) - top half was side view of hederows (w/ alpha) and a top view (w/alpha), The bottom 512x1024 was used for3-4 individual bushes(walpha)

I used the rounded strip face tool set to 10’  and followed the contour of the terrain to make the hedgerow base.

I was going to use the “wall plus” tool, but ended up using the “wall tool” . (here’s one idea that would’ve been helpful…add the wall tools “direction” pull down to “walls plus” or add texture application to the wall tool. or just combine all features into a single wall tool)

Anyway - I ended up using wall tool and applying texture by face and follow texture.

So now I have 2 Objects -  hedgerow walls / hedgerow base.

Now This is where the wishing comes in. I tagged the strip face as terrain scattered cross hatches throughout the hedgerow and combined them into one object. Here I used the cookie cutter to cut the object of the crosshatches and dropped those objects into LODs.

Ideally I would have liked to been able to place / scatter individual quads perpendicular (or within a user set angle range) to the walls and at the lower vertices…with the polys on the verts rotating to the bisecting angle to the adjoinging wall faces..does that make sense?

Anyway - I also added taller trees using scatter along the lower strip face and it’s coming out fairly nice for a large object.

The attached pic is something to help explain what im looking at…

Blue poly - original strip face (used this to scatter large trees on)

Red ( larger strip face - this would have a top view texture applied, larger so the texture extends outside of the hedgerow walls to soften the walls hard edge from aerial view)

Green - Individual bush textures

White - hedgerow walls.

-gotta run for now - will wax more on this tommorow

Image Attachments  test.jpg
 



2 of 2
2