Author Topic: terrain material to mesh, lumion 2.5  (Read 4971 times)

Zdenek Fajfrlik

    Reputation: 26
terrain material to mesh, lumion 2.5
« on: November 28, 2012, 09:16:20 pm »
November 28, 2012, 09:16:20 pm
hi lumionautics,
is it somehow possible to paint imported meshes with the brush like the lumion terrain?

i tried, but the mesh somehow does not react ( })

i have a model much wider then 2 x 2 km, so terrains are meshes..
thanx stan


giosucci

    Reputation: 3
Re: terrain material to mesh, lumion 2.5
« Reply #1 on: November 28, 2012, 11:29:21 pm »
November 28, 2012, 11:29:21 pm
Actually, it is possible, but there is a little glitch in Lumion 2.5 which makes the process difficult to do.

First you need to apply a landscape material to your terrain mesh.

Then you can use any of the paint tools of the landscape material on your terrain mesh, HOWEVER, Lumion will appear not to paint straight on your mesh, but rather it will look like painting on the native terrain object (the native terrain should be an infinite plane below your mesh).

Just look at the infinite plane behind your model, and you should see the paint brush strokes on it.
Now, these brush strokes on the native terrain (the infinite plane) are projected vertically on your imported mesh with the same landscape material applied to it.

So, if you are looking at your mesh from an angle, chances are you are painting far away on the native terrain plane. Therefore, the vertical projection of those brush strokes will miss your mesh, and it will look like you cannot paint it.

The only way to control accurately where you will be painting on your mesh is to look down on it while moving the camera far up in the sky, so to have a sort orthogonal site plan view.
Then you strokes should pretty much match on both the native plane and on your terrain mesh...

Clear as mud?

Maybe Lumion people can take it from here.... :)

I still need to check version 3, and see if it behaves the same way.

Regards

Gio

Zdenek Fajfrlik

    Reputation: 26
Re: terrain material to mesh, lumion 2.5
« Reply #2 on: November 28, 2012, 11:55:29 pm »
November 28, 2012, 11:55:29 pm
Actually, it is possible, but there is a little glitch in Lumion 2.5 which makes the process difficult to do.

First you need to apply a landscape material to your terrain mesh.

Then you can use any of the paint tools of the landscape material on your terrain mesh, HOWEVER, Lumion will appear not to paint straight on your mesh, but rather it will look like painting on the native terrain object (the native terrain should be an infinite plane below your mesh).

Just look at the infinite plane behind your model, and you should see the paint brush strokes on it.
Now, these brush strokes on the native terrain (the infinite plane) are projected vertically on your imported mesh with the same landscape material applied to it.

So, if you are looking at your mesh from an angle, chances are you are painting far away on the native terrain plane. Therefore, the vertical projection of those brush strokes will miss your mesh, and it will look like you cannot paint it.

The only way to control accurately where you will be painting on your mesh is to look down on it while moving the camera far up in the sky, so to have a sort orthogonal site plan view.
Then you strokes should pretty much match on both the native plane and on your terrain mesh...

Clear as mud?

Maybe Lumion people can take it from here.... :)

I still need to check version 3, and see if it behaves the same way.

Regards

Gio

hi gio, thanx a lot, did not come myself to that point, going to check it in few minutes , it's ok for now and helps me a lot with the actual project.

thank you very much!

stan

byzantium1200

    Reputation: 43
Re: terrain material to mesh, lumion 2.5
« Reply #3 on: November 29, 2012, 02:54:26 pm »
November 29, 2012, 02:54:26 pm
Actually, it is possible, but there is a little glitch in Lumion 2.5 which makes the process difficult to do.

First scale your mesh in Z before exporting (or Y in Lumion) so that it will have very little height, then make your painting, rescale and reimport.

Zdenek Fajfrlik

    Reputation: 26
Re: terrain material to mesh, lumion 2.5
« Reply #4 on: November 29, 2012, 03:17:50 pm »
November 29, 2012, 03:17:50 pm
First scale your mesh in Z before exporting (or Y in Lumion) so that it will have very little height, then make your painting, rescale and reimport.

....so at least even painting on a plane mesh and reloading afterwords as modelled mesh would work....
thanx for that tip, great....
stan

Re: terrain material to mesh, lumion 2.5
« Reply #5 on: November 29, 2012, 03:21:59 pm »
November 29, 2012, 03:21:59 pm
Just so you know it, painting won't work outside the 2048x2048m area.
IMPORTANT: Please do not send private messages and emails to members of staff - unless we specifically ask you to send us sensitive information, for example License Keys.

