Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
GetOrgChart 2.5.3
AnyGantt JS Gantt Charts 8.6.0
AnyChart JS Charts and Dashboards 8.6.0
Multi Vendor Ecommerce Script & Apps 4.0
Magento 2 Inventory Management Extension 1.0
Yipit Clone Script - Daily Deals Software 1.0.2
Devart Excel Add-in for Oracle 1.7
Devart Excel Add-in for Freshdesk 1.7
Devart Excel Add-in for G Suite 1.7
C# QR Code Generator 4.0.2.2
Salesforce WordPress Customer Portal 3.2.0
Single Leg MLM 1.2.1
OzGIS 14.6
Quick Maps For Dynamics CRM 3.1
Job Board Software 4.2
Top Code
USANet Classified Ads pro 4.50
Remote Desktop Control 1.6.0.70
YellowMaker 3.II
Atlant Classifieds (Standard) 8.IX
Chilli Classifieds updated 3.I
AnyChart JS Charts and Dashboards 8.6.0
Top Rated
VisualNEO Web 2018.12.15
Paste phpSoftPro 1.4.1
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
Arcball like 3D figure rotation 1.0
File ID: 86273






Arcball like 3D figure rotation 1.0
Download Arcball like 3D figure rotation 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 15
Submit Rating:
Arcball like 3D figure rotation 1.0 Description
Description: One of the major drawbacks of matlab is the lack of a way of changing the viewpoint of a 3D mesh using a natural (arcball) interaction.

In this simple function I demonstrate the arcball interaction allowing a 3D sphere to be moved naturally. Run the function and drag and drop with your mouse on the sphere surface.

A very important aspect that you should note is that I am rotating the ACTUAL 3D object instead of the viewpoint.

There is a specific reason for this choice. The OpenGL lighting is linked to the axis in matlab, thus, if you rotate the veiwpoint, the lighting on the mesh surface wouldn't change. On the other hand, if you rotate your object using hgttransoforms you achieve this result.

It is now apparently bug-free :)

License: Shareware

Related: choice, Opengl, lighting, linked, reason, specific, actual, Object, viewpointthere, Rotate, veiwpoint, achieve, resultit, apparently, bugfree, hgttransoforms, Surface, wouldn

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 15



More Similar Code

This function provides continuous rotation of a 3D figure on the mouse up click. This may prevent a little bit of RSI ;-) It displays the elevation and azimuth values while rotating. Rotation is in the direction of mouse movement away from the centre of the figure window. When the next mouse click up is registered, the rotation stops and the current elevation and azimuth values are returned to the workspace.

This function is based...



This function works just like the figure command in MATLAB except that you reference figures by names instead of figure handles. (you can still use the handles though)

H=fig('My figure')

The title of the window of the figure...



This is a simple code to extract data from an existing matlab 2D or 3D figure.



Creates an animation from any 2D or 3D figure directly to HTML. The animation is based on Mouseover image swapping and the result is:
*intutive and interactive: no need of control bars or buttons and there is no need for plugin or codec.



Binding DBMS with X11-Server to visualize 3D-figure (DBMS uses OpenGL, sends X11-data and accepts X11-events), with xml-UA ('select tab1.tab2.tab3'). 'Select, insert, update, delete' in several databases by one request, replication...



2D / 3D Pie Chart creates Pie charts that can be incorporated into your Web Pages and supports features like depth of the 3D effect, rotation of the 3D effect, labels on and off, font and colors, pie sizes etc which can be configured easily. It...



This is my version of 3D Globe Rotation Web 2.0. You can press/release the mouse to stop/start the rotating earth! Enjoy my animation!



figure is where the object in;
object is the one to rotate;
[x,y,z] is the center of 3D figure;
click left to rotate;
click right to pan;
click both to zoom;



STEREOVIEW Stereoscopic plotting function

stereoview grabs the current 3D figure and plots it in two
stereoscopical images.

Once launched, you can:
1) Choose the interocular distance coefficient (idc)
that...



AutoLinks is a full-featured script which saves time for webmasters relying on link exchanges to bring traffic to their sites. Lots of exclusive features like the images rotation, the possibility to use the script on as many sites as you want with...

User Review for Arcball like 3D figure rotation
- required fields
     

Please enter text on the image