Author Topic: Stained Glass Windows Questions  (Read 342 times)

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
Stained Glass Windows Questions
« on: May 20, 2015, 03:44:33 pm »


               

As part of this months ccc I would like to make use of some textures, that I have found on the net, to make some placeable stained glass windows. What I am proposing to do is to have 2 models for each window - 1 illuminated and 1 dark. I plan on having it so that the model displayed depends on 2 things, the time of day and whether the window is being viewed from indoors or out. Here are the textures for the two models that make up one window.


 


KynarethL.png       KynarethD.png


 


If you look close enough, you can see that the one on the right is not actually black but is just a very dark version of the one on the left.


 


Now having spent some time looking, I have been unable to find any tutorials concerning making stained glass window placeables. I am in the dark (pun intended ':sick:' ) so I have a few questions that I hope someone can help with.


 


If I want the window on the left to actually glow like ordinary tileset windows after dark, I suspect that I need to adjust the values against the selfillumcolor parameter in the model from 0 0 0 to something else. Is this a correct assumption and if it is, what values do I need to make it as bright as the tileset windows I mentioned.


 


In order to keep things simple I'll leave it there for now and hope that I get a reply.


 


Thanks in advance for any help.


 


TR



               
               

               
            

Legacy_Proleric

  • Hero Member
  • *****
  • Posts: 1750
  • Karma: +0/-0
Stained Glass Windows Questions
« Reply #1 on: May 20, 2015, 10:17:33 pm »


               Could it all be in one model with Activated and Deactivated states?
               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
Stained Glass Windows Questions
« Reply #2 on: May 20, 2015, 11:41:25 pm »


               

If I knew how to do that, I would. This is the base model (before editing) that I had planned to use.



#MAXMODEL ASCII
# model: es_banner01
filedependancy es_banner01.max
newmodel es_banner01
setsupermodel es_banner01 NULL
classification character
setanimationscale 1
#MAXGEOM  ASCII
beginmodelgeom es_banner01
node dummy es_banner01
  parent NULL
  #part-number 0
endnode
node trimesh Plane01
  parent es_banner01
  #part-number 1
  ambient 1 1 1
  diffuse 1 1 1
  specular 0 0 0
  shininess 1
  bitmap es_banner01
  verts 4
    -1.25 0 1.25
    -1.25 0 -1.25
    1.25 0 1.25
    1.25 0 -1.25
  tverts 4
    0 1 0
    0 0 0
    1 1 0
    1 0 0
  faces 2
    0 1 2 1 0 1 2 1
    3 2 1 1 3 2 1 1
  position 0 0 2
  orientation 0 0 0 0
  scale 1
  selfillumcolor 0 0 0
  alpha 1
endnode
endmodelgeom es_banner01
 
donemodel es_banner01

Obviously names and dimensions have to change. So what would I need to do to make it have Activated and Deactivated states? All the stuff I have made so far just sits there doing nothing but look pretty.


 


TR



               
               

               
            

Legacy_Michael DarkAngel

  • Hero Member
  • *****
  • Posts: 627
  • Karma: +0/-0
Stained Glass Windows Questions
« Reply #3 on: May 21, 2015, 12:14:23 am »


               

Will this help...


 


Animating Day/Night window transitions


 


icon_zdevil.gif


MDA


               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
Stained Glass Windows Questions
« Reply #4 on: May 21, 2015, 01:18:08 am »


               

Thanks for the tutorial. It may well help, I'll have to give it a good look to be certain.


 


TR