Short for lighting options
All  1-6  7-12

Previous
Next
 From:  Michael Gibson
2907.7 In reply to 2907.6 
Hi Al,

> the label refers to the field that you see in the image -

The image seems to be a screenshot of the lighting options dialog.

Is there a particular field within this dialog that you are asking about?

Maybe you could circle it or something to help clarify.

My previous message (here) showed how to make a shortcut key that will set the fields on that lighting options dialog with a script.

Are you having a problem editing the script to put in your particular values?

Sorry it is still not clear to me what you are asking about.


> scale 1d, the demand is for having exactly an other way to
> scale entity being able to arrange the Pivot of the Frame
> for being able it to move or then to orient in various way-

Maybe you could show an example of what you are trying to do - Scale1D does allow you to arrange the origin point and orientation of the scale to whatever location you want.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
2907.8 In reply to 2907.7 
Hi Michael,
I think he may be refering to this:

script:var dir = moi.view.lightDirection; if ( dir.x == 1 && dir.y == 1 && dir.z == -1 ) { dir.set(-0.5,1,0); } else { dir.set(1,1,-1); } moi.view.lightDirection = dir;

And the ability to move the lighting around.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  all2000 (SPEEDY)
2907.9 
Hi Michael and Friends
Excused if they have not been clear ;
what I wonder is of knowing if it is possible to make one
short that monster to shown video the lebel in the image,
that it affords to vary the types of lighting system of the objects,
rather than possession many various ones (script= short ) for every variation -

For example, for the several relative set-up to the snap , point, might, end , etc . etc ...
I have one short that ago to appear the lebel general for the single ones chosen -

Tanks
al
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BurrMan
2907.10 In reply to 2907.9 
Trying to help decipher.

It sounds like he's refering to "Presets" for the lighting system??? Thats the best I could do.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
2907.11 In reply to 2907.9 
Hi Al,

> what I wonder is of knowing if it is possible to make one
> short that monster to shown video the lebel in the image,
> that it affords to vary the types of lighting system of the objects,

I'm sorry - still even now I'm not sure I understand...

But if you want to make a shortcut to switch all lighting settings in a single keypress - yes that is possible, I posted the shortcut for it in the previous message here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=2907.2

You can edit the script inside of that shortcut to change the various settings.

So for example in your screenshot it looks like you want to have Lighting style = Key + more fill , and Specular turned on, with Specular brightness = 0.5 and Specular focus size = 0.5

To do that you would set up the following on a shortcut key as the command:


script: /* Set lighting options */ var v = moi.view; v.lightingStyle = 'MoreFill'; v.specularHighlights = true; v.specularBrightness = 0.5; v.specularFocusSize = 0.5; v.metallicLighting = false; v.fixedLightPositions = false;


With the above assigned to a keyboard shortcut, you can press that key and then the lighting options dialog will have the same settings as in your screenshot.


So to get that script above, I just edited a couple of the values in the script that was in the previous message (http://moi3d.com/forum/index.php?webtag=MOI&msg=2907.2).


- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
2907.12 In reply to 2907.9 
Hi Al, so here are a few more examples.

You can set each of these scripts as the command part of a keyboard shortcut to set a batch of lighting properties in one keypress.



Set default lighting:

script: /* Set to default light */ var v = moi.view; v.lightingStyle = 'Default'; v.specularHighlights = false; v.specularBrightness = 0.5; v.specularFocusSize = 0.5; v.metallicLighting = false; v.fixedLightPositions = false;



Set to "Key + more fill" style, with specular:

script: /* Set lighting options */ var v = moi.view; v.lightingStyle = 'MoreFill'; v.specularHighlights = true; v.specularBrightness = 0.5; v.specularFocusSize = 0.5; v.metallicLighting = false; v.fixedLightPositions = false;



Set to "Key + more fill" style, with specular + metallic:

script: /* Set lighting options */ var v = moi.view; v.lightingStyle = 'MoreFill'; v.specularHighlights = true; v.specularBrightness = 0.5; v.specularFocusSize = 0.5; v.metallicLighting = true; v.fixedLightPositions = false;



You can make any number of these, so that you can have a batch of lighting properties set all in one keypress.


- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-6  7-12