Sun Detail Cutplanes in 1.6

I am working on a stellar evolution show and would like to use the Sun Detail cutplane that shows the interior of the Sun.  Currently I have only been able to cut the Sun through the Stars HTML bundle.  I would like to make my own command for it and am having trouble with the exact code. Has anyone figured out the correct code to use without the Stars HTML controls?
1.6

Czy artykuł był pomocny?

Odpowiedź
Z odpowiedzią
This is taken from the description of the Procedural Star Module

Enter these as a Custom Event or in the command line. They all start with ProceduralStar.prop.<property>

Useful properties

color: The color of the star. This is in RGB. Numbers from 0.0 - 1.0 
radius: The radius of the star specified in units of 108 meters.
cutPlane: Where to cut the star to show the interior. 0 cuts at the core. > 1 is no cut at all
coronaFalloff: How quickly the corona disappears the further it is from the star.
brightness: Have a guess.
convectionFrequency: Controls the size of the convection cells.
convectionAmount: 0 means no convection.
There are 10 layers in the interior of the star that can be configured. The layers are indexed from 0 to 9.
layerRadiusN: The radius in the range 0 to 1 of layer N. Replace N with the number of the layer you want to modify.
layerColorN: The color of layer N.


Examples

Assign these to custom events.
Our sun: ProceduralStar.prop.color 1 0.5 0.4 5;ProceduralStar.prop.radius 6.35 5;ProceduralStar.prop.coronaFalloff 10 5;ProceduralStar.prop.limbDarkening 0.7 5;ProceduralStar.prop.brightness 1.5 5;ProceduralStar.prop.convectionFrequency 20;ProceduralStar.prop.convectionAmount 1.5 5;ProceduralStar.prop.layerRadius0 0.2 5;ProceduralStar.prop.layerColor0 1 1 1 5;ProceduralStar.prop.layerRadius1 0.8 5;ProceduralStar.prop.layerColor1 1 0.65 0.55 5;ProceduralStar.prop.layerRadius2 1 5;ProceduralStar.prop.layerColor2 1 0.5 0.4 5;ProceduralStar.prop.layerRadius3 1 5;ProceduralStar.prop.layerColor3 1 1 1 5;ProceduralStar.prop.layerRadius4 1 5;ProceduralStar.prop.layerColor4 1 1 1 5;ProceduralStar.prop.layerRadius5 1 5;ProceduralStar.prop.layerColor5 1 1 1 5;ProceduralStar.prop.layerRadius6 1 5;ProceduralStar.prop.layerColor6 1 1 1 5;ProceduralStar.prop.layerRadius7 1 5;ProceduralStar.prop.layerColor7 1 1 1 5;ProceduralStar.prop.layerRadius8 1 5;ProceduralStar.prop.layerColor8 1 1 1 5;ProceduralStar.prop.layerRadius9 1 5;ProceduralStar.prop.layerColor9 1 1 1 5
Thank you, however, I'm not working in the Procedural Star.  I have that one under control.  I want to use the cutplanes in the Sun Detail module.  In the description of Sun Detail, it says the cutplanes are enabled, so now I just need to figure out the code to see the interior of the Sun Detail.  The code must be somewhere in the Stars HTML bundle, because that is what I want it to look like without the camera commands that seem to be built into the HTML controls.  I just can't figure out the proper coding for the Sun Detail interior commands.
I was in need of this exact information myself building a show this week.

Using the Sun Detail, the cutplane information can be found in the statemanger (gui.statemanger in the custom commands window to open) under SunDetail_Effect.

To activate the cutplane: SunDetail_Effect.prop.cutplane 1 3 will move the cut plane to full depth over 3 seconds. The value is a float value, not a boolean, from what I can see, allowing for variable depth of cut.

Unlike most other objects in Uniview, this one seems to be case-sensitive.