Author Topic: Adding stickers to Windows  (Read 5086 times)

jorgensen

    Reputation: 15
Adding stickers to Windows
« on: February 02, 2012, 06:33:47 am »
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 :-)

Re: Adding stickers to Windows
« Reply #1 on: February 02, 2012, 08:53:30 am »
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), 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.

jorgensen

    Reputation: 15
Re: Adding stickers to Windows
« Reply #2 on: February 02, 2012, 10:28:28 pm »
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 :-/


Re: Adding stickers to Windows
« Reply #3 on: February 02, 2012, 11:30:33 pm »
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?

byzantium1200

    Reputation: 42
Re: Adding stickers to Windows
« Reply #4 on: February 03, 2012, 09:42:44 am »
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.

jorgensen

    Reputation: 15
Re: Adding stickers to Windows
« Reply #5 on: February 03, 2012, 10:00:44 am »
February 03, 2012, 10:00:44 am
Nice idea - but quite complicated when the stickers are texts and organic forms.


Re: Adding stickers to Windows
« Reply #6 on: February 03, 2012, 11:11:47 am »
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?

byzantium1200

    Reputation: 42
Re: Adding stickers to Windows
« Reply #7 on: February 03, 2012, 11:35:49 am »
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.

Re: Adding stickers to Windows
« Reply #8 on: February 03, 2012, 11:38:12 am »
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

Jacobs Architekten

    Reputation: 14
Re: Adding stickers to Windows
« Reply #9 on: February 03, 2012, 01:06:22 pm »
February 03, 2012, 01:06:22 pm
Hi all,

Do you mean something like below?...

J-P.

Jacobs Architekten

    Reputation: 14
Re: Adding stickers to Windows
« Reply #10 on: February 03, 2012, 01:12:35 pm »
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.

Jacobs Architekten

    Reputation: 14
Re: Adding stickers to Windows
« Reply #11 on: February 03, 2012, 01:14:07 pm »
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.

Jacobs Architekten

    Reputation: 14
Re: Adding stickers to Windows
« Reply #12 on: February 03, 2012, 02:04:09 pm »
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.

BABE™

    Reputation: 95
|
« Reply #13 on: February 03, 2012, 02:07:45 pm »
February 03, 2012, 02:07:45 pm
|

Jacobs Architekten

    Reputation: 14
Re: Adding stickers to Windows
« Reply #14 on: February 03, 2012, 02:15:11 pm »
February 03, 2012, 02:15:11 pm
... the same technique I used for a new project in the Netherlands...
See below.

J-P.