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

How to change texture/draw on certain areas of an imported obejct with Helixtool?

Georgiana Manolache 9 years ago updated by Lucas Silva 9 years ago 1

I would like to only change material in certain parts of my imported object. I want to simulate brain activity. I am using an imported .obj and I would like to draw/change texture of the object only on the right side. Is that possible within Helixtoolkit?

0

How to add string (text) objects to 3D scattered plot instead of shapes?

Gonzalezk 9 years ago updated by anonymous 7 years ago 1

I want to plot textual data into 3D plot instead of spheres or other shapes. Texts like 1,2,3 or A,B,C... or P1, P2... etc...

0

Billboard text incorrect position when camera moves in inertia mode.

Mateusz Spychała 9 years ago updated by ไอยดา สุรีวงค์ 4 years ago 1

Hello,

I started billboard demo and i have problem. Text billboards are moving around the screen when I zooming or rotating camera. Problem occurs only when camera is in inertia mode after zooming wheel or releasing right mouse button.

I attached below recorded behaviour posted on YouTube.


Youtube video

I noticed that when you add billboards in xaml file everything is working fine, but i have to inserting text billboards dynamically in program.


Best regards,

Mateusz



0

Problem uploading the texture of some .obj files

krobot 9 years ago 0

Hello,

Thanks for great library. During several past months I was working with your library and I was able to upload different object files and corresponding textures using objreader class.

However, when I try to load any .obj from Stanford Scene Database Helix cannot show the textures.


I tried different things but yet no success. Could you please help me?


Thanks

0

How to update ModelVIsual3d in runtime

LeonelC 9 years ago 0

Hi all!, i'm using HelixToolkit to show same result, but recibe a the result from other program. i need to show the result in runtime, but when i open it only show the last result. someone know how i can do to update modelVisual3d in runtime? thanks

0

NuGet - could not install 2015.1.698 with .NET 3.5: Necessary References

Andrew B 9 years ago 0

Hi All,

I need to target .Net 3.5. When I use NuGet, it says:

Severity

Code

Description

Project

File

Line

Suppression State

Error

Could not install package 'HelixToolkit 2015.1.698'. You are trying to install this package into a project that targets '.NETFramework,Version=v3.5', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

0

What packages do I need exactly?


Thanks!

Andrew

0

Help with data binding

OxD 9 years ago 0

Perhaps this is a dumb question - apologies in advance. I have followed the example program to plot a 3d point cloud in Viewport3DX control. Please can someone tell me how I can update the points such that new ones appear on the screen. I don't fully understand how these are bound? Many thanks in advance.

0

BindableTranslateManipulator

Fam Wired 9 years ago updated by Hypo Dyne 7 years ago 4

It's easy to reproduce this, just add two tabitems with different helixviewports.


xaml code:

        <TabControl>            <TabItem Header="Tab1">
                <h:HelixViewport3D>
                    <h:BoxVisual3D x:Name="box1" Center="-3.5,0,1" Height="3" Fill="Silver"/>
                    <h:TranslateManipulator Color="Blue" Position="-3.5,0,1" Offset="0,0,1.5" Length="1" Value="{Binding Height, ElementName=box1, Converter={StaticResource Multiplier}}" Direction="0,0,1"/>
                </h:HelixViewport3D>
            </TabItem>
            <TabItem Header="Tab2">
                <h:HelixViewport3D>
                    <h:BoxVisual3D x:Name="box2" Center="-3.5,0,1" Height="3" Fill="Silver"/>
                    <h:TranslateManipulator Color="Red" Position="-3.5,0,1" Offset="0,0,1.5" Length="1" Value="{Binding Height, ElementName=box2, Converter={StaticResource Multiplier}}" Direction="0,0,1"/>
                </h:HelixViewport3D>
            </TabItem>
        </TabControl>

It works perfect in the first tabitem, but in the second tabItem I got binding error:


Cannot find source for binding with reference 'ElementName=box1'. BindingExpression:Path=Height; DataItem=null; target element is 'TranslateManipulator' (HashCode=28505784); target property is 'Value' (type 'Double')


Does anyone have a workaround or solution for this issue??


Thanks!

F Wired


0

CombinedManipulator question

Anonymous 11 years ago 0
This discussion was imported from CodePlex

avgjoe wrote at 2012-03-11 18:39:

First off...Kick ass toolkit btw!  The examples gave me a good starting point.

The first thing I’m attempting to do is combine the ManipulatorDemo with the ModelViewer example.

I’ve added the following code to the ModelViewer to allow the model to be repositioned and rotated.  The visual rotate manipulators appear to grow in size but the translate manipulators do not.   Am I missing something here?

 

 private void ModelLoaded(object sender, RoutedEventArgs e)
{
view1.ZoomExtents();

CombinedManipulator manipulator = new CombinedManipulator();
Rect3D rect = Visual3DHelper.FindBounds(view1.Children);
manipulator.Diameter = rect.Y;
root1.Children.Add(manipulator);
manipulator.Bind(root1);
}

objo wrote at 2012-03-11 20:56:

To me it seems like the manipulation transform is applied twice to the manipulator. Adding the manipulator one level higher in the Visual3D tree should avoid it:

view1.Children.Add(manipulator);

Sorry the "ModelViewer" example is not in good shape, I am planning to improve it, hopefully this year :)


Mrme wrote at 2013-08-01 10:02:

I would like to know if you solved this problem

thebestgin wrote at 2014-08-05 15:32:

I have the same problem. The translate manipulator do not size.
The problem is the emty methode OnDiameterChanged() at line 404.

https://searchcode.com/codesearch/view/10564768/

Here my suggestion:
     /// <summary>
    /// The on diameter changed.
    /// </summary>
    protected virtual void OnDiameterChanged()
    {
        double radius = this.Diameter / 2;
        double newArrowLength = radius + radius * 0.4; 
        this.TranslateXManipulator.Length = newArrowLength;
        this.TranslateYManipulator.Length = newArrowLength;
        this.TranslateZManipulator.Length = newArrowLength;

        double newArrowDiameter = newArrowLength * 0.075;
        this.TranslateXManipulator.Diameter = newArrowDiameter;
        this.TranslateYManipulator.Diameter = newArrowDiameter;
        this.TranslateZManipulator.Diameter = newArrowDiameter;

        double newInnerDiameter = this.Diameter - this.Diameter * 0.12;
        this.RotateXManipulator.InnerDiameter = newInnerDiameter;
        this.RotateYManipulator.InnerDiameter = newInnerDiameter;
        this.RotateZManipulator.InnerDiameter = newInnerDiameter;
    }
0

Context menu

Anonymous 11 years ago 0
This discussion was imported from CodePlex

ddklo wrote at 2012-03-03 00:06:

Hi.

I was wondering if there were a recommended way of showing a context menu when the user rights clicks in the HelixViewport3D? Currently we are subscribing to the mouse down event, but there are some problems relating to the mouse being capture and not released (maybe because the right mouse button is also used to move). Is there a way to add a ShowContextMenu Command/Gesture?

Regards Dagfinn


objo wrote at 2012-03-10 16:14:

I have used a standard wpf context menu on a HelixViewport3D in an application that shows a list of selectable items on left mouse clicks, but I have not tried it on the right mouse button. Should add an example that opens a context menu on both left and right clicks. For the left click context menu I had to open the context menu manually by setting IsOpen=true. 


davidop wrote at 2013-05-28 14:53:

Could you give some examples? I have a HelixViewport3D with multiples ModelVisual3D and I would like that when you click with the right mouse button a contextual menu appear.