Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 14 21:24
    heyufei2008 opened #1564
  • Apr 14 17:41
    holance closed #1551
  • Apr 14 17:41
    holance labeled #1551
  • Apr 14 17:41
    holance labeled #1551
  • Apr 14 17:41
    holance labeled #1551
  • Apr 14 17:41
    holance labeled #1551
  • Apr 14 17:41

    holance on develop

    Adds coordinate system axis col… Merge pull request #1563 from h… (compare)

  • Apr 14 17:41
    holance closed #1563
  • Apr 14 17:23
    holance opened #1563
  • Apr 14 17:12
    holance closed #1416
  • Apr 14 17:12
    holance commented #1416
  • Apr 14 04:59

    holance on develop

    Add preliminary hit check with … Merge pull request #1562 from h… (compare)

  • Apr 14 04:59
    holance closed #1562
  • Apr 14 01:31
    holance opened #1562
  • Apr 14 01:30
    holance closed #1554
  • Apr 13 23:48

    holance on develop

    Fix frustum test bug. Fix frustum test bug Move FXAA to the end of renderi… and 1 more (compare)

  • Apr 13 23:48
    holance closed #1561
  • Apr 13 22:53
    holance opened #1561
  • Apr 13 07:04
    MichaelInsberg commented #1560
  • Apr 13 06:40
    eriove commented #1560
DeshpandeJanhavi
@DeshpandeJanhavi

I want to render a 3D plane with texture stored in a bitmap. I tried using setting texture coordinate values to pixel colors I got from bitmap, but the texture is not getting assigned.
var texcoords = new Point[rows, columns]; for int(i=0;i<rows;i++) for(int j=0; j<columns; j++) { Color pixelColor = bitmap.GetPixel(i,j); texcoord[i,j] = new Point(pixelColor.R/255, pixelColor.R/255); } surfaceMeshBuilder.AddRectangularMesh(Points, texcoord);

Is there any other way to achieve this? Or is there any way I can directly render bitmap in a 3D scene?

TechAspirant
@TechAspirant
How can I load 3DS file using HelixToolkit.Wpf.SharpDX.Assimp ?
void110916
@void110916
Hi, I'm a beginner developer. I'm using HelixViewport3D in wpf. I have some problem when using this tool:
  1. How to transmit or rotate model each frame?
  2. Is HelixViewport3D using GPU or I have to change HelixViewport3D into Viewport3DX?
