VRML and Octave

etienne at isr.ist.utl.pt etienne at isr.ist.utl.pt
Sat Feb 9 19:23:09 CST 2008


  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
# Help-octave at octave.org
# https://www.cae.wisc.edu/mailman/listinfo/help-octave
#


-- 
http://www.isr.ist.utl.pt/~etienne



More information about the Help-octave mailing list