Go Back   AC3D Forums > General > AC3D Suggestions
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 12th March 2010, 05:24 AM   #1
Mossie
Senior Member
Professional user
 
Mossie's Avatar
 
Join Date: Dec 2003
Location: UK
Posts: 369
Default Lighting

The current lighting facilities are limited and I'd like to see some enhancements that follows the OpenGL syntax.


Example code:

{
type = "lighting"
enabled = true
local_viewer = true
two_sided = true
ambient = {0.55, 00.85, 0.75, 1.0}
}

Description:

Used to set the reflective values from the material.

* enabled = boolean. Set to true to enable lighting.
* local_viewer = boolean. If true viewer will see reflections according to eye line.
* two_sided = boolean. If true uses back and front lighting, else front only.
* ambient = table with 4 numbers. Defines an RGBA color, with values ranging from 0 to 1.

Default states:

* enabled = true
* local_viewer = false
* two_sided = false
* ambient = {0.2, 0.2, 0.2, 1.0}

Could these elements be added to the properties of the light function?
__________________
Regards, Gerry "Mossie" Mos
--------------------------------------------------------------------------
WW1 Aircraft Library
http://ww1-aircraft.info/

Mossie 3D CAD, "Prompt and Precise"
http://mossie3dcad.com/
Mossie is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 01:35 PM.


AC3D Forum
(C) Inivis Limited 2020