IGeometryFeatrue set ShowBackfaces doesn't work

Hy,

is it possible that in current VC following doesn’t work?

IGeometryFeatrue gf;
gf.ShowBackfaces = true;

Thx & Regards
Feature

Hey,
The property itself seems to be working; I’ve tested with this simple triangle:

var app = IoC.Get<IApplication>();
var comp = app.World.FindComponent("NewComponent");

var cont = comp.RootNode.RootFeature.CreateFeature<IGeometryFeature>(false, false);
var geoset = cont.Geometry.CreateGeometrySet(GeometrySetType.TriangleSet) as ITriangleSet;

geoset.AddPoint(new Vector3(0, 0, 100));
geoset.AddPoint(new Vector3(100, 0, -100));
geoset.AddPoint(new Vector3(-100, 0, -100));
geoset.AddTriangle(0, 1, 2);

cont.Name = "CustomGeometry";
cont.ShowBackfaces = true;
comp.Rebuild();

Hy @yanto ,

I do quite the same as you but my settet ShowBackfaces-Property seems that it is not settet correct. → The checkbox is not checked after…

Do you use latest Version of VC?

Thx & Regards
Feature

Hy @ all,

I found out that following was the reason why the ShowBackfaces.Property where reseted…

IGeometryFeatrue gf;
gf.ShowBackfaces = true;
gf.RebuildNodes(true, true); <----------- Hmmmpf ;)

Regards
Feature