Forum: Vue


Subject: "Burying" an object into a terrain

FrankT opened this issue on May 20, 2007 · 17 posts


FrankT posted Sun, 20 May 2007 at 3:34 PM

Suppose I have a building or something like that and I want it to be sitting on a nice flat spot in the terrain, can I render it from above, save an alpha, invert it and use that to "dig" a spot in the terrain for it ?

If not, what's the best way of going about it ?

TIA

Frank

My Freebies
Buy stuff on RedBubble


dlk30341 posted Sun, 20 May 2007 at 4:04 PM

Not quite sure I quite understand what you are tyring to do - but I'll give it a whirl.  You can either use the dig tool in the terrain editor.  Look at your top view & see where you buidling is & use a small brush to dig a hole.  Or you can boolean difference out a hole.

I hope this what you were asking for - if not someone else will come along I'm sure :)


bruno021 posted Sun, 20 May 2007 at 4:55 PM

I would do as dlk said: a boolean substraction would do the trick.



FrankT posted Sun, 20 May 2007 at 5:06 PM

damn - hadn't thought of using a boolean !! you guys are geniuses
(you can tell I don't use Vue anywhere near enough can't you :) )

My Freebies
Buy stuff on RedBubble


impish posted Mon, 21 May 2007 at 5:26 AM

If your using Infinite I wrote a python script to help with just this kind of problem:

See the post on my blog: New Vue Python Script: Terrain Matcher
Hope it might be of some use.

impworks | vue news blog | twitter | pinterest


bruno021 posted Mon, 21 May 2007 at 6:17 AM

Seems Mark's been working just for you. Very helpful script, Mark, thanks!



FrankT posted Mon, 21 May 2007 at 6:22 AM

sob I have Vue6 Pro Studio not infinite (yet - my credit card is already cowering in fear)

My Freebies
Buy stuff on RedBubble


Abraham posted Mon, 21 May 2007 at 6:27 AM

Thank you very much for the script Mark, very nice tool :)

J-L


impish posted Mon, 21 May 2007 at 7:44 AM

I've had the same problem a couple of times myself so the script seemed a useful tool. 

FrankT you could drop e-on a line asking if they might make a python module for pro.  They may just ignore the idea but if enough people ask they might think it's a good idea.

impworks | vue news blog | twitter | pinterest


FrankT posted Mon, 21 May 2007 at 1:08 PM

I'll give them a prod then.  You never know crosses fingers

My Freebies
Buy stuff on RedBubble


Gini posted Mon, 21 May 2007 at 4:14 PM

@impish- will your script work on a mac as well ?

" Try and be nice to people, avoid eating fat, read a good book every now and then, get some walking in, and try and live together in peace and harmony with people of all creeds and nations."
-Monty Python


impish posted Mon, 21 May 2007 at 5:12 PM

Gini I'd hope it would but I've not tried it on a Mac.  If it doesn't (or does) let me know and I'll see what I can do.

impworks | vue news blog | twitter | pinterest


Gini posted Tue, 22 May 2007 at 1:21 AM

OK. I'll give it a whirl this w/e and let you know.

" Try and be nice to people, avoid eating fat, read a good book every now and then, get some walking in, and try and live together in peace and harmony with people of all creeds and nations."
-Monty Python


Gini posted Sat, 26 May 2007 at 6:23 AM

Back again. @Impish -It does run on my mac though what I find odd is that I can only see how the terrain is affected in the preview window or if I do a quick render. Is that how it behaves on all machines ? I'm going to go play with it some more now. I've not tried any python script in Vue before so not familiar with the thing at all.

" Try and be nice to people, avoid eating fat, read a good book every now and then, get some walking in, and try and live together in peace and harmony with people of all creeds and nations."
-Monty Python


FrankT posted Sat, 26 May 2007 at 12:08 PM

Quote - Back again. @Impish -It does run on my mac though what I find odd is that I can only see how the terrain is affected in the preview window or if I do a quick render. Is that how it behaves on all machines

It seems to do the same on mine too which is a bit disconcerting :) works very well though

My Freebies
Buy stuff on RedBubble


Gini posted Sun, 27 May 2007 at 9:30 AM

Impish, thanks a lot for this script, I've got the hang of it now . Useful indeed !

" Try and be nice to people, avoid eating fat, read a good book every now and then, get some walking in, and try and live together in peace and harmony with people of all creeds and nations."
-Monty Python


impish posted Mon, 28 May 2007 at 7:29 AM

Well that one was solved without me needing to do anything :-)

Not sure why the display doesn't refesh once it's been run.  I'll take a look and see if I can spot anything obvious I can do.

impworks | vue news blog | twitter | pinterest