Lunci
@holance
@void110916 You can do animation or manually update the transform in each frame using wpf composition target. Helix toolkit viewport is using GPU for mesh rendering. But lines and points are updated by CPU. If you need to render a lot of lines and points, you may want to use helix toolkit sharpdx version.
void110916
@void110916
@holance Did you mean HelixToolkit.Wpf.SharpDX, HelixToolkit.SharpDX.Assimp, HelixToolkit.SharpDX.Core or HelixToolkit.SharpDX.Core.Wpf ?
Lunci
@holance
@void110916 Depends on which dot net platform you are going to use.
void110916
@void110916
image.png
I'm using WPF .NET Framework 4.8 DLL and link it with WinForm element host. Whitch sharpDX is recommended to use?
Lunci
@holance
@void110916 HelixToolkit.Wpf.SharpDX
HelixToolkit.SharpDX.Assimp
void110916
@void110916
Got it. Thanks a lot.
david33-a11
@david33-a11
Hi, how can I draw a point cloud in a HelixViewport3D to show the structure of the points?
Do you Know any tutorial or examples?
I'm new with helix-toolkit, and I'm trying to do an interface with a 3D representation of a point cloud
Lunci
@holance
@david33-a11 Use HelixToolkit SharpDX version with PointGeometryModel3D to render point cloud.
david33-a11
@david33-a11
okay, thanks
and do you know any tutorial?
DeshpandeJanhavi
@DeshpandeJanhavi
hello, how do i know bounds of volumeTextureModel3D?
created the volume model using: volModel = new VolumeTextureModel3D();
DeshpandeJanhavi
@DeshpandeJanhavi
volModel.VolumeMaterial = volMaterial
aronbardsley
@aronbardsley
Hi All - I am using Helix Viewport3DX. I am using the EnvironmentMap3D property to specify an environment which my model can use to reflect the environment. But I want the background behind the model to be transparent. Is this possible?
Lunci
@holance
@DeshpandeJanhavi Volume bound is always 1x1x1 cube
@aronbardsley Environment map is a static image. Not sure why you want to reflect environment but not rendering the environment map.
Andrii Petruk
@Barbedx
image.png
Hi guys, there are some built in tool for draw a curved pipe by specified angle?
Like something in right side
1 reply
Jimmy Li
@ljmljz
Hi, Is it possible to clone a SceneNodeGroupModel3D object?
void110916
@void110916
Hi, I add a ModelVisual3D to my Helix Viewport3D, and this ModelVisual3D contains some model3Ds. But when I change the transform of these model3Ds, the final ModelVisual3D doesn't change. Is there any steps that can refresh the ModelVisual3D ?
Kim Kulling
@kimkulling
hi
Dimoniums
@Dimoniums
Hello, I'm using Helix SharpDX to display a collection of PointGeometryModel3D. I am attempting to use the built in "MouseDown3D="HelixView_MouseDown3D" to do hit testing, and can't seem to be able to select points. This approach works well for MeshGeometryModel3D and LineGeometryModel3D. Any advice?
Dimoniums
@Dimoniums
helix-toolkit/helix-toolkit#1416 Seems this issue existed before, but I don't see that it was corrected.
Lunci
@holance
@Dimoniums How many points in each of the PointGeometryModel3D in your case?
The issue only happens when there is only one point in PointGeometryModel3D.
Dimoniums
@Dimoniums

All points are in one ObservableCollection which is added to the view through a template

<DataTemplate x:Key="Point3DTemplate">
<hx:PointGeometryModel3D Geometry="{Binding Geometry}" Color="{Binding Color}" Size="{Binding Size}" Tag="{Binding Tag}" IsHitTestVisible="{Binding IsHitTestVisible}" FixedSize="True"/>
</DataTemplate>
<hx:ItemsModel3D ItemTemplate="{StaticResource Point3DTemplate}" ItemsSource="{Binding HelixPoints}"/>

Wait, If i understand correctly. When adding points to the list there should only be 1 point object which holds all point positions?
Lunci
@holance
@Dimoniums It's prefer to aggregate points into few point models for performance reason. It is better for gpu to just draw a lot of points in one pass than to draw points one at a time.
Dimoniums
@Dimoniums
I was doing one at a time to take advantage of the .Tag property. That way I can use hit test to find related data object. Now using .Indecies for same purpose. Hit test working.
Titibo26
@Titibo26

Hi everyone, I have a list of double[] representing points for some calculation. for now i'm adding points into the view by creating a point with corresponding coordinate and updating the geometry.
Now i need to remove some of theses points [using sharpDX]. Is there a way to link my double[] list to points of the geometry so when i remove a double[] from the list, it'll be removed from the geometry (and the view) ?

For now, when i have a point to remove, i'm iterating though all the geometry to find the corresponding point, and i feel like it's an uggly way to do.
Thank you

Lunci
@holance
@Titibo26 I believe you should only use single geometry to represents all the points. After updating your list of double[], simply re-generate the point geometry and assign to the point model.
Or you can generate Vector3Collection from your own library directly without going through generating the double list.
John
@heyufei2008
image.png
How to remove the yellow lines on clicking a model?
How to prevent the model disappeared on zooming out?
image.png
some parts are disappearing on zooming out.
e.g. Here the tyre is gone.
gregorsGit
@gregorsGit
When did you plan to make a V2.16.0 Release?
zeepintor
@zeepintor
Lunci
@holance
@heyufei2008 Increase the camera far plane distance to avoid model disappearing.
Remove the post effect in xaml to remove the yellow lines.
@gregorsGit Maybe this weekend or next weekend.