<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/237408</link>
    <title>MATLAB Central Newsreader - Create a simple 3D object and rotate it - I'm really stuck</title>
    <description>Feed for thread: Create a simple 3D object and rotate it - I'm really stuck</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Sun, 12 Oct 2008 21:59:02 -0400</pubDate>
      <title>Create a simple 3D object and rotate it - I'm really stuck</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/237408#604874</link>
      <author>Alexander </author>
      <description>Hi, &lt;br&gt;
&lt;br&gt;
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 &quot;orientation&quot; and some advice on what I should focus.&lt;br&gt;
&lt;br&gt;
I would like to do the following things: &lt;br&gt;
&lt;br&gt;
- Create a simple 3D object (like a cylinder - later I'll create more complicated ones) and display it in 3D&lt;br&gt;
&lt;br&gt;
- optional: use shading, like Gouraud&lt;br&gt;
&lt;br&gt;
- rotate the object using Euler angles &lt;br&gt;
&lt;br&gt;
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 &quot;bundled&quot; vertices &quot;as one&quot;, 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. &lt;br&gt;
&lt;br&gt;
I use Matlab R2007a.&lt;br&gt;
&lt;br&gt;
I'd be grateful for some hints!&lt;br&gt;
&lt;br&gt;
Alexander</description>
    </item>
  </channel>
</rss>

