Jump to content

Editor Options, Editor.in and LUA commands


Roland
 Share

Recommended Posts

I can see that the choice made in the Editor Options dialog are saved to Editor.ini.

Now I'm trying to find out which LUA command each option line in Editor.ini corresponds to.

Anyone that can help me with filling in the blanks?

 

Editor.ini LUA Command

Trilinear_Filter TFilter

Anisotropic_Filter AFilter

FOV ???

TextureQuality SetTextureQuality

Physics_Quality SetPhysicsQuality

modeldetail ???

ShadowQuality SetShadowQuality

reflectionquality SetReflectionElements

VerticalSync Flip

terrainshadows ???

grassshadows SetVegetationShadowMode (exist in C++, not in LUA??? )

Godrays SetGodrays

SSAO SetSSAO

Antialias SetAntialias

HDR SetHDR

Bloom SetBloom

DOF SetNearDOF or SetFarDOF ???

doffarrange SetNearDOFRange or SetFarDOFRange ???

AV MX Linux

Link to comment
Share on other sites

i had at one time a scripted object posted in the asset store that actually allowed you to set all of the standard items that are listed in the editor. Then if you loaded your scene the same settings would be automatically available in your program. But unfortunately with all the forum data losses and me not being able to access my LE stuff for several more weeks, I can't load it up for you... perhaps someone that downloaded it can post it for you.

 

but in any case,

ModelDetail(integer) - integer sets the LOD model reference where 0 is the highest level of detail

terrain:SetShadowMode(1)

Depth Of Field commands = http://www.leadwerks.com/wiki/index.php?title=Framework#Depth_of_Field_Commands

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...