[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: VRML and Octave
From: |
etienne |
Subject: |
Re: VRML and Octave |
Date: |
Sat, 9 Feb 2008 17:23:09 -0800 (PST) |
User-agent: |
SquirrelMail/1.4.13 |
Hi Ole,
I am not sure I understand your question, but I can tell you a little bit about
the vrml_faces() function,
which may interest you: typical usage is
X = [x1 x2 ... xN; y1 y2 ... yN; z1 z2 ... zN]; ## Set of N points
F = [i1 i2 .. iM; j1 j2 ... jM; k1 k2 ... kM]; ## Set of M triangular facets
## Facet 1 is X(:,i2),
X(:,j1), X(:,k1).
s = vrml_faces (X, F); ## VRML code (a string) to
display the facets
vrml_browse (s); ## Display the facets
Hth,
Etienne
On Fri, February 8, 2008 05:53, Ole Jacob Hagen wrote:
# Hi,
#
# I am having a VRML file of a vessel hull, let say x axis is along vessel, y
is to left, and z is upwards.
#
# Origin is located at aft.
#
#
# I want to then to estimated the hull shape in Y-Z plane for different lengths.
# For x = 10, I will then have let say 10-20 coordinates (Y,Z), from the left
side to the right side.
#
# How can I do this by using Octave and vrml-packages at octave.sf.net?
#
# It would be nice to have som help or suggestions, if Octave with vrml can do
this.....
#
#
# Cheers,
#
# Ole J.
#
#
# _________________________________________________________
# Alt i ett. Få Yahoo! Mail med adressekartotek, kalender og
# notisblokk. http://no.mail.yahoo.com
#
# _______________________________________________
# Help-octave mailing list
# address@hidden
# https://www.cae.wisc.edu/mailman/listinfo/help-octave
#
--
http://www.isr.ist.utl.pt/~etienne
- VRML and Octave, Ole Jacob Hagen, 2008/02/08
- Re: VRML and Octave,
etienne <=