Zdenek Fajfrlik

    Reputation: 26
Re: terrain material to mesh, lumion 2.5
« Reply #6 on: November 29, 2012, 04:03:46 pm »
November 29, 2012, 04:03:46 pm
Just so you know it, painting won't work outside the 2048x2048m area.

hi morten, now my question is answered.......though it's a pity......stan

maybe a floating lumion mesh object , which can be placed anywhere and modelled as terrain, could be a solution......normally in cities it is the parks, which liked to be modelled inrealtime 3d so desperately....so the areas are not so wide...

Re: terrain material to mesh, lumion 2.5
« Reply #7 on: November 29, 2012, 04:20:33 pm »
November 29, 2012, 04:20:33 pm
It's best to post your suggestions in the Wish List section, so they won't disappear forever in the massive General Discussion area ;)
IMPORTANT: Please do not send private messages and emails to members of staff - unless we specifically ask you to send us sensitive information, for example License Keys.

giosucci

    Reputation: 3
Re: terrain material to mesh, lumion 2.5
« Reply #8 on: November 29, 2012, 06:37:15 pm »
November 29, 2012, 06:37:15 pm
Stan,
even Lumion 3 behaves in the same way. I understand your question is about the extent of your terrain mesh, but I still wish some Lumion people would address this weird landscape material paint issue on custom meshes...

I guess the workaround to first import your mesh almost flat and then reimport at actual vertical scale after painting would work too, however, it would have to lay pretty close on top of the native infinite plane...

Regards

gio


hi gio, thanx a lot, did not come myself to that point, going to check it in few minutes , it's ok for now and helps me a lot with the actual project.

thank you very much!

stan


Gaieus

    Reputation: 44
Re: terrain material to mesh, lumion 2.5
« Reply #9 on: November 29, 2012, 11:10:25 pm »
November 29, 2012, 11:10:25 pm
First scale your mesh in Z before exporting (or Y in Lumion) so that it will have very little height, then make your painting, rescale and reimport.
What a brilliant trick!

(Someone please, add a reputation point to him - I used up my chance a long time ago)
Gai...

Zdenek Fajfrlik

    Reputation: 26
Re: terrain material to mesh, lumion 2.5
« Reply #10 on: November 29, 2012, 11:30:34 pm »
November 29, 2012, 11:30:34 pm
What a brilliant trick!

(Someone please, add a reputation point to him - I used up my chance a long time ago)

hi gai,
i did it!

though morten said, it only would work inside the lumion terrain area, so actually it does not work directly in place outside the terrain.
what i have  to check is to paint it within the terrain and move it then outside.
but i am too busy now with the project to be finished.

report later.
stan

Aaron

    Reputation: 80
Re: terrain material to mesh, lumion 2.5
« Reply #11 on: November 30, 2012, 03:30:40 am »
November 30, 2012, 03:30:40 am
what i have  to check is to paint it within the terrain and move it then outside.
but i am too busy now with the project to be finished.

That's not gonna work.
You're essentially painting on a heightmap (the terrain) and this gets projected onto your model when you apply the landscape shader.
This is why your paint will change when you move your model.
Nothing is actually painted on the model itself.

byzantium1200

    Reputation: 43
Re: terrain material to mesh, lumion 2.5
« Reply #12 on: November 30, 2012, 06:54:30 am »
November 30, 2012, 06:54:30 am
Thanks for the reputation points, came right in time when I was bleeding points due to my 3.o comments (of course I won't stop  :-D).

Zdenek Fajfrlik

    Reputation: 26
Re: terrain material to mesh, lumion 2.5
« Reply #13 on: November 30, 2012, 08:15:16 am »
November 30, 2012, 08:15:16 am
That's not gonna work.
You're essentially painting on a heightmap (the terrain) and this gets projected onto your model when you apply the landscape shader.
This is why your paint will change when you move your model.
Nothing is actually painted on the model itself.


aaaaaha, ok, thanx for saving my time.....
gads stan

Zdenek Fajfrlik

    Reputation: 26
Re: terrain material to mesh, lumion 2.5
« Reply #14 on: November 30, 2012, 08:17:24 am »
November 30, 2012, 08:17:24 am
Thanks for the reputation points, came right in time when I was bleeding points due to my 3.o comments (of course I won't stop  :-D).

hi,
 i cannot believe, you loose + points for constructive critics?

there is nothing better then critical objective proof and dialogue......

i'd give all my points back for this basic right......

And you got mine!

regards stan