Lumion Support Center

Support for unlicensed users => Post here if you can't find your License Key => Topic started by: jorgensen on February 02, 2012, 06:33:47 am

Title: Adding stickers to Windows
Post by: jorgensen on February 02, 2012, 06:33:47 am
Hi

I'm illustrating a shopfacade and therefore needs to add stickers, but I can't figure out how to do it :-(

Any tips and tricks?

Thanks :-)
Title: Re: Adding stickers to Windows
Post by: peterm on February 02, 2012, 08:53:30 am
You can only really apply a single type of material in Lumion so although you can include a texture for the glass mesh, it will not also be glass and glass has no texturing ability. 

Not tested if will work or anything but what comes to mind could be:
1. duplicate the window and position it forward (maybe in middle) or behind the base window, reduce any depth/thickness in this as not really needed, or maybe just a plane same size as window will do
2. in DCC apply texture as you would to textured window mesh with suitable alpha, map the sticker suitably to get correct UV's
3. in Lumion: apply a Standard Material to this. (Note you can clear the colour key/alpha for textures by using the slider in Material Properties - Reflection or Clip, (see FAQ)
3.  in Lumion, apply Glass Material to other 'true' glass surface.

So you should end up with 1 surface with sticker texture and rest of surface cleared/keyed allowing you to see through to the glass surface.

An alternative as we're talking effectively about Decals (see recent post also on Decals (http://lumion3d.com/forum/index.php?topic=2954.0)), is to place your sticker texture on a plane object in Lumion, set material as above, and then position as you need relative to the window, positioning might take a little mucking around, but should be OK.  For each window requiring a different sticker(or combinations) you would need a new Decal surface so import your Decal surface x times with diff names.
Title: Re: Adding stickers to Windows
Post by: jorgensen on February 02, 2012, 10:28:28 pm
Hi peterm

I have tried to add (in Sketchup) an extra face in front of my glass and added a png texture that has transparency in it. It works ok, but it seems to me that the antialize tries to merge with a white color - so the stickers get a small white border :-/

Title: Re: Adding stickers to Windows
Post by: peterm on February 02, 2012, 11:30:33 pm
OK, at least it works  :). 

Do you have a sample pic or 2 and maybe mention something in Wish list for enhancement to see if rendering process can achieive a betterment.

Just wondering have you tried changing the Z depth for the image material if this has any impact on the aliasing effect.

Also was that render at 3Star or lower for render image/video?
Title: Re: Adding stickers to Windows
Post by: byzantium1200 on February 03, 2012, 09:42:44 am
Make your stickers part of the glass geometry, texture and map them and no antialising, z-depth problem etc.
Title: Re: Adding stickers to Windows
Post by: jorgensen on February 03, 2012, 10:00:44 am
Nice idea - but quite complicated when the stickers are texts and organic forms.

Title: Re: Adding stickers to Windows
Post by: peterm on February 03, 2012, 11:11:47 am
Make your stickers part of the glass geometry, texture and map them and no antialising, z-depth problem etc.

How do you then make the object a glass object that also has the stickers in Lumion?
Title: Re: Adding stickers to Windows
Post by: byzantium1200 on February 03, 2012, 11:35:49 am
How do you then make the object a glass object that also has the stickers in Lumion?
If I understood your question correctly: glass part and stickers have different materials. Assign the corresponding material glass in Lumion.
Title: Re: Adding stickers to Windows
Post by: Morten on February 03, 2012, 11:38:12 am
it seems to me that the antialize tries to merge with a white color - so the stickers get a small white border :-/
The white border is caused by the PNG texture - you need to add padding to the texture (ie, "extrude" the pixels along the edges):
http://lumion3d.com/forum/index.php?topic=2954.msg18904#msg18904 (http://lumion3d.com/forum/index.php?topic=2954.msg18904#msg18904)
Title: Re: Adding stickers to Windows
Post by: Jacobs Architekten on February 03, 2012, 01:06:22 pm
Hi all,

Do you mean something like below?...

J-P.
Title: Re: Adding stickers to Windows
Post by: Jacobs Architekten on February 03, 2012, 01:12:35 pm
... following the above post I posted the "sticker-test" files below so you all can see how I did this.
J-P.
Title: Re: Adding stickers to Windows
Post by: Jacobs Architekten on February 03, 2012, 01:14:07 pm
... if the files are not explainatory enough let me know than I will lead you through some simple steps.

