Search found 4 matches

by Michael_777
Thu Jun 04, 2020 2:50 am
Forum: General Issues
Topic: 3D curve with gradient color
Replies: 1
Views: 3355

Re: 3D curve with gradient color

Have a look at the Lines sample. It has per vertex check box and allows changing colors.
If your curve is parametric and you need it for something else you can add the sampled line for rendering only (as a child perhaps) and make the original one invisible.
regards
by Michael_777
Sun Jul 28, 2013 12:38 pm
Forum: General Issues
Topic: Adding objects from another file
Replies: 1
Views: 8983

Re: Adding objects from another file

Hi Sergei C# DataFlow sample uses ModelManager.ImportObjects() which does this. Have a look at Samples\NET\C#\KernCADLib\ModelManager.cs with any text editor. It should be clear even if you do not code in C#. It uses IModelEx.Load(). I had same question and it is the only place I found apart from th...
by Michael_777
Sun Jul 28, 2013 12:32 pm
Forum: General Issues
Topic: Importing VRML with .psd texture
Replies: 3
Views: 12796

Re: Importing VRML with .psd texture

It worked for me also with .png and .gif

Mike
by Michael_777
Sun Jul 28, 2013 8:41 am
Forum: Bug Reports
Topic: Shading problem
Replies: 1
Views: 7495

Shading problem

Hi I am trying to shade an object imported form step. I have problem with that. I tried this also in C# data flow example. I have added only three lines to InitModelInfo(): private void InitModelInfo(): { m_iModel - afxKernCAdnet1.GetModel(); ISection isect = m_iModel.GetSection(0); IMesh imesh = (I...