Hey folks,
I need to do the following relatively simple 3D programming:
I want to convert data from four-item tuples into 3D co-ordinates in a
regular tetrahedron. Co-ordinates come in sequences of 10 to 20, and the
individual dots in the tetrahedron need to be connected into
discontinuous lines. A single tetrahedron should contain at least two,
possibly more, such lines. I would like to show certain similarities in
the sequences/lines, eg by changing color, thickness, or maybe attaching
indeces to certain points in a particular sequence.
I'd welcome suggestions as to what might be the most painless way to
achieve this in Python. So far, I've only tinkered a little with
VPython, but the lack of any decent documentation has proved to be a
major turn-off.
TIA!
--
Peter 4 1488 http://www.vpython.org/
Peter Beattie wrote:
Hey folks,
I need to do the following relatively simple 3D programming:
I want to convert data from four-item tuples into 3D co-ordinates in a
regular tetrahedron. Co-ordinates come in sequences of 10 to 20, and the
individual dots in the tetrahedron need to be connected into
discontinuous lines. A single tetrahedron should contain at least two,
possibly more, such lines. I would like to show certain similarities in
the sequences/lines, eg by changing color, thickness, or maybe attaching
indeces to certain points in a particular sequence.
I'd welcome suggestions as to what might be the most painless way to
achieve this in Python. So far, I've only tinkered a little with
VPython, but the lack of any decent documentation has proved to be a
major turn-off.
TIA!
--
Peter
faulkner wrote:
http://www.vpython.org/
Oh, thanks, but let me quote myself:
>So far, I've only tinkered a little with VPython, but the lack of any decent documentation has proved to be a major turn-off.
So, I'd really appreciate any hints as to where to look for anything a
little more usable.
--
Peter
Peter Beattie wrote:
Hey folks,
I need to do the following relatively simple 3D programming:
I want to convert data from four-item tuples into 3D co-ordinates in a
regular tetrahedron. Co-ordinates come in sequences of 10 to 20, and the
individual dots in the tetrahedron need to be connected into
discontinuous lines. A single tetrahedron should contain at least two,
possibly more, such lines. I would like to show certain similarities in
the sequences/lines, eg by changing color, thickness, or maybe attaching
indeces to certain points in a particular sequence.
I'd welcome suggestions as to what might be the most painless way to
achieve this in Python. So far, I've only tinkered a little with
VPython, but the lack of any decent documentation has proved to be a
major turn-off.
TIA!
What exactly are the four-items in the tuples?
I think this is what you need along with an example... http://www.vpython.org/webdoc/visual/curve.html
from visual import *
# a simple polygon
points = [(0,0,0),(0,1,0),(1,1,0),(1,0,0),(0,0,0)]
curve(pos=points, color=color.red)
# a polygon as separate segments grouped together in a frame.
square2 = frame()
points = [(0,0,1),(0,1,1),(1,1,1),(1,0,1),(0,0,1)]
for i in xrange(len(points)-1):
curve(frame=square2, pos=[points[i],points[i+1]], color=color.blue)
square2.objects[2].color = color.green # change a line segments color
square2.objects[2].radius = .02 # change a line segments thickness
# looking at objects after they are made.
print square2
print dir(square2)
print square2.objects
print dir(square2.objects[0])
Peter Beattie wrote:
faulkner wrote:
>http://www.vpython.org/
Oh, thanks, but let me quote myself:
>>So far, I've only tinkered a little with VPython, but the lack of any decent documentation has proved to be a major turn-off.
So, I'd really appreciate any hints as to where to look for anything a
little more usable.
There's also ZOE: http://www.alcyone.com/software/zoe/
but if a lack of documentation turned you off to VPython then ZOE is
probably not for you either.
--
Erik Max Francis && ma*@alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM, Y!M erikmaxfrancis
No need to tell her there's a world out there / She knows / She just
doesn't seem worried at all -- Nik Kershaw This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Kelvin Klein |
last post by:
Is there a visualization tool for C program out there?
Is there a visualization tool for the language of one of the crossposted
newsgroup out there? I am a refuge from comp.lang.c, kicked out...
|
by: Umesh Persad |
last post by:
Hi All,
I am looking for a platform to rapidly develop
software for Information Visualization. Since
I am working in an academic environment, I want
to be able to develop applications quickly...
|
by: Noname |
last post by:
Hi All
I am working for a EE Department. We are in the process of
developing some application that requires 3D visualization
and other display routines. Can anyone clarify that if
thats possible....
|
by: hailconan |
last post by:
Hi everyones,
I would like to display a stream of data on visualization view like
FFT.
I have read the data from an array (voice, file, ...) but I could not
find a component in ActiveX helps me...
|
by: David T |
last post by:
Has anyone run across this error?
When calling any of several visualization routines from FiPy, Python
quits with a
Bus Error
I'm using MacOS X Tiger 10.4.3, and I've tried several builds...
|
by: Fie Pye |
last post by:
Hallo
I would like to have a high class open source tools for scientific computing and powerful 2D and 3D data visualisation. Therefore I chosepython, numpy and scipy as a base. Now I am in...
|
by: Xah Lee |
last post by:
REQUIREMENTS FOR A VISUALIZATION SOFTWARE SYSTEM FOR 2010
Xah Lee, 2007-03-16
In this essay, i give a list of requirements that i think is necessary
for a software system for creating...
|
by: tavares |
last post by:
(Our apologies for cross-posting.
We appreciate if you kindly distribute this information by your co-
workers and colleagues.)
...
|
by: JDeats |
last post by:
Looking to build an desktop application for a client using WPF/
Silverlight 2.0 or Adobe Flex 2.0 and because of my ability to use C#
and the integration requirements, the WPF solution would be the...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |