<?xml version="1.0" encoding="ISO-8859-15"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns="http://purl.org/rss/1.0/">
<channel rdf:about="http://www.shapeways.com/forum/index.php">
  <title>Shapeways: Bring your creativity to life in 3D</title>
  <link>http://www.shapeways.com/forum/index.php</link>
  <description>Shapeways: Bring your creativity to life in 3D</description>
  <items>
    <rdf:Seq>
			<rdf:li rdf:resource="http://www.shapeways.com/forum/index.php?t=rview&amp;goto=29886&amp;th=5671#msg_29886" />
		</rdf:Seq>
	</items>
</channel>

<item rdf:about="http://www.shapeways.com/forum/index.php?t=rview&amp;goto=29886&amp;th=5671#msg_29886">
  <title>MeshLab: Render obj file with my own computed normals</title>
  <link>http://www.shapeways.com/forum/index.php?t=rview&amp;goto=29886&amp;th=5671#msg_29886</link>
  <description><![CDATA[I am trying to write a obj file with vertices. I am computing the vertex normals in my code and writing to this file as well.  When I try to render this file in Meshlab it reads the vertices correctly, but when I go to 'Render-&gt;Show vertex normals', it is not showing the normals that I computed. Rather MeshLab computes its own normals and shows them. <br />
<br />
I am not sure how I can visualize the normals that I computed/wrote to file. I want to apply Meshlab shader later based on my computed normals. <br />
<br />
To test this I created a test obj file-<br />
<br />
    vn 0.517350 0.517350 0.517350<br />
    v 0.500000 0.500000 0.500000<br />
    vn -0.333333 0.666667 0.666667<br />
    v -0.500000 0.500000 0.500000<br />
    vn 0.666667 -0.333333 0.666667<br />
    v 0.500000 -0.500000 0.500000<br />
    vn -0.666667 -0.666667 0.333333<br />
    v -0.500000 -0.500000 0.500000<br />
    f 1//1 2//2 3//3<br />
    f 4//4 3//3 2//2<br />
<br />
This is just one square. Now if I change the normal values in this file, it still shows its own vertex normals when I select 'Render-&gt;Show vertex normals'. <br />
How can I have my own normals and apply shader that works on my computed normals?? Please help.<br />
<br />
Thanks!!]]></description>
  <dc:subject></dc:subject>
  <dc:creator>ravi.dighade</dc:creator>
  <dc:date>2011-06-29T00:31:17-00:00</dc:date>
</item>
</rdf:RDF>