Thread Subject: Create a simple 3D object and rotate it - I'm really stuck

Subject: Create a simple 3D object and rotate it - I'm really stuck

From: Alexander

Date: 12 Oct, 2008 21:59:02

Message: 1 of 1

Hi,

after some extensive research on Matlab Central file exchange I have read over many different ways to create a simple 3D object and rotate it - I could really require some "orientation" and some advice on what I should focus.

I would like to do the following things:

- Create a simple 3D object (like a cylinder - later I'll create more complicated ones) and display it in 3D

- optional: use shading, like Gouraud

- rotate the object using Euler angles

The problem is: in some of the code I've read, vertices are grouped in patches, but in some code, they're not (just matrices). Some code uses hgtransform to manipulate those "bundled" vertices "as one", some manage the rotation otherwise. There's plenty of transformation and rotation tools on file exchange, but I feel uncomfortable with heavily investigating them before I know there is no native or easier way to perform rotations using Euler angles.

I use Matlab R2007a.

I'd be grateful for some hints!

Alexander

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
hgtransform Alexander 12 Oct, 2008 18:00:08
patches Alexander 12 Oct, 2008 18:00:08
gouraud Alexander 12 Oct, 2008 18:00:08
shading Alexander 12 Oct, 2008 18:00:07
cylinder Alexander 12 Oct, 2008 18:00:07
3d Alexander 12 Oct, 2008 18:00:07
euler angles Alexander 12 Oct, 2008 18:00:07
rotation Alexander 12 Oct, 2008 18:00:07
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com