Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Chart for .NET
»
Mesh Surfaces Appear White When FillMode = Uniform
Mesh Surfaces Appear White When FillMode = Uniform
Post Reply
Mesh Surfaces Appear White When FillMode = Uniform
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Lance Levendowski
Lance Levendowski
posted 9 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 60,
Visits: 157
NMeshSurfaceSeries chart objects appear white when NMeshSurfaceSeries.FillMode is toggled from ZoneTexture to Uniform.
Do the following to reproduce the issue:
1. Run …\Nevron .NET Vision 2016.1 for VS2008\Examples\Chart\WinForm\VB.NET\Nevron.Examples.Chart.WinForm.VS2010.sln
2. Navigate to “VB.NET Examples – All Examples – Chart Gallery – Mesh Surface – General”
3. In the “Fill Mode” dropdown select “Uniform”. Notice that the color of the surface is YellowGreen.
4. In the “Fill Mode” dropdown select “Zone Texture”.
5. In the “Fill Mode” dropdown select “Uniform”. Notice that the color of the surface is White.
I did some testing and the Color property of the NColorFillStyle that is associated with NMeshSurfaceSeries.FillStyle does not change (i.e., NMeshSurfaceSeries.FillStyle.Color = YellowGreen even though the surface appears white in the chart).
Is there any way to avoid this behavior?
Reply
Like
0
Nevron Support
Nevron Support
posted 9 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
Hi Lance,
This bug will be fixed in the upcoming SP.
Best Regards,
Nevron Support Team
Reply
Like
0
Lance Levendowski
Lance Levendowski
posted 9 Years Ago
ANSWER
Post Details
Group: Forum Members
Posts: 60,
Visits: 157
Build 16.5.9.12 fixed the issue that caused chart objects to appear white, but now there is a new issue.
If NMeshSurfaceSeries.FillMode is set to ZoneTexture in build 16.5.9.12 then surface charts do not appear to have any shininess. This issue does not exist in build 16.4.15.12.
Do the following to reproduce the issue:
1. Run …\Nevron .NET Vision 2016.1 for VS2008\Examples\Chart\WinForm\VB.NET\Nevron.Examples.Chart.WinForm.VS2010.sln
2. Navigate to “VB.NET Examples – All Examples – Chart Gallery – Mesh Surface – General”
3. Toggle the “Fill Mode” dropdown between "Zone" and “Zone Texture”.
The effect is much more noticeable if you use NChart.LightModel.SetPredefinedLightModel(Nevron.GraphicsCore.PredefinedLightModel.MetallicLustre).
Please let me know if you have trouble reproducing the new issue and I'll provide a sample.
Reply
Like
0
Nevron Support
Nevron Support
posted 9 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
Hi Lance,
We've checked the applied material style and it is the same in both cases. It must be due to the different way in which OpenGL calculates colors when color is specified per vertex and when it is taken from a mapped texture (which is the case in zone texture).
Best Regards,
Nevron Support Team
Reply
Like
0
Lance Levendowski
Lance Levendowski
posted 9 Years Ago
ANSWER
Post Details
Group: Forum Members
Posts: 60,
Visits: 157
I no longer observe the shininess issue when NMeshSurfaceSeries.FillMode is set to ZoneTexture in build 16.5.16.12 so that issue seems to have been fixed with the most recent build.
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search