Download Trial Buy now
Log in or Sign up for the chat.

Search  | Login  | Register

Post new topic Reply to topic  [ 78 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Offline
User avatar
Site Admin
Big Fan wrote:
ono I am not really convinced by your 'compelling reason' :wink:

you already have flux hanging out of emission which you have written is actually watts x luminous efficiency

I could do a wee wangle there in the UI and present flux as efficacy scale input and multiple the 2 parameters together under the skin to give flux... :roll:

I have thought about this useablility and what I would like to do is to keep my UI the way I have it for emission being an extra dimension for a material (ie simple glow - no IES access there), but also keep 'meshlights' (or simply 'lights') in the mats menu (actually as a mat under the skin but with reversed emphasis.)

ie meshlights will appear not unlike present with IES but there will be a simple menu at the bottom to choose a generic material type for reflectivity of the light source/mesh

so in other words they will actually reference the same things but in a different order/way.
seems to me there are many cases where the light source doesnt need to be thought of as a material or with all the trappings and options of one.
I guess its just a matter of logical/intuitive presentation to the user

if you convert the present meshlights stuff internally is it not possible to keep the parameters for that hanging out of the code for us to retain 'peak' , 'blackbody' etc? 8)

of course other script writers may have other ideas and seeing as how I am on the outside of things here ordinarily my opinion is not so important... still I'll persist with this enquiry in the meantime :)


You could definitely present a UI to the user that has a luminous efficacy box, plus a power drawn (wattage) box, if you want. Then, as you said, just multiply the numbers to get the luminous flux. Also you could have a default luminous efficacy of 13 lm/W or whatever.


 Profile  
 
Offline
yeah ok considering it, but what say I want to specify a light source at 6000k...say from an electronic flash unit
how can I do this now (or provide a work around to acheive it)?


 Profile  
 
Offline
User avatar
I didn't know, luminous flux is Temperature dependent O.o


 Profile  
 
Offline
User avatar
Afaik it isn't...


 Profile  
 
Offline
well? still want to know...


 Profile  
 
Offline
User avatar
Can't <spectrum> still be used as a child of, <constant> say ? I think I understood this at some point, earlier, not sure really...

_________________
Back from Lagrange 5


 Profile  
 
Offline
User avatar
Site Admin
Big Fan wrote:
yeah ok considering it, but what say I want to specify a light source at 6000k...say from an electronic flash unit
how can I do this now (or provide a work around to acheive it)?


Just use a blackbody spectrum at 6000K for the base emission.


 Profile  
 
Offline
ok thanks :D

for some reason I understood they were disappearing along with meshlights...but if they live on thats fine :wink:


 Profile  
 
Offline
User avatar
Ah I wanted to say that but I messed it all :)

_________________
Back from Lagrange 5


 Profile  
 
Offline
User avatar
3rd dev
OnoSendai wrote:
Big Fan wrote:
yeah ok considering it, but what say I want to specify a light source at 6000k...say from an electronic flash unit
how can I do this now (or provide a work around to acheive it)?


Just use a blackbody spectrum at 6000K for the base emission.


Sry guys. I'm a little late with this.
How do you exactly use the bb spectrum inside the emission?

This doesn't work:

Code:
         <base_emission>
         <spectrum>
            <blackbody>
               <temperature>3000</temperature>
               <gain>0.01</gain>
            </blackbody>
         </spectrum>
         </base_emission>


 Profile  
 
Offline
User avatar
Again I must be saying stupid things but isn't spectrum supposed to be a child of constant ?

Code:
    <ripped>


Again I lack practice but that's how I understood it should be, that's why I'm insisting :/ Most certainly I'm wrong but...

_________________
Back from Lagrange 5


Last edited by CTZn on Wed Sep 24, 2008 12:39 am, edited 1 time in total.

 Profile  
 
Offline
User avatar
3rd dev
Constant? When did that happen? Can't keep up anymore. What is it for exactly? (it's probably in the manual, isn't it :) )

But nope, it doesn't work even with constant. I got:
Code:
Unexpected element 'spectrum' in element 'constant'


 Profile  
 
Offline
User avatar
Sure I just tested that (finally :roll:), removed spectrum tag and now it works ! The correct syntax is

Code:
      <base_emission>
        <constant>
                <blackbody>
                   <temperature>3000</temperature>
                   <gain>0.01</gain>
                </blackbody>
        </constant>
      </base_emission>


By the way Indigo told you that was the next thing to try ;)

_________________
Back from Lagrange 5


 Profile  
 
Offline
User avatar
3rd dev
Hey, thanks!
Working great now.

Ps. Indigo told me what ? :lol:
(sry if i'm a bit slow. I'm at work and doing 100s of things simultaneously)


 Profile  
 
Offline
User avatar
suvakas wrote:
But nope, it doesn't work even with constant. I got:
Code:
Unexpected element 'spectrum' in element 'constant'


Since the error was reported in plain english it's good then to reproduce your code but just remove what bugs Indigo. The removed example two posts above was theorical and faulty, but I experienced the same error as you did and followed the indication, ie remove the <spectrum> tag.

Got me ? Sorry suv I guess you know that all, about Indigo handled errors :)

_________________
Back from Lagrange 5


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 78 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group