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!

WPF: After deploy strange camera position and Zoom don't work

Anonymous 4 years ago 0
This discussion was imported from CodePlex

xpix wrote at 2014-03-11 16:08:


i have some problem with a deployed application. Here my XAML for helix3d toolkit:
            <helix:HelixViewport3D x:Name="viewport" Grid.Column="0" Grid.ColumnSpan="3" Margin="5,0,0,0">
                    <PerspectiveCamera x:Name="camera" 
                <helix:ArrowVisual3D Point1="0,0,0" Point2="10 0 0" Fill="Red" Diameter="0.5" />
                <helix:ArrowVisual3D Point1="0,0,0" Point2="0 10 0" Fill="Green" Diameter="0.5"/>
                <helix:ArrowVisual3D Point1="0,0,0" Point2="0 0 10" Fill="Blue" Diameter="0.5"/>
                <helix:PipeVisual3D x:Name="Tool3D" Diameter="1" Point1="0,0,0" Point2="0,0,5" Visible="False" >
                        <SolidColorBrush Color="#FFFF8B00" Opacity="0.5"/>
                <helix:GridLinesVisual3D Thickness="0.1" Center="0,0,0" Fill="#FFDADADA" Width="1000" Length="1000" />
The Application works perfect in VS 2013, the camera position is on top and scroll whel work. But if i deploy/publish this application and open it from published directory then the camerposition are strange (close to null and a perspective view) and the zoom function with the mouse scroll wheel don't work.

It's a bug or Feature? May i can make a video to demonstrate this effect?

helix tookit to build data transfer app?

Quiruio 2 years ago • updated by ParkPrince 2 years ago 5

i just have a ideal to build a data transfer app. Does helix toolkit offer such an library?


How do you limit camera zoom

Anonymous 4 years ago 0
This discussion was imported from CodePlex

JohnSourcer wrote at 2013-02-05 18:29:

I can zoom in but want to limit the zoom?

objo wrote at 2013-02-07 20:22:

Currently there is no limit. In the "Inspect" mode, the length of the LookDirection is reduced while keeping the CameraPosition+LookDirection point fixed.
I will add this as a new feature in the issue tracker!

Moez_rebai wrote at 2014-07-17 11:04:

Hey Objo,
Please if you add that feature to limite the camera zoom tell me how to implement it.

BogusException wrote at 2014-07-17 22:47:

If the property is inspectable, a mouse wheel event, or CTRL+, CTRL- event, could be used to limit a requested change...


limit rotation around Y axis

Anonymous 4 years ago 0
This discussion was imported from CodePlex

mat72220 wrote at 2012-09-14 16:50:


Excuse me for my english it's not my mother tongue.

I'm trying to made an application like this (

How can I limit the rotation around the Y axis (40° for example) ?


Here my Code


        <helix:HelixViewport3D x:Name="view1" RotationSensitivity="1.5"  CameraMode="Inspect" CameraRotationMode="Trackball" IsHeadLightEnabled="True" IsPanEnabled="False" IsTouchZoomEnabled="False" IsZoomEnabled="False">

            <helix:RotateManipulator Color="Green" Axis="0,0,1" Transform="{Binding Transform, ElementName=modele3d}" TargetTransform="{Binding Transform, ElementName=modele3d}" Diameter="2"/>
            <ModelVisual3D  x:Name="modele3d"/>            



davidop wrote at 2013-05-28 16:07:

Did you manage that? Thanks

objo wrote at 2013-06-07 11:58:

This should be covered by issue

How to get position of meshes by mouse

Anonymous 4 years ago 0
This discussion was imported from CodePlex

behnam263 wrote at 2014-06-29 06:07:

I need to know is it possible to get position of meshes inside helixviewer.
for example when i hover mouse on a sphere show message box which has
Position of that sphere in 3D?

objo wrote at 2014-07-02 13:16:

You can use the Viewport3DHelper.FindNearest method!