This is the discussion forum for Helix Toolkit.
For bugs and new features, use the issue tracker located at GitHub.
Also try the chat room!
0

Kuwin

kuwin68town 1 year ago 0

Kuwin là thương hiệu cá cược trực tuyến hàng đầu, nổi bật với độ uy tín, minh bạch và dịch vụ chuẩn quốc tế. Với giao diện hiện đại, thân thiện và tốc độ truy cập mượt mà, Kuwin mang đến cho người chơi những trải nghiệm giải trí đỉnh cao, từ cá cược thể thao, casino trực tuyến, game bài đổi thưởng cho đến bắn cá, nổ hũ…

Website: https://kuwin68.town/

0

Flip the scene Horizontally

Darren Roberts (DarrenRobertsM 1 year ago updated by UU88 Net 1 year ago 2

using the mouse rotation feature I can rotate the scene and I can flip the scene Vertically. Same with the arrow key, left and right rotate and up/down flip vertically.  I can't flip Horizontally so i can view my 3D model from the side.  There must be a way.   I don't seem to be able to find any documentation on the Helix Toolkit so thought I'd ask here.  I'm sure it's really simple.

0

3D Background

Mick 2 years ago 0

I want to show skybox as background in my WPF application using helix.toolkit, but I don't know how to do that. 

Please help me if anyone knows.

Thanks

0

3d cube with colored cells

TheInevitable360 3 years ago updated by james vens 2 years ago 0

I am working on a code to build a 3D cube that has mesh/cell in each direction and each cell has its own color. now i sue this method which produces exactly what i want:

private void BuildCustomCube22(int x, int y, int z)
{
    double cubeSize = 1.0; // Size of each cube cell

    Random random = new Random();

    var modelGroup = new Model3DGroup();

    for (int i = 0; i < x; i++)
    {
        for (int j = 0; j < y; j++)
        {
            for (int k = 0; k < z; k++)
            {
                var position = new Point3D(
                    i * cubeSize + cubeSize / 2,
                    j * cubeSize + cubeSize / 2,
                   k * cubeSize + cubeSize / 2);

               // Generate a random color for each cube
               Color color = Color.FromRgb((byte)random.Next(256), (byte)random.Next(256),
               (byte)random.Next(256));

               var cube = new BoxVisual3D
               {
                   Center = position,
                   Width = cubeSize,
                   Height = cubeSize,
                   Length = cubeSize,
                  Material = MaterialHelper.CreateMaterial(color),

                };

               // Add the cube to the model group
               modelGroup.Children.Add(cube.Model);
           }
       }
   }

    // Add the model group to the viewport
    viewport.Children.Add(new ModelVisual3D { Content = modelGroup });
}

and the result is:

Image 195

The issue is when i increase mesh like 100*100*100, i get very poor performance like not being able to easily zoom in/out or move object around. I wonder how can i achieve the result i want event with high number of cells with no lag.

P.S: somebody told me: You are making way too many models. You can try to use Helix toolkit sharpdx version with instancing rendering capability

but i don't know if it can solve my issue and i don't know how to implement it. 

0

Is it possible to draw a simple text

Michael Insberg 4 years ago 0

Hi,

I want to draw a text with helix anny suggestions how to do that?

Greeting Michael

0

Rotating Label

Alberto 4 years ago 0

Hi, I made an application which render a panel that might have different texture on each side. The model is free of rotation over all axes. My boss asked me if would be possible to identify each panel side with a label (one digit for each side) and let it rotate with the panel... but sincerely I dunno how to achieve this, expecally to keep each label "in front" of the view point.

Any hints?


Image 181

0

writing up docs

jmg07 5 years ago 0

Hi, 

if anyone wanted some help writing up docs for helix toolkit happy to help.

0

Can helix toolkit be used with .NET 5.0? And which nuget SharpDX package should be used?

jmg07 5 years ago 0

Hi, 


I'm guessing helix toolkit can be used with .NET 5.0 because it works in my wpf project - but i did notice in the package tab it says "Package 'HelixToolkit.Wpf.2.17.0 "  was restored using .NetFramework.Version=4.6.1, etc."" 


I wasn't 100% sure which nuget package to use - the "HelixToolkit" or "HelixToolkit.Wpf".


And at the link https://github.com/helix-toolkit/helix-toolkit there are a list of sharpDX packages and wasn't sure whether to use HelixToolkit.SharpDX.wpf or HelixToolkit.SharpDx.core.


Thanks.

0

HelixToolKit 3d How to add shadows?

Zaug 5 years ago 0
I'm building an engine with helix toolkit, but I can't add shadows, I'm new to helix, and I need your help, please.......
0

How can I draw many circles with SharpDX

MichaeInsberg402 5 years ago updated by Kong Lee 4 years ago 206

Hi,

I want to draw many circles on the viewport.

Each circle should have a differnt color.

How can I do that.

I try it with the LineBuilder but then circle has many colors.

foreach (var _ in Lines.LineGeometry.Lines)
{
  var color = GetNewColor(); //Ttis method just return a clolor
  Lines.LineGeometry.Colors.Add(color);
  Lines.LineGeometry.Colors.Add(color);

Any suggestions?