View previous topic :: View next topic |
Author |
Message |
santutatu DeleD PRO user
Joined: 18 Aug 2007 Posts: 729 Location: ARGENTINA
|
Posted: Sat Nov 17, 2007 4:13 pm Post subject: scale lights? |
|
|
question...can i scale lights...for not having to merge the whole level and then scaling it (besides i have a prototype and the player model is in one scale and if i scale the whole level i would lose that scale _________________
|
|
Back to top |
|
|
elementrix DeleD PRO user
Joined: 11 May 2006 Posts: 1300 Location: The Netherlands
|
Posted: Sat Nov 17, 2007 5:06 pm Post subject: |
|
|
no you can't scale light objects (yet) |
|
Back to top |
|
|
santutatu DeleD PRO user
Joined: 18 Aug 2007 Posts: 729 Location: ARGENTINA
|
Posted: Sat Nov 17, 2007 5:13 pm Post subject: |
|
|
so...what should i do?....you say that i should scale the character by code only for this level and then scale the level so i can make a proper lightmapping? _________________
|
|
Back to top |
|
|
Mr.Fletcher DeleD PRO user
Joined: 07 Aug 2004 Posts: 1772 Location: Germany
|
Posted: Sat Nov 17, 2007 5:21 pm Post subject: |
|
|
You can adjust the light attentuation manually, just select the lights and open the object inspector. That's all you need to change there. Small scenes just have the disadvantage of light objects blocking the sight in 3D views.
Also, you don't need to merge the entire scene to scale it up. Just disable "individual scale". _________________ Behold! The DeleD Wiki! Please help us expanding it
DeleD on IRC |
|
Back to top |
|
|
santutatu DeleD PRO user
Joined: 18 Aug 2007 Posts: 729 Location: ARGENTINA
|
Posted: Sat Nov 17, 2007 5:34 pm Post subject: |
|
|
Mr.Fletcher wrote: |
You can adjust the light attentuation manually, just select the lights and open the object inspector. That's all you need to change there. Small scenes just have the disadvantage of light objects blocking the sight in 3D views.
Also, you don't need to merge the entire scene to scale it up. Just disable "individual scale". |
roger that...i will try the attentuation... _________________
|
|
Back to top |
|
|
santutatu DeleD PRO user
Joined: 18 Aug 2007 Posts: 729 Location: ARGENTINA
|
Posted: Sat Nov 17, 2007 5:41 pm Post subject: |
|
|
ok i have been changing the quadratic...and now it looks great....thanks mr fletcher _________________
|
|
Back to top |
|
|
Paul-Jan Site Admin
Joined: 08 Aug 2004 Posts: 3066 Location: Lage Zwaluwe
|
Posted: Sun Nov 18, 2007 2:08 pm Post subject: |
|
|
Future outlook: The non-lineair OpenGL lighting model doesn't really allow us to properly scale the lighting with the rest of the scene. If (when!) we resort to a simpler lighting model that should be possible, and I think that scaling the light parameters with the rest of the selected primitives does sound like a neat and proper way to handle things. Good point! |
|
Back to top |
|
|
santutatu DeleD PRO user
Joined: 18 Aug 2007 Posts: 729 Location: ARGENTINA
|
Posted: Sun Nov 18, 2007 3:31 pm Post subject: |
|
|
thanks...what i was thinking was: if you can scale the point lights, you could get the proper result without having to mess out with the object panel, i mean, if you want to make the moon you just scale the light to a big (not huge) size and you insert it far away from the scene...if you want to make just a street light you make a small size point light.... ..i dunno if it's difficult to programme it....as i have no idea on these things _________________
|
|
Back to top |
|
|
|