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 Erlich 12 Oct, 2008 18:00:08
patches Alexander Erlich 12 Oct, 2008 18:00:08
gouraud Alexander Erlich 12 Oct, 2008 18:00:08
shading Alexander Erlich 12 Oct, 2008 18:00:07
cylinder Alexander Erlich 12 Oct, 2008 18:00:07
3d Alexander Erlich 12 Oct, 2008 18:00:07
euler angles Alexander Erlich 12 Oct, 2008 18:00:07
rotation Alexander Erlich 12 Oct, 2008 18:00:07
rssFeed for this Thread

Contact us at files@mathworks.com