Camera Binding

Anonymous 5 years ago updated by anonymous 1 month ago 12
This discussion was imported from CodePlex

zaurska wrote at 2012-09-03 14:58:


Can we use binding so the camera follows a moving object?  (the moving object's position being dynamically variable)



zaurska wrote at 2012-09-05 14:56:

Answered myself.  More about my lack of binding knowledge than H3D function,  but for general interest for novices like me, this works:

Helix3D should be incorporated into next WPF release!

        <h:HelixViewport3D x:Name="view1" CameraRotationMode="Turntable" IsHeadLightEnabled="True">
                <PerspectiveCamera Position="0, -200, 0"  LookDirection="0, 200, 0" FieldOfView="45" UpDirection="0,0,1">
                            <TranslateTransform3D x:Name="cameraTranslateTransform3D"></TranslateTransform3D>
then some binding in code since my objects are runtime:
            Binding aBinding = new Binding("OffsetX");
            aBinding.Source = tryMe.outerCasePosition;
            BindingOperations.SetBinding(cameraTranslateTransform3D, TranslateTransform3D.OffsetXProperty, aBinding);

Nice Post. Thanks for sharing information

Internet Marketing

Hi, Thank you Zaurska for explaining H3D function with so much conviction. Coming back to your question Yes you can use binding to follows a moving object by using scripts. Usually, I visit your blogs and get updated through the information you include but today’s blog would be the most appreciable. Well done!! Please also visit: PHP Developers India

Thank you for the auspicious write up. Really great work done. Please also visit my website : Recruitment agencies in Mexico


My Name is Jason Smith. I looking for the H3D function script. So I did some search work online and Then I found your forum, After exploring I realize that this forum is perfect for my needs. Thanks you sharing the script. 

Besides all this, I believe in establishing trustworthy relations with my business clients by offering various professional services like guest post services, guest blogging to my client. Apart form work, I love to play soccer with my friends every Sunday.

Thanks for this amazing information. I enjoyed a lot reading this. Independence Day Speech 2019

Thanks for sharing this helpful information.


Hey. Glad to see your post with so much opinion. Keep it up!

Visit the Website: Payroll Outsourcing

Graphics available on your internet-site despite the fact that helping

to make attraction promptly a tiny amount of degree submits. Fun way of

long run potential future, I'm going to be book-marking back then grown

to be ones own spot stop starts inch together inch. 온라인카지노