Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Outerra Tech Demo download. Help with graphics driver issues

Author Topic: How to make a building toggle day/night state.  (Read 3633 times)

mori

  • Member
  • **
  • Posts: 63
  • newbie
How to make a building toggle day/night state.
« on: July 25, 2013, 05:26:21 pm »

I mean, i make a building, one texture  for day,
other glow map for night windows. And some simple script
that will switch it automatically.

Sorry if i don't make sense, i'm not native on this planet.
Logged

cameni

  • Brano Kemen
  • Outerra Administrator
  • Hero Member
  • *****
  • Posts: 6721
  • No sense of urgency.
    • outerra.com
Re: How to make a building toggle day/night state.
« Reply #1 on: July 28, 2013, 05:44:25 am »

It's not yet possible. There was also a discussion how exactly to implement it:
http://www.outerra.com/forum/index.php?topic=1571.0
Logged

mori

  • Member
  • **
  • Posts: 63
  • newbie
Re: How to make a building toggle day/night state.
« Reply #2 on: July 28, 2013, 06:37:23 am »

I've read the tread. Very interesting, i want to add my opinion to that.
Imagine you make a 3d building, and make a mesh for windows, then
make a node like <node id="Windows">
and system recognizes every polygon in that mesh as a window and upon initialization
of that building places a texture according to window shape and size, from a base.
And the same system changes those textures, according to different conditions.
Logged