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

Adding thickness to a PieSliceVisual3D

Anonymous 11 years ago 0
This discussion was imported from CodePlex

caffeine31 wrote at 2014-08-17 03:29:

I've been using Helix3D for my project to show pie charts and they work well for when the camera is looking directly at it. But when the camera is looking at one from the side, the PieSliceVisual3D doesn't have any thickness and can't be easily seen.

What I need is a PieSliceVisual3D with some sort of thickness or depth to it. I was looking around and it seems like MeshBuilder has something for extruding shapes, but I couldn't find anything else.

How would I thicken or extrude a PieSliceVisual3D? Are there any examples for doing this?

objo wrote at 2014-08-18 13:26:

There is some extrusion functionality in the MeshBuilder. I don't think there is an example so I have added https://helixtoolkit.codeplex.com/workitem/10069
0

About AntiAliasing

Anonymous 11 years ago updated by ไอยดา สุรีวงค์ 4 years ago 1
This discussion was imported from CodePlex

lizichao wrote at 2011-12-14 03:02:

Hello,I wonder how set antialiasing effect of the ScreenSpaceLines3D object.Thanks for your time and Helix 3D Toolkit is so great!


objo wrote at 2011-12-14 08:39:

We cannot set antialiasing hints in WPF3D as far as I know (I guess you compare to GL_POLYGON_SMOOTH/GL_LINE_SMOOTH in OpenGL or D3D multi-sampling) 


Elemental wrote at 2011-12-15 14:25:

AntiAliasing gets activated automatically if you have proper hardware and Vista or Win 7.

As far as I know, there is no WPF AntiAliasing on WindowsXP.

 

Have a look at this post:

http://geekswithblogs.net/JeffFerguson/archive/2010/02/05/wpf-rendering-tier-requirements-and-capabilities.aspx


lizichao wrote at 2011-12-16 00:44:

Elemental wrote:

AntiAliasing gets activated automatically if you have proper hardware and Vista or Win 7.

As far as I know, there is no WPF AntiAliasing on WindowsXP.

 

Have a look at this post:

http://geekswithblogs.net/JeffFerguson/archive/2010/02/05/wpf-rendering-tier-requirements-and-capabilities.aspx


Ok, thanks.We cannot decide the hardware of other computer so i give up.


objo wrote at 2011-12-19 09:20:

I have used the following registry setting to enable antialiasing in XP

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Avalon.Graphics]
"MaxMultisampleType"=dword:00000004

Maybe the same setting can be used to disable antialiasing in Vista/7 (not tested)

0

Rectangular box with different picture on each face

JohnK 10 years ago updated 10 years ago 1
I'm trying to create a rectangular box visual with a different picture on each face, representing a piece moving around a board.
I currently use a 2D rectangle, but I'd like it to have some width so it doesn't disappear at the wrong angle. I've tried using two rectangles with some filler, but the pieces separate oddly when the movement animation begins.
The front and back faces would be the same (a piece portrait) and the filler is unimportant. The picture can widely vary, as the size of the piece is scaled to the picture's ratio.
What visual should I use? How would I set this up?
0

Change Rotation-Handling to MouseLeftButton

Anonymous 11 years ago 0
This discussion was imported from CodePlex

christianw42 wrote at 2013-03-12 15:27:

Hello,

is there a simple way to rotate the camera bei clicking left? Where's the place to add/change this?

Thanks a lot for help and for that amazing framework :-)
Christian
0

Making a hole like a circle in BoxVisual3D element ?

Anonymous 11 years ago 0
This discussion was imported from CodePlex

maruf_bd wrote at 2013-07-25 07:06:

Hi everyone ,
I want to make a hole like a circle inside BoxVisual3D element by CuttingPlaneGroup . Such as a BoxVisual3D with (length=6,width=6,height=20) and I want to cut a circle like hole inside that BoxVisual3D .
Thanks.

CodeWithMe wrote at 2013-07-25 14:25:

I don't think that this is something that Helix will do. I think you have to design it in a 3d design software like blender3d (free) and export it to a format that helix can understand and import it in.

Denis.
0

Set Camera to Up (or other side) after Zoom Extents

Anonymous 11 years ago 0
This discussion was imported from CodePlex

mcrxb wrote at 2012-02-09 13:57:

Is there a method or property that I can use to set the camera to up after I zoom extents (which causes the camera to rotate based on the bounding box)?


mcrxb wrote at 2012-02-09 14:26:

After reviewing the UpDirection demo I was able to get this to work. Thanks for the great toolkit.

0

Is there a mechanism to deform or bend created meshes in Helix3d?

Anonymous 11 years ago 0
This discussion was imported from CodePlex

BarrelNut wrote at 2014-05-09 15:43:

Is there a mechanism to deform or bend created meshes in Helix3d? I.e. if I have created a bar or a beam, can it be easily bent to slightly curved one?
0

HelixViewport3D on docking pane, model zooms out

Anonymous 11 years ago 0
This discussion was imported from CodePlex

michaeldjackson wrote at 2013-03-14 16:38:

In my app, I add various Helix 3d objects (RectangleVisual3D, PipeVisual3D, etc) to the HelixViewPort3D via viewPort3D.Children.Add(new RectangleVisual3D), etc.

The HelixViewPort3D is hosted in an content Pane of a TabGroup of a docking control. When I click on other tabs, then click back on the tab that contains the viewport, the "model" zooms out (smaller), and continues to do so each time I click another tab then click back.

Any idea as to what this issue could be?

objo wrote at 2013-04-15 12:50:

Is ZoomExtentsWhenLoaded set to true in the HelixViewport3D? The control is probably unloaded when changing tabs...
0

How to change material property of an imported model3D ?

lioneloddo 10 years ago updated 10 years ago 1
Hi,
I'm trying to change the color of a model3D that has been previously imported from an STL file like this:
CurrentModel = HelixToolkit.Wpf.ModelImporter.Load(Path);
where CurrentModel is a model3D. The default color for stl file is blue.

If I want to change its material properties, it's nesserary to use a GeometryModel3D...
var GeoModel = CurrentModel as GeometryModel3D

Then material properties are enabled ...
GeoModel.Material = Materials.Gray;

To add this model to my view, I create a ModelUIElement3D...
ModelUIElement3D ModelUI = new ModelUIElement3D(); and add it ...
ModelUI.Model = geoModel;

Next step should be to add the ModelUIElement3D to the view...
view.Children.Add(ModelUI);

But that doesn't work...
Any ideas ?
Thanks
Lionel
0

How to have strip material on pipe?

Anonymous 11 years ago 0
This discussion was imported from CodePlex

behnam263 wrote at 2014-06-25 08:38:

Hi I need strip material on pipe or tube but wrong texture coordinates always make me away from my way.
how to have strip material brush?
for example this picture http://www.componentforce.com/userfiles/image/categories/safetypipecoveringinpe_lg.jpg

objo wrote at 2014-06-25 09:54:

See the example Source\Examples\WPF\ExampleBrowser\Examples\BuildingDemo\ and the KerbVisual3D.cs implementation. I think this is close to what you need.