Using .ply models

General questions about Indigo, the scene format, rendering etc...
Post Reply
5 posts • Page 1 of 1
User avatar
Maluminas
Posts: 148
Joined: Fri Aug 18, 2006 11:06 am
Location: Canada>Quebec>Montreal

Using .ply models

Post by Maluminas » Fri Jan 26, 2007 12:38 pm

The .ply models from Stanford scans are too heavy for my computer to handle in Blender, and the decimated versions that came with the file are a mess (loss of detail, random double faces, holes, etc.). I think i read somewhere in here that you can 'append' a .ply model to the scene xml just like a .3ds model. I wanted to know how i could do this (if its possible lol), a code example would be perfect.

And in fact i cant even use the decimated files, because if i finally succeed at exporting it, the xml is so large that my computed hardly loads it and i cant add characters in the code unless i delete an equal number elsewhere in the text, which is really mysterious and annoying lol.

Thanks for any help :D

User avatar
manitwo
Posts: 1029
Joined: Wed Jul 05, 2006 4:50 am
Location: Tirol - Austria

Post by manitwo » Fri Jan 26, 2007 1:34 pm

Code: Select all

	<mesh>
		<name>PLY-Model</name>
		<scale>1</scale>
		<normal_smoothing>true</normal_smoothing>
		<external>
			<path>models\model.ply</path>
		</external>
	</mesh>
:wink:

User avatar
domparis
Posts: 37
Joined: Sun Nov 26, 2006 8:55 am

Post by domparis » Fri Jan 26, 2007 1:38 pm

Code: Select all

<mesh>
	<name>big_mesh</name>
	<normal_smoothing>true</normal_smoothing>	
	<external>
		<path>path\to\model.ply</path>
	</external>
</mesh>
Same as 3ds append, be sure to introduce the "normal_smoothing" tag in the mesh block not in the model anymore.

For big ply object i have found in the forum a link to MeshLab, a very fast and efficient tools that clean, reduce very well polygons (quadric edge collapse fonction is aswome)

http://meshlab.sourceforge.net/

Hope it help

Dom

Edit : To late ;)

User avatar
Maluminas
Posts: 148
Joined: Fri Aug 18, 2006 11:06 am
Location: Canada>Quebec>Montreal

Post by Maluminas » Fri Jan 26, 2007 1:46 pm

Thanks! ill try all of that :)

User avatar
Zom-B
1st Place 100
Posts: 4663
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Post by Zom-B » Fri Jan 26, 2007 8:03 pm

wow... totally new to me :shock:

I allways reduced ply models to a 65535 triangle 3DS file to use them in Indigo *lol*

nice to know, that I don't have to do that :wink:

**EDIT**

Works perfect! just one questions:

How do I rotate the model by using XML code??
polygonmanufaktur.de

Post Reply
5 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests