Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show only
|
Search instead for
Did you mean:
This page has been translated for your convenience with an automatic translation service. This is not an official translation and may contain errors and inaccurate translations. Autodesk does not warrant, either expressly or implied, the accuracy, reliability or completeness of the information translated by the machine translation service and will not be liable for damages or losses caused by the trust placed in the translation service.Translate
RTX mode looks beautiful, however it also looks very dark and cluttered with shadows.
As there is no way to turn off shadows in RTX mode, could you add a daylight lighting system or gamma setting or allow the ambient light to affect RTX mode?
It's probably better to have the lights stored as objects in the model tree (not tools) too so that you don't have to recreate for every view. Also allow them to be placed in the object hierarchy so that viewing a cell as the focus doesn't mean you lose all of the lighting (as you lose conveyors currrently)
Here's an example script for the creation of a grid of lights for a view. To run it you should first right click the view background and choose "View->Desginate This View (sv)" and alter any of the commented values to suit your need.
It seems the more lights you have, the slower the rendering will be.
treenode view=sv(); //right click the view background and choose set as sv()
Vec3 startloc=Vec3(-10,-10,20); // the SouthWest most corner of the lighting grid (min x and y)
double xsize=20; // grid x size
double ysize=20; // grid y size
double brightness=0.01; // brightness per light
int spacing=2; // grid spacing
double x0=startloc.x;
double y0=startloc.y;
double z0=startloc.z;
int lightidx=0;
double x;double y;
treenode lights=viewlights(view);
treenode light=lights.first;
while (lights.subnodes.length>1)
lights.last.destroy();
for (int xidx=0;x0+xidx*spacing<x0+xsize;xidx++) {
for (int yidx=0;y0+yidx*spacing<y0+ysize;yidx++) {
lightidx++;
x=x0+xidx*spacing;
y=y0+yidx*spacing;
if (lightidx>1)
light=createcopy(light,lights);
light.name="Light Source "+lightidx;
light.subnodes[1].value=x;
light.subnodes[2].value=y;
light.subnodes[3].value=z0;
light.subnodes[4].value=brightness;
light.subnodes[5].value=brightness;
light.subnodes[6].value=brightness;
light.subnodes[7].value=0;
light.subnodes[8].value=0;
}
}
Note that with good settings for RTX, the lights may be incorrect for non-RTX viewing - requiring more ambient light to correct which is not ideal. The whole system needs calibrating or an exposure/gamma setting adding.
Also note that if you close the view you lose the light setting since it's not currently stored with the model - is the view window that contains the definitions. Because of this you may/not want to set it as the default view.
Maybe you find SDKs for your graphic card to set special parameters controlling in general values of shadow creation. C++ libraries have been very common in games creation in the past. So I think that you can find appropriate classes to take influence from FlexSim on such classes.
Apparently the view lighting system exists alongside a model lighting system that was introduced in 2020 and for which objects from the library (visuals section) can be dragged into the model. This includes area, point and directional lights which may do a better job then the view lights.