J-P.
Title: Re: Adding stickers to Windows
Post by: Jacobs Architekten on February 03, 2012, 02:04:09 pm
... for those who won't get the explanation out of the files in the previous sent ZIP-file...

 1) I made a simple shop window in SketchUp (SU) everything in 1 layer. (You also can use seperate layers for each part.)
 2) All parts (ie. frame, glass and the sticker placeholder) are seperate groups. I put the placeholder 5mm in front of the glass.
 3) For all the parts (except for the sticker placeholder) I assigned a material.
 4) The sticker part...
 5) In Photoshop I made a "design" which has the same proportions  as the placeholder in SU (in this case; placeholder is 2000x2000mm, the photoshop design is 1000x1000 pixels)
 6) I saved the design as a PNG-24 file (which holds on to the transparency). In Photoshop you can find in the FILE dropdown a command called "Save For Web & Devices". From there you choose the PNG-24 option.
 7) Went back to SU and opened the sticker placeholder group.
 8) Went to File and choose "Import...", found the PNG file, marked "Use as texture" at the bottom right and clicked on "Open".
 9) Now I "glued" the sticker on the placeholder and closed the group.
10) I exported the model to FBX with the FBX export options; a) Geometry (triangulate all faces, export two-sided faces), b) Materials (Export texture maps), c) Scale (Swap YZ coordinates, Units: Centimeters)
11) Opened Lumion and imported the FBX file.
12) Assigned the materials for the frame and glass.
13) Now the sticker part doesn't have the sticker yet but the UV coordinates are there.
14) Assigned a STANDARD material to the sticker part and clicked on the textures icon. clicked on the left (black) square and found the PNG file and clicked on Open.
15) Now the sticker is applied but no transperancy yet. For that I used the "Reflection or clip"-slider (at the bottom-right in the Properties section) and moved it all to the right.
16) DONE!!! I also played around with the other settings like reflection etc. until I was satisfied.

That's it!

In short; the place holder in the modeler (in this case SketchUp) is the key for assigning a sticker in that modeler just to ensure the UV-coordinates. In Lumion you just have to re-assign the texture. I hope sincerely though that the guys at Lumion will find some day an easier way to put stickers on any face without using place holders in the modeler.

Have fun.

J-P.
Title: |
Post by: BABE™ on February 03, 2012, 02:07:45 pm
|
Title: Re: Adding stickers to Windows
Post by: Jacobs Architekten on February 03, 2012, 02:15:11 pm
... the same technique I used for a new project in the Netherlands...
See below.

J-P.
Title: Re: Adding stickers to Windows
Post by: Jacobs Architekten on February 03, 2012, 02:17:36 pm
Dazo... what do you mean by fog flicker?
Title: Re: Adding stickers to Windows
Post by: arch_bd on February 03, 2012, 02:43:31 pm
Great...
Title: Re: Adding stickers to Windows
Post by: Jacobs Architekten on February 03, 2012, 02:52:13 pm
do you have a fog flicker  , with this kind of set up ?

I made a small video without seeing any fog flickering.
J-P.
Title: Re: Adding stickers to Windows
Post by: Jacobs Architekten on February 03, 2012, 03:46:32 pm
S.O.L.U.T.I.O.N. to WINDOW STICKERS

All lumion needs to add is a TEXTURE PNG button , in GLASS

... or just a face object which can be adjusted in size, colour, transparency, etc. and a possibility to attach a texture on to it.

That would be awesome!

J-P.
Title: Re: Adding stickers to Windows
Post by: Remko on February 03, 2012, 05:42:33 pm
In short you can just model a coplanar extra surface on the window plane and in Lumion assign a texture to it. With the z bias you can make it so the sticker is always on top of the glass.
Title: Re: Adding stickers to Windows
Post by: Jacobs Architekten on February 03, 2012, 06:43:46 pm
Hi Remko,

But then you have to use the scale slider to get it right. Sometimes that's a hassle.

I read in posts about you guys studying the possibility to make a standard (white) flag where the user can drop his preferred texture. Now... IMHO it should not be that hard for you to make a standard plane/face object with the same ability.

J-P.
Title: Re: Adding stickers to Windows
Post by: Architect JM on February 20, 2012, 11:19:39 pm
how about this when imported from REVIT?
I've placed some decals inside a project in revit..
but when I imported the project to LUMION...
no decals..  :(
Do I have to redraw those in sketchup and the add to the project?
Title: Re: Adding stickers to Windows
Post by: Morten on February 21, 2012, 12:32:22 pm
Hi Architect JM, can you post this in question in the Importing section please?

I'd also be grateful if you could upload:

1) The decal objects in Revit format (no need for the full scene).
2) Any textures that are used by the decals.