Page 1 of 1

Program for plotting points in 3d

Posted: Sun Mar 11, 2012 10:08 pm
by Armus
Can you guys recommend a simple program (preferebly freeware) that can plot points in 3d space?

It would be nice if it could read in a simple format (like a text-format where each line contains a vertex (x,y,z)) and plot them in 3d space.

Re: Program for plotting points in 3d

Posted: Sun Mar 11, 2012 10:15 pm
by finale00
Metasequoia. It's free, and it's a text format. And it comes with a fully functional 3D editor.

Code: Select all

Object "hand" {
	patch 2
	segment 4
	shading 1
	facet 59.5
	vertex 116 {
		-96.5893 10.8410 -100.6263
		-48.4296 35.4233 -100.7180
		0.0000 48.5441 -100.0000
		50.0000 37.4307 -100.0000
		100.0000 17.8771 -100.0000
		-100.0000 25.0000 100.0000
		-50.0000 25.0000 100.0000
		0.0000 25.0000 100.0000
		50.0000 25.0000 100.0000
...

Code: Select all

	face 110 {
		4 V(20 21 23 22) M(0) UV(0.00000 0.00000 0.25000 0.00000 0.25000 1.00000 0.00000 1.00000)
		4 V(24 25 27 26) M(0) UV(0.25000 0.00000 0.50000 0.00000 0.50000 1.00000 0.25000 1.00000)
		4 V(28 29 31 30) M(0) UV(0.50000 0.00000 0.75000 0.00000 0.75000 1.00000 0.50000 1.00000)
		4 V(32 33 35 34) M(0) UV(0.75000 0.00000 1.00000 0.00000 1.00000 1.00000 0.75000 1.00000)
		4 V(36 37 21 20) M(1) UV(0.00000 0.00000 0.25000 0.00000 0.25000 0.00000 0.00000 0.00000)
		4 V(37 39 23 21) M(0) UV(0.25000 0.00000 0.25000 1.00000 0.25000 1.00000 0.25000 0.00000)
		4 V(39 38 22 23) M(0) UV(0.25000 1.00000 0.00000 1.00000 0.00000 1.00000 0.25000 1.00000)
		4 V(38 36 20 22) M(0) UV(0.00000 1.00000 0.00000 0.00000 0.00000 0.00000 0.00000 1.00000)
		4 V(40 5 6 41) M(0) UV(0.00000 0.00000 0.00000 0.00000 0.25000 0.00000 0.25000 0.00000)
		4 V(40 41 37 36) M(0) UV(0.00000 0.00000 0.25000 0.00000 0.25000 0.00000 0.00000 0.00000)
...

Re: Program for plotting points in 3d

Posted: Sun Mar 11, 2012 10:52 pm
by Ninja
Seconded - Metasequoia
Here's my loong .fak vertex plotter :- http://uppit.com/f3hyb9a9fqq0/Fakverts.zip
The bit to just plot vertices is real simple, you make 2 point polys.

Code: Select all

        for i in range(0, numvert):
            of.write("2 V("+str(i)+" "+str(i)+")\n")
example for a cube

Code: Select all

Metasequoia Document
Format Text Ver 1.0

Scene {
	pos 0.0000 0.0000 1500.0000
	lookat 0.0000 0.0000 0.0000
	head -0.4736
	pich 0.5136
	ortho 0
	zoom2 5.0000
	amb 0.250 0.250 0.250
}
Object "obj1" {
	depth 0
	folding 0
	scale 1.000000 1.000000 1.000000
	rotation 0.000000 0.000000 0.000000
	translation 0.000000 0.000000 0.000000
	visible 15
	locking 0
	shading 1
	facet 59.5
	color 0.000 0.000 0.000
	color_type 0
	vertex 8 {
		-50.0000 50.0000 -50.0000
		50.0000 50.0000 -50.0000
		-50.0000 50.0000 50.0000
		50.0000 50.0000 50.0000
		-50.0000 -50.0000 50.0000
		50.0000 -50.0000 50.0000
		50.0000 -50.0000 -50.0000
		-50.0000 -50.0000 -50.0000
	}
	face 8 {
		2 V(0 0)
		2 V(1 1)
		2 V(2 2)
		2 V(3 3)
		2 V(4 4)
		2 V(5 5)
		2 V(6 6)
		2 V(7 7)
	}
}
Eof

Re: Program for plotting points in 3d

Posted: Sun Mar 11, 2012 11:28 pm
by finale00
I used mqo as my main exporter awhile back. It was a multi-format 3D converter I had planned to add to blender as well (kind of like the fatImporter for 3d max), with a single interface required for all plugins.

viewtopic.php?f=29&t=6932

Too bad it doesn't support normals.

Re: Program for plotting points in 3d

Posted: Mon Mar 12, 2012 7:26 pm
by Karpati
Armus wrote:Can you guys recommend a simple program (preferebly freeware) that can plot points in 3d space?
It would be nice if it could read in a simple format (like a text-format where each line contains a vertex (x,y,z)) and plot them in 3d space.
Just use the 3D Object Converter's 3D Points .txt load module.

http://web.t-online.hu/karpo

See the attachment and in my program turn on the Vertexes using the CTRL+V hotkey !