Sometimes I have to put text on a path
Showing posts with label VRML. Show all posts
Showing posts with label VRML. Show all posts

Wednesday, July 20, 2011

BEST "ex-ample": NIST Digital Library of Mathematical Functions; Abramowitz and Stegun’s (1964) Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables;a LaTeX to XML/mathML Converter

For 50 years, a standard reference in mathematical work has been Abramowitz and Stegun’s (1964) Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables. It has provided a marvellous collection of results and tables that have been indispensable for a generation of mathematicians.
Now it has been reissued as the NIST Handbook of Mathematical Functions (Cambridge University Press) with a free web edition called the NIST Digital Library of Mathematical Functions. It has been updated to include lots of new topics.
http://dlmf.nist.gov/
The equation is an image with latex code between alt-tags (automatic mode)
You can change this (http://dlmf.nist.gov/help/customize):
  • Automatic
  • XHTML+MathML
  • HTML+images

You can also select the Visualization Format:
  • VRML
  • X3D

--------------------
See also:
A LaTeX to XML Converter:
http://dlmf.nist.gov/LaTeXML/

Friday, October 9, 2009

ParaView is an application framework as well as a turn-key application; Modeling software OpenFOAM and ParaView ; mesh processing: generation, manipulation, conversion

ParaView is an open source, multi-platform data analysis and visualization application. It has a client-server architecture to facilitate remote visualization of datasets

It is an application built on top of the Visualization Tool Kit (VTK) libraries.

The ParaView code base is designed in such a way that all of its components can be reused to quickly develop vertical applications. This flexibility allows ParaView developers to quickly develop applications.

Input/Output and File Format
  • Supports a variety of file formats including: VTK (new and legacy, all types including parallel, ascii and binary, can read and written).
  • Various polygonal file formats including STL and BYU (by default, read only, other VTK writers can be added by writing XML description).
  • Many other file formats are supported. See ParaView Readers and ParaView Writers for a full list.

CMake is a family of tools designed to build, test and package software. CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice. ParaView utilizes CMake for the software compilation process.

--------

ParaView is used as the visualization platform for the Modeling software OpenFOAM (Open Field Operation and Manipulation).It is primarily a C++ toolbox for the customisation and extension of numerical solvers for continuum mechanics problems, including computational fluid dynamics (CFD). It comes with a growing collection of pre-written solvers applicable to a wide range of problems.

First major general-purpose CFD package to use polyhedral cells. This functionality is a natural consequence of the hierarchical description of simulation objects.

OpenFOAM compares favourably with the capabilities of most leading general-purpose commercial closed-source CFD packages. It relies on the user's choice of third party pre- and post-processing utilities, and ships with:
  • a plugin (paraFoam) for visualisation of solution data and meshes in ParaView.
  • a wide range of mesh converters allowing import from a number of leading commercial packages
  • an automatic hexahedral mesher to mesh engineering configurations

OpenFOAM was conceived as a continuum mechanics platform but is ideal for building multi-physics simulations.

OpenCFD develop OpenFOAM in the Linux/UNIX operating system because: we believe it is the best platform for this kind of high end simulation code development and operation; Linux is efficient, robust, reliable and flexible and undergoes rapid development and improvement; Linux is open source, like OpenFOAM; Linux is very effective for parallel operation on Beowulf clusters.

OpenFOAM is open source software so people can freely compile it on any operating system they choose. Most OpenFOAM users are running Linux, so this site offers the download of binaries for selected Linux systems.

As the present time we are unaware of any binary distributions for Windows or MacOSX. However, ports to these operating systems have been the subject of debate on the OpenFOAM discussion site, which may provide the best source of information on the matter.

http://www.opencfd.co.uk/openfoam/

OpenFOAM uses finite volume numerics to solve systems of partial differential equations ascribed on any 3D unstructured mesh of polyhedral cells.

Mesh generation

OpenFOAM applications handle unstructured meshes of mixed polyhedra with any number of faces: hexahedra, tetrahedra, degenerate cells, basically anything.

Mesh generation is made simple by the fact that a cell is simply represented as a list of faces and a face as a list of vertices: this makes mesh handling very easy even for complex meshes with, say, embedded refinement or complex shapes near the boundary.

OpenFOAM is supplied with the following mesh generator tools that run in parallel.


Mesh generation tools


blockMesh A multi-block mesh generator
extrude2DMesh Takes 2D mesh (all faces 2 points only, no front and back faces) and creates a 3D mesh by extruding with specified thickness
extrudeMesh Extrude mesh from existing patch (by default outwards facing normals; optional flips faces) or from patch read from file
snappyHexMesh Automatic split hex mesher. Refines and snaps to surface


The main mesh generators cover two extremes: snappyHexMesh, that can mesh to complex CAD surfaces; blockMesh a simple file-driven block mesh generator.

Mesh manipulation

OpenFOAM is supplied with several utilties that perform mesh checking and manipulation. The full list of utilties is given below

Mesh manipulation


attachMesh Attach topologically detached mesh using prescribed mesh modifiers
autoPatch Divides external faces into patches based on (user supplied) feature angle
cellSet Selects a cell set through a dictionary
checkMesh Checks validity of a mesh
createBaffles Makes internal faces into boundary faces. Does not duplicate points, unlike mergeOrSplitBaffles
createPatch Utility to create patches out of selected boundary faces. Faces come either from existing patches or from a faceSet
deformedGeom Deforms a polyMesh using a displacement field U and a scaling factor supplied as an argument
faceSet Selects a face set through a dictionary
flattenMesh Flattens the front and back planes of a 2D cartesian mesh
insideCells Picks up cells with cell centre ’inside’ of surface. Requires surface to be closed and singly connected
mergeMeshes Merge two meshes
mergeOrSplitBaffles Detects faces that share points (baffles). Either merge them or duplicate the points
mirrorMesh Mirrors a mesh around a given plane
moveDynamicMesh Mesh motion and topological mesh changes utility
moveEngineMesh Solver for moving meshes for engine calculations.
moveMesh Solver for moving meshes
objToVTK Read obj line (not surface!) file and convert into vtk
pointSet Selects a point set through a dictionary
refineMesh Utility to refine cells in multiple directions
renumberMesh Renumbers the cell list in order to reduce the bandwidth, reading and renumbering all fields from all the time directories
rotateMesh Rotates the mesh and fields from the direcion n1   \special {t4ht= to the direction n2   \special {t4ht=
setSet Manipulate a cell/face/point set interactively
setsToZones Add pointZones/faceZones/cellZones to the mesh from similar named pointSets/faceSets/cellSets
splitMesh Splits mesh by making internal faces external. Uses attachDetach
splitMeshRegions Splits mesh into multiple regions
stitchMesh ’Stitches’ a mesh
subsetMesh Selects a section of mesh based on a cellSet
transformPoints Transforms the mesh points in the polyMesh directory according to the translate, rotate and scale options
zipUpMesh Reads in a mesh with hanging vertices and zips up the cells to guarantee that all polyhedral cells of valid shape are closed

Mesh motion

OpenFOAM adopts a novel approach to mesh motion by defining it in terms of the boundary motion which is extremely robust.

The solver need only define the the motion of the boundary and everything else will be done automatically. The open architecture of OpenFOAM solver codes allows quick and efficient implementation: mesh motion can be based on any solution variable, either local or integrated and by dynamically adjusted during the run.

Mesh motion is also transparently integrated with top-level models: the model writer does not see the additional complexity, which is conveniently packaged within the discretisation operators.

For examples of automated mesh motion in OpenFOAM, see Solutions

Mesh conversion

OpenFOAM accepts meshes generated by any of the major mesh generators and CAD systems. Listed below are converter utlities for the major commercial mesh generators. Note that it is also possible to import the meshes from most general purpose mesh generators since they will export in a format read by one of the converters.

Mesh converters


ansysToFoam Converts an ANSYS input mesh file, exported from I-DEAS, to OPENFOAM®format
cfx4ToFoam Converts a CFX 4 mesh to OPENFOAM®format
fluent3DMeshToFoam Converts a Fluent mesh to OPENFOAM®format
fluentMeshToFoam Converts a Fluent mesh to OPENFOAM®format including multiple region and region boundary handling
foamMeshToFluent Writes out the OPENFOAM®mesh in Fluent mesh format
foamToStarMesh Reads an OPENFOAM®mesh and writes a PROSTAR (v4) bnd/cel/vrt format
gambitToFoam Converts a GAMBIT mesh to OPENFOAM®format
gmshToFoam Reads .msh file as written by Gmsh
ideasUnvToFoam I-Deas unv format mesh conversion
kivaToFoam Converts a KIVA grid to OPENFOAM®format
mshToFoam Converts .msh file generated by the Adventure system
netgenNeutralToFoam Converts neutral file format as written by Netgen v4.4
plot3dToFoam Plot3d mesh (ascii/formatted format) converter
polyDualMesh Calculate the dual of a polyMesh. Adheres to all the feature and patch edges
sammToFoam Converts a STAR-CD SAMM mesh to OPENFOAM®format
star4ToFoam Converts a STAR-CD (v4) PROSTAR mesh into OPENFOAM®format
starToFoam Converts a STAR-CD PROSTAR mesh into OPENFOAM®format
tetgenToFoam Converts .ele and .node and .face files, written by tetgen
writeMeshObj For mesh debugging: writes mesh as three separate OBJ files which can be viewed with e.g. javaview

Thursday, October 8, 2009

mathematica ; STL ; 3D format



http://reference.wolfram.com/mathematica/guide/3DGeometryAndModelingFormats.html

http://reference.wolfram.com/mathematica/ref/format/STL.htmlMIME type: application/sla
STL computer-aided design and manufacturing format.
3D geometry format.
Commonly used for representing solid models in rapid prototyping systems.
Native format of the 3D Systems stereolithography CAD software.
Developed in 1989 by 3D Systems, Inc.
STL is an acronym derived from stereolithography.
ASCII or binary format.
Binary STL files store data using little-endian byte ordering.
Stores a solid 3D object as a surface formed by a collection of adjacent triangles.
Does not store color information.


SEE ALSO

"3DS" bullet "BYU" bullet "JVX" bullet "LWO" bullet "Maya" bullet "NOFF" bullet "OBJ" bullet "OFF" bullet "PLY" bullet "POV" bullet "RIB" bullet"VRML" bullet "X3D" bullet "ZPR"

Tuesday, October 6, 2009

U3D and matlab file exchange; Export triangulated mesh into a pdf with a 3D interactive object.

http://www.mathworks.com/matlabcentral/fileexchange/25383
Description
Export triangulated mesh into a pdf with a 3D object. The matlab mesh is converted to IDTF with matlab code. The IDTF file is converted to u3d with an external binary file. The u3d file can then be embedded into a pdf with pdflatex and the movie15 package. The user can then interact with the mesh (zoom, rotate etc.) from adobe reader. The package contains demo data and example of output.

The code of the IDTF to U3D converter can be obtained at : http://sourceforge.net/projects/u3d/

The toolbox has been tested on mac intel, linux and windows.

To test run the script : demo_mesh2pdf.m

MATLAB release MATLAB 7 (R14)
Other requirements The windows version requires to install MeshLab : http://meshlab.sourceforge.net/

Saturday, September 26, 2009

PDF = ISO 32000 standards (in english and en français)

With Adobe® Acrobat® 9 software, you can save any digital document as a PDF file that conforms to a variety of industry- or format-specific standards or that adheres to your organization's own unique specifications. Standardize on Acrobat to:
  • Easily create and distribute electronic documents that comply with a variety of standards, including PDF/A, PDF/E, and PDF/X
  • Optimize electronic documents for accessibility by people with disabilities
  • Easily combine important compliance documents — from a variety of applications — into a single, searchable PDF document
  • Develop and update compliance documentation using sophisticated document review tools
  • Integrate industry data standards and ease business transactions by combining the power of XML with intelligent PDF technologies

Meet current standards


PDF: Invented by Adobe Systems and perfected over 15 years, PDF is now a formal, open standard. Maintained by the International Organization for Standardization (ISO), ISO 32000 will continue to be developed with the objective of protecting the integrity and longevity of PDF, providing a formal, open standard for the more than one billion PDF files in existence today.

Visit the AIIM website: PDF Expert Corner

PDF/A: Approved by the ISO in May 2005, PDF/A supports the long-term preservation of digital documents. Using Acrobat 9, records managers, archivists, and industry compliance professionals can easily preserve and protect important electronic documents as fully searchable, protected PDF/A-compliant files.

Read about PDF for archiving (PDF, 272K)

PDF/E: Ratified by ISO as an open standard in June 2007, PDF/E provides guidelines for the reliable exchange of documentation and drawings. Architects, engineers, construction professionals, and manufacturing product teams can use Acrobat 9 to streamline the exchange of project information and to review and mark up documents, including complex 3D content.

See AIIM: PDF/Engineering

PDF/X: Developed to facilitate the exchange of final, print-ready pages, PDF/X restricts all content — such as embedded multimedia — that does not directly serve high-quality print production output. Print professionals, graphic designers, and other creative professionals can use Acrobat 9 to create and deliver predictable, press-ready PDF/X-compliant files.

Read the FAQ: Adobe and PDF/X (PDF, 59K)

U3D: The Universal 3D (U3D) file format is an open and extensible format for sharing and viewing interactive 3D designs. Architects, engineers, and manufacturing design professionals can use Acrobat 9 to embed U3D files directly into PDF files, making it easy to distribute, review, or repurpose valuable 3D content.

Visit Ecma International: Universal 3D file format

PDF Healthcare: PDF allows healthcare providers and consumers to develop a more secure electronic container for storing and transferring healthcare information, including documents, XML data, DICOM images and data, clinical notes, lab reports, electronic forms, scanned images, photographs, digital X-rays, and ECGs. Resources on the AIIM website can help you take full advantage of the capabilities of PDF in healthcare workflows.

Visit AIIM: PDF Healthcare

Purchase the Best Practices Guide

Adobe and industry standards: Adobe is an active member of key standards bodies, working groups, and industry associations that develop standards, including XML-based industry standards. We contribute ongoing resources and publish, review, and share technology.

Read about Adobe and industry standards

Prepare for future standards


PRC: PRC is a compact, flexible 3D file format for representing 3D models and assemblies. It is optimized to store, load, and display various kinds of 3D data, especially for data that represents manufactured products. Adobe has released PRC to ISO for standardization.

Read the FAQ: PRC format (PDF, 89K)

PDF/UA: PDF/UA provides guidance for making PDF information universally accessible. Businesses and government agencies can use Acrobat 9 to create PDF/UA-compliant documents that can be accessed anytime, on any hardware or software platform, by anyone — even people with disabilities, such as vision impairment or limited mobility.

Visit PDF Universal Accessibility Committee

------------------

Avec Adobe® Acrobat® 9, vous pouvez enregistrer n'importe quel document numérique sous forme de fichier PDF conforme aux standards sectoriels ou aux spécificités de formats en vigueur, ou respectant le cahier des charges de votre entreprise. Adoptez Acrobat pour :
  • créer et diffuser facilement des documents électroniques conformes aux normes, dont PDF/A, PDF/E et PDF/X
  • optimiser l'accessibilité des documents électroniques aux personnes souffrant de handicaps
  • regrouper aisément tous vos documents réglementaires importants (depuis diverses applications) en un document PDF unique indexé
  • élaborer et actualiser vos déclarations de conformité au moyen d'outils de révision documentaire sophistiqués
  • intégrer les standards du marché et faciliter les transactions commerciales en associant la puissance du langage XML à l'intelligence des technologies PDF

Respect des standards actuels


PDF - Inventée par Adobe Systems et perfectionnée depuis plus de 15 ans, la technologie Adobe PDF (Portable Document Format) est officiellement devenue un standard ouvert, sous l'appellation ISO 32000. Gérée par l'ISO (International Organization for Standardization), la norme ISO 32000 est développée afin de protéger l'intégrité et la longévité du format PDF, qui constitue un standard ouvert officiel pour plus d'un milliard de fichiers PDF actuellement en circulation.

PDF/A - Approuvé par l'ISO en mai 2005, PDF/A assure la conservation à long terme des documents numériques. En faisant appel à Acrobat 9, archivistes et professionnels de la conformité peuvent aisément conserver et protéger des informations électroniques importantes sous forme de documents entièrement indexés, conformes à la norme PDF/A.

Pour en savoir plus (PDF : 272K)*

PDF/E - Homologué par l'ISO en juin 2007, le standard ouvert PDF/E fournit des directives pour l'échange fiable de documentation et de dessins techniques. Architectes, ingénieurs, professionnels du BTP et équipes de fabrication se servent d'Acrobat 9 pour simplifier l'échange de données de projet, mais aussi revoir et annoter des documents, y compris du contenu 3D complexe.

Pour en savoir plus*

PDF/X - Conçu pour faciliter l'échange de pages finalisées prêtes pour l'impression, PDF/X limite les contenus ne garantissant pas une production imprimée de qualité supérieure (contenus multimédias incorporés). Professionnels de l'impression, graphistes et autres créatifs peuvent exploiter Acrobat 9 pour produire des fichiers conformes à la norme PDF/X, prêts à être mis sous presse.

Pour en savoir plus (PDF : 59K)*

U3D - Universal 3D (U3D) est un format ouvert et évolutif se prêtant au partage et à la visualisation de modèles 3D interactifs. Architectes, ingénieurs et professionnels de la modélisation industrielle peuvent faire appel à Acrobat 9 pour incorporer directement des fichiers U3D dans des documents PDF, facilitant ainsi la distribution, la révision et le reformatage de précieux contenus 3D.

Pour en savoir plus (PDF, 776 Ko)*

Anticipation des standards à venir


PDF/UA - PDF/UA fournit des directives pour rendre les informations PDF universellement accessibles. Entreprises et administrations peuvent utiliser Acrobat 9 pour créer des documents conformes PDF/UA accessibles à tout moment, sur toute plate-forme matérielle ou logicielle, et par quiconque — même par les personnes présentant un handicap (déficience visuelle ou mobilité réduite).

Pour en savoir plus*

U3D pdf adobe acrobat version 9; Conversion d'un fichier 3D à l'aide du paramètre U3D ou PRC




Vous pouvez convertir des fichiers 3D et de CAO dont le format est pris en charge en fichiers PDF contenant une ou plusieurs pages. Les paramètres prédéfinis par défaut fonctionnent parfaitement pour la plupart des types de conversion. Cependant, vous pouvez les modifier ou sélectionner un paramètre prédéfini différent au cours de la conversion. (Pour afficher les paramètres de conversion 3D avant de convertir le fichier, ouvrez la boîte de dialogue Préférences. Sous Catégories, sélectionnez Conversion au format PDF, choisissez un format de fichier, puis cliquez sur Modifier les paramètres.)

Les fichiers 3D sont convertis en flux de données PRC ou U3D, puis ils sont stockés dans le fichier PDF résultant. Le format du fichier 3D détermine les entités susceptibles d'être importées dans le fichier PDF.

Si votre PC Windows est équipé d'un adaptateur vidéo intégré, mettez à niveau le pilote de cet adaptateur pour vous assurer que le contenu 3D est généré correctement. Pour obtenir la dernière version du pilote, consultez le site Web du fabricant de l'adaptateur vidéo ou de l'ordinateur.

Pour plus d'informations sur la conversion des fichiers 3D, reportez-vous aux ressources suivantes :




Conversion des fichiers 3D



  1. Sélectionnez les fichiers 3D CAO que vous souhaitez convertir :
    • Pour créer un document d'une page, choisissez Fichier > Créer un fichier PDF > A partir d'un fichier. Sélectionnez le fichier 3D, puis cliquez sur Ouvrir.
    • Pour créer un document de plusieurs pages, choisissez Fichier > Créer un fichier PDF > Fusionner les fichiers en un seul fichier PDF. Cliquez sur le bouton Ajouter des fichiers afin de sélectionner les fichiers 3D voulus, puis choisissez Combiner les fichiers. Chaque fichier 3D s'affiche sur une page distincte.

  2. Dans la boîte de dialogue Conversion Acrobat 3D, sélectionnez les paramètres prédéfinis ou individuels que vous souhaitez utiliser, puis cliquez sur OK.
    Une autre solution consiste à faire glisser un fichier 3D depuis le bureau dans Acrobat Professional Extended (ou vers l'icône de l'application) afin de créer un fichier PDF d'une seule page. Vous pouvez également cliquer avec le bouton droit de la souris sur le fichier 3D et choisir l'option de conversion au format PDF dans le menu contextuel (valable pour un seul fichier). Pour plusieurs fichiers, choisissez Combiner les fichiers pris en charge dans Acrobat (s'applique au fichier sélectionné et à ceux que vous sélectionnez dans la boîte de dialogue qui s'affiche alors).




Création d'un modèle PDF pour les fichiers 3D





Pour harmoniser la structure et la disposition de vos documents PDF 3D, créez un fichier PDF modèle contenant une balise d'emplacement pour le modèle 3D. Vous pouvez créer un tel fichier modèle dans toute application Microsoft® Office dans laquelle PDFMaker est disponible. Une fois le fichier modèle créé, sélectionnez-le dans la boîte de dialogue de conversion d'Acrobat 3D à chaque conversion d'un fichier 3D au format PDF.


  1. Dans un document Office 2003, cliquez sur le bouton Insérer un modèle Acrobat 3D de la barre d'outils PDF. Dans un document Office 2007, cliquez sur Incorporer le contenu 3D sur le ruban Acrobat.
  2. Dans la boîte de dialogue qui s'affiche, cliquez sur OK sans sélectionner de modèle 3D.Cette opération permet de créer une balise d'emplacement pour la conversion 3D.
  3. Positionnez et redimensionnez cette balise d'emplacement en fonction des modèles 3D à insérer.
  4. Ajoutez toutes les informations qui vous semblent pertinentes, puis enregistrez le fichier.
  5. Cliquez sur le bouton Convertir au format Adobe PDF de la barre d'outils PDF (Office 2003) ou sélectionnez Créer un fichier PDF sur le ruban Acrobat (2007). Enregistrez ensuite le fichier au format PDF.



Pour utiliser ce fichier modèle lors de la conversion, activez l'onglet Document de la boîte de dialogue Conversion Acrobat 3D. Si le nom du modèle n'apparaît dans la zone Modèle PDF, cliquez sur Parcourir pour le localiser et l'ouvrir.





Conversion d'un fichier 3D à l'aide de paramètres PRC





Utilisez les paramètres PRC pour créer un fichier PDF qui contient des données PMI (Product Manufacturing Information), des paramètres de polygone ou de polygonalisation, de géométrie ou représentations par frontières. Après avoir créé le fichier PDF, vous pouvez exporter la géométrie aux formats de fichier standard que peuvent lire la plupart des applications de CAO, FAO et IAO.


  1. Sélectionnez Fichier > Créer un fichier PDF > A partir d'un fichier, sélectionnez le fichier de CAO 3D, puis cliquez sur Ouvrir.
  2. Dans la boîte de dialogue Conversion Acrobat 3D, cliquez sur l'onglet Importation.
  3. Pour importer les données PMI (Product Manufacturing Information) avec un modèle 3D, sélectionnez Vues et données PMI 3D. Vous pouvez importer les informations PMI des fichiers CATIA V5, I-DEAS, JT, NX (Unigraphics), Pro/ENGINEER et SolidWorks.Cette option est uniquement disponible pour les modèles contenant des données PMI.
  4. Pour remplacer les polices utilisées avec les informations PMI, cliquez sur Polices, sélectionnez Toujours substituer, spécifiez la police et cliquez sur OK.Si vous sélectionnez Toujours substituer, vous supprimez dans le fichier PDF toute référence à la police utilisée pour les informations PMI. Si vous laissez l'option Toujours substituer désactivée, Acrobat substitue toutes les polices manquantes. Si les polices d'origine deviennent disponibles, elles sont alors utilisées pour afficher les informations PMI.
  5. Cliquez sur l'onglet Optimisation, puis choisissez un paramètre PRC dans le menu Format :

    Représ. par frontières PRC (solide)
    Conserve uniquement les informations de géométrie du modèle 3D. Cette option permet d'obtenir des fichiers plus petits mais les polygones doivent être régénérés à chaque ouverture d'un fichier. Voir Exportation de la géométrie à partir de modèles 3D.
    Représ. par frontières PRC + polygonalisation
    Conserve les éléments géométriques de la géométrie 3D et tous les paramètres de polygones enregistrés. Si le modèle 3D n'inclut pas les paramètres de polygone, ils sont générés à partir de la géométrie lors de la conversion.
    Polygonalisation PRC (à facettes)
    Conserve les paramètres des polygones du modèle 3D ou génère de nouveaux polygones à partir de la géométrie.





  6. Sélectionnez un niveau de détail. Pour définir des mesures précises, sélectionnez Personnalisée (pour la visualisation) ou Précision contrôlée (pour l'impression STL), puis cliquez sur Options avancées.





  7. (Facultatif) Pour appliquer la compression, sélectionnez une option de compression PRC. Si vous prévoyez d'exporter la géométrie, laissez l'option Compresser le modèle de représentation par frontières désactivée ou définissez sa valeur sur 0,001 mm.
    Les fichiers compressés sont plus petits mais leur ouverture prend plus de temps que celle des fichiers PDF non compressés. Pour gagner du temps, utilisez la compression uniquement lorsqu'elle s'avère nécessaire (après une conversion PDF : cliquez sur le modèle 3D avec le bouton droit de la souris, puis choisissez Optimiser. Cette option est uniquement disponible dans les fichiers PDF convertis à l'aide des paramètres PRC.







Remarque : Lorsque vous appliquez des mesures de protection à un fichier PDF 3D contenant des éléments géométriques, évitez de définir des paramètres qui limitent la modification et l'impression du document. Sinon, l'option d'exportation de la géométrie est désactivée.





Conversion d'un fichier 3D à l'aide du paramètre U3D



  1. Sélectionnez Fichier > Créer un fichier PDF > A partir d'un fichier, sélectionnez le fichier de CAO 3D, puis cliquez sur Ouvrir.
  2. Dans la boîte de dialogue de conversion, cliquez sur l'onglet Optimisation, puis choisissez un paramètre de conversion U3D dans le menu Format 3D dans le fichier PDF :

    U3D ECMA 3
    Garantit la compatibilité avec Acrobat 8.1 et versions ultérieures ainsi qu'avec Adobe Reader® 8.1 et versions ultérieures.
    U3D ECMA 1 (compatible avec Reader 7.0)
    Garantit la compatibilité avec Acrobat 7.0 et versions ultérieures ainsi qu'avec Reader 7.0 et versions ultérieures.





  3. Sélectionnez un niveau de détail. Pour définir des mesures précises, sélectionnez Personnalisée (pour la visualisation) ou Précision contrôlée (pour l'impression STL), puis cliquez sur Options avancées.





  4. (Facultatif) Pour la conversion U3D ECMA 3, sélectionnez Qualité de maillage, puis spécifiez un pourcentage.





  5. Définissez les autres options pertinentes, puis cliquez sur OK.










A propos des formats de conversion PRC et U3D

ref:

http://help.adobe.com/fr_FR/Acrobat/9.0/3D/WS58a04a822e3e50102bd615109794195ff-7c0f.w.html

Monday, July 21, 2008

Mesh Viewer

http://mview.sourceforge.net/

MS Windows executable


mview-win-0.3.1.zip (2.4MB)

Mesh Viewer is an easy to use lightweight application for displaying three dimensional models (triangular meshes) from a variety of file formats. It uses OpenGL to render the models.

Mesh Viewer supports the following 3D file formats:
  • PMesh forma (used at the Vision group of the University of Edinburgh)
  • GTS format (from the Gnu Triangulation Library)
  • Geomview format (only format "OFF" or "COFF")
  • PLY format (only ASCII format)
  • VRML 1.0 format
  • VRML 2.0 format (VRML97)
  • Visualisation Toolkit VTK format (ASCII POLYDATA only)
  • Alias Wavefront / Java 3D OBJ format (ASCII polygon data only).

A short description of the features and capabilities of some of the supported 3D formats can be found here.

FREE VRML Viewer and matlab

FREE VRML Viewer and matlab, virtual reality toolbox:
download:

http://www.orbisnap.com/download2.html

gallery:

http://www.orbisnap.com/gallery.html

The examples can be viewed also directly using standard VRML 97 browser plug-ins by clicking the corresponding "View virtual scene" links.

see some examples that were created using Virtual Reality Toolbox, a tool that lets you view and interact with dynamic system simulations           in a 3-D virtual reality environment. All of the behavioral dynamics of the examples are being driven by MATLAB® and Simulink® developed by             The MathWorks, Inc. that allow effective creating dynamic models of real systems physics.

Solar System



This model represents the dynamics of inner Solar System (Sun, Mercury, Venus, Earth + Moon, Mars). For visualization purposes, the relative planet sizes to their distances and the distance between Moon and Earth were adjusted. Otherwise, the model is a good approximation of Solar system dynamics.

View virtual scene
Download zipped VRML world

Friday, July 11, 2008

VRML of a segmented image

I have an image segmented in matlab (in the form of 3d matrix with
elements 0 and 1) and from that matrix I want to create a vrml model,
do you know the best way to do it (with or without matlab, even if
with matlab I have the virtual reality toolbox installed)!

f,v]=isosurface (3Dmatrix,0);
translated to vrml with a simple script:

...
[fid,errmsg] = fopen('mymodel.wrl','w+');
...

----

fprintf(fid,' coord Coordinate {\n');
fprintf(fid,' point [\n');

for i=1:size (v,1)
fprintf(fid,'%f ',v(i,1)/500);
fprintf(fid,'%f ',v(i,2)/500);
fprintf(fid,'%f ',v(i,3)/500);
fprintf(fid,'\n');
end

fprintf(fid,' ]#Point\n');
fprintf(fid,' }#Coordinate\n');
fprintf(fid,' index[\n');

for i=1:size (f,1)
fprintf(fid,'%d ',f(i,1)-1);
fprintf(fid,'%d ',f(i,2)-1);
fprintf(fid,'%d ',f(i,3)-1);
fprintf(fid,'\n');
end

fprintf(fid,' ]#index\n');

...

fclose (fid);

Will you please show some (first ten lines - max .1kB) of the result?

unfortunately 30 megabytes for a 218x218x128 image!

The wrl file is not an image, it is the geometry and lighting.
You are sending the browser (the program that runs the .wrl file

(sets of x,y,z vertex values along with the info to make them
into triangles and lights that become pixels.

http://www.web3d.org/x3d/specifications/ISO-IEC-19776-X3DEncodings-XML-ClassicVRML/
that's too much (for both speed and memory), even because i want to
deal with much bigger matrix!

Great, we all want that.

ref: http://newsgroups.derkeiler.com/Archive/Comp/comp.lang.vrml/2007-08/msg00007.html

Cell3D

http://www.3d-node.com/cmsimple-en/?Products%2C_Projects%26nbsp%3Band_Services:Cell3D

Introduction

Interactive 3D-Visualization of various microscopic image stacks.

First version was implemented in pure MS-Visual-c++ and OpenGl. The new version uses the MedWorld3D-VRML/X3D-Core. It supports all the (interactive) features of MedWorld3D and some new components especially for microscopic visualization.

Image import features (additionally to DICOM, ACR-NEMA): JPG, BMP, RAW, TIFF, PNG, JPEG2000, Biorad, Metamorph, Zeiss, Lucia, Nikon, Leica, Autooquant, Imagepro

Preparation features (additionally to MedWorld3D-features): innovative script mechanism for different filters and filter combinations for multiple ROIs.

Postprocessing features (additionally to MedWorld3D-features): 3D-Color-Manipulation, interactive chromatek 3D, object code combination

Interactive anatomical 3d-visualisation powered by X3D/VRML

Interactive 3D Visualization technique represents an important diagnosis and therapy planning tool. It cannot be compensated with simple 2D Pictures or static 3D Views.

Multimedia teaching tools which contain textual information, non-interactive videos and restricted pseudo three-dimensional scenarios can considerably contribute to the understanding of medical facts by the completion of interactive 3D Components. Multiuser environments are also an important aspect to recognize coherence of single events in patients physical health and to support medical teachings.

Until now, these techniques are not applicable every time and everywhere. Insufficient software functionality and quality, competitive and proprietary software and hardware as well as different system requirements for visualization aggravated the distribution of interactive 3D Systems.

So far, there is no common standard for 3D Geometry in medicine, like the Dicom files. These files include medical 2D Images, patient information and acquisition details in a special syntax.

Besides many simple 3D File formats, there are also considerably "more intelligent" specifications, like the XML compliant X3D specification. The new system reduces or eliminates all disadvantages of the regular systems and opens new Potentials.

http://www.3d-node.com/cmsimple-en/?Products%2C_Projects%26nbsp%3Band_Services:MedWorld3D

--------

Features (public Version 1.0.0)
  • 3D-Generator reads and creates 3d data from DICOM, JPG, BMP, RAW
  • VRML97/X3D compliant, tested with viper (vrml) and most known plugins on different OSs (vrml,x3d)
  • Platform-independent, uses a standard Browser Plugin (Best viewed with Cortona,BS-Contact,Freewrl or GLView, because of missing/bad/buggy script-implementation in octagonfree,flux,openvrml,venues,horizon,casa,vrweb - on those browsers only limited features)
  • Works with PocketCortona on Pdas
  • Ergonomic x3d/vrml interface, also for full windowxp-tabletpc use
  • 3D-manipulation functions like 3d-volume/area measuring and 3d-annotations in X3D/VRML. Transformation of 2D markers into 3d space and back. Export to ISO-SVG-Code.
  • Access to the real world via java-servlets
  • Multiprocessing, multimonitor and multiuser realtime experience trough EAI and SAI, limited only by the java-socket-interface and EAI availability (IE)
  • Multiuser database control for the 3d-manipulation system via java-servlets
  • Dicom-source-browsing via java-servlets (on next version also texture mapping)
  • Easy StepIn3D-system for vrml/x3d-beginners (plugin installation, tips, os-control)
  • Anatomical X3D/VRML-data-generation for all greyscale-datasets like CT,MR in dicoms/jpg/bmp-files (volume surface rendering with marching cube), interactive rendering control and annotation support with virtual sound and text enhancement -modular design, pluggable features via the 3d-generator-authoring-tool
  • Export of dicom-tags (patient,physician, institute...) to XML files for integration in X3D-scenes
  • Supports also special devices: X3D/VRML-viewer-software like 4d-vision stereo display software, phantom force-feedback-system, actual-systems holo-viewer (reduced vrml subset)
  • Special stereoscopic support and interface-design on all stereo-enabled devices (nvidia...) with e.g. cortona or glview
  • Hardware support for spaceball and spacemouse over special emulator software for all vrml/x3d viewers (windows only)
  • DirectX-device-support via bs-contact joystick interface and cortona keyboard-interface via plugin-independent joystick-emulator(partially third party, thanks to www.deinmeister.de)
  • Programmable POS-Keyboard support for cortona keyboard-nodes -plugin independent realtime image manipulation in the 2d-gui and 3d-gui(windows only, but next version comes also for linux and mac) -

X3D VRML freeware file translator input import export

X3D is a royalty-free open standards file format and run-time architecture to represent and communicate 3D scenes and objects using XML. It is an ISO ratified standard that provides a system for the storage, retrieval and playback of real time graphics content embedded in applications, all within an open architecture to support a wide array of domains and user scenarios.

X3D has a rich set of componentized features that can tailored for use in engineering and scientific visualization, CAD and architecture, medical visualization, training and simulation, multimedia, entertainment, education, and more.

The development of real-time communication of 3D data across all applications and network applications has evolved from its beginnings as the Virtual Reality Modeling Language (VRML) to the considerably more mature and refined X3D standard.

X3D Features at a Glance


  • XML Integrated: the key to integration with:
    • Web Services
    • Distributed Networks
    • Cross-platform, inter-application file and data transfer

  • Componentized: allows lightweight core 3D runtime delivery engine
  • Extensible: allows components to be added to extend functionality for vertical market applications and services
  • Profiled: standardized sets of extensions to meet specific application needs
  • Evolutionary: easy to update and preserve VRML97 content as X3D
  • Broadcast/Embedded Application Ready: from mobile phones to supercomputers
  • Real-Time: graphics are high quality, real-time, interactive, and include audio and video as well as 3D data.
  • Well-Specified: makes it easier to build conformant, consistent and bug-free implementations

X3D Supports


  • 3D graphics and programmable shaders - Polygonal geometry, parametric geometry, hierarchical transformations, lighting, materials, multi-pass/multi-stage texture mapping, pixel and vertex shaders, hardware acceleration
  • 2D graphics - Spatialized text; 2D vector graphics; 2D/3D compositing
  • CAD data - Translation of CAD data to an open format for publishing and interactive media
  • Animation - Timers and interpolators to drive continous animations; humanoid animation and morphing
  • Spatialized audio and video - Audio-visual sources mapped onto geometry in the scene
  • User interaction - Mouse-based picking and dragging; keyboard input
  • Navigation - Cameras; user movement within the 3D scene; collision, proximity and visibility detection
  • User-defined objects - Ability to extend built-in browser functionality by creating user-defined data types
  • Scripting - Ability to dynamically change the scene via programming and scripting languages
  • Networking - Ability to compose a single X3D scene out of assets located on a network; hyperlinking of objects to other scenes or assets located on the World Wide Web
  • Physical simulation and real-time communication - Humanoid animation; geospatial datasets; integration with Distributed Interactive Simulation (DIS) protocols

Overview of X3D Profiles and Conformance


The modular architecture of X3D allows for layered "profiles" that can provide 1) increased functionality for immersive environments and enhanced interactivity or 2) focused data interchange formats for vertical market applications within a small downloadable footprint composed of modular blocks of functionality ("Components"), that can be easily understood and implemented by application and content developers.

A component-based architecture supports creation of different "profiles" which can be individually supported. Components can be individually extended or modified through adding new "levels", or new components can be added to introduce new features, such as streaming. Through this mechanism, advancements of the specification can move quickly because development in one area doesn't slow the specification as a whole. Importantly, the conformance requirements for a particular piece of content are unambiguosly defined by indicating the profiles, components and levels required by that content.

X3D Baseline Profiles


  • Interchange is the basic profile for communicating between applications. It support geometry, texturing, basic lighting, and animation. There is no run time model for rendering, making it very easy to use and integrate into any application.
  • Interactive enables basic interaction with a 3D environment by adding various sensor nodes for user navigation and interaction (e.g., PlanseSensor, TouchSensor, etc.), enhanced timing, and additional lighting (Spotlight, PointLight).
  • Immersive enables full 3D graphics and interaction, including audio support, collision, fog, and scripting.
  • Full includes all defined nodes including NURBS, H-Anim and GeoSpatial components.profiles

Additional X3D Profiles


  • MPEG-4 Interactive is a small footprint version of the Interactive profile designed for broadcast, handheld devices and mobile phones
  • CDF (CAD Distillation Format) is in development to enable translation of CAD data to an open format for publishing and interactive media.

X3D Content Authoring & Editing Tools
Tools for authoring X3D objects, scenes, behaviors, and character animation

X3D Viewers, Browsers & Plug-ins
X3D file and scene viewers, web browsers & viewer plug-ins

Developer Toolkits and Libraries
Tools to help developers create X3D applications and integrate X3D-support into existing applications

File Translators & Utilities
Utilities for optimizing and translating 3D data for import and/or use in X3D applications

et-Specific Applications
X3D applications that are targeted for use in specific vertical markets such as simulation, CAD, geographic mapping, medical and prototyping

X3D Collaboration Applications
X3D applications for online collaboration and communication in virtual environments.

Games, Entertainment, and Education
Games, entertainment applications, and media-rich educational applications

----------

File Translators & Utilities







3d model translation and interactive viewing shareware tool that imports X3D geometry and exports to other formats





X3D Exporter for 3D Studio Max versions 5, 6, and 7





AccuTrans 3D provides accurate translation of 3D geometry between the file formats used by many popular modeling programs. Positional and rotational information for the 3D meshes is maintained. Also many material attributes, such as color, index of refraction, reflection, specularity and Phong shading, are transferred between the files. Textures and UV coordinates are supported. The program has been enhanced with additional features to make it more than just a 3D file conversion program. It supports VRML and writing of X3D-files.





Polyhedron modelling in OFF format with conversion from OFF to VRML97 with the off2vrml program. [please include in the VRML section]





Exporter (Python-Script) which will generate an X3D-Files from Blender.





Import X3D models into the popular Blender modeling and animation package





BS Encrypt encrypts 3D models for use in commercial business applications with focus on Internet use.





BS Encrypt encrypts 3D models as content protection for use in applications with focus on Internet use or content dissemination via CD/DVD.





BS Exporter for 3ds max converts data from 3ds max and supported Extensions for BS Contact VRML/X3D for state of the art realtime and Internet ready applications.





This feature-rich exporter includes support for real-timeshadows, static radiosity lighting, dynamic particle effects, multi-texturing, normal and environment maps, movie textures, animation and custom interaction scripting from within Blender itself.





BS Reducer decreases the number of polygons in high detailed 3D models without changing the appearance.





BS Reducer decreases the number of polygons in high detailed models without changing the appearance.





A series of scripts to take BVH (Biovision) motion capture files and apply them to CAESAR human body scan files. The body parts plus the animation are combined into a complete VRML file following the H-ANIM spec plus the animation resulting in a complete H-ANIM figure animated by the BVH file.





CIS/2 are the CIMsteel Integration Standards, a common method to represent steel structures. The translator converts a CIS/2 file into a VRML or X3D file.





Translator utility to convert files in the Keyhole Markup Language (KML), the modeling format for Google Earth, into X3D





Export X3D including H-Anim from the MilkShape 3D polygon modeler





The Octaga Exporter is a very useful tool if you are a user of 3D studio max. It helps you to ease the process from design to real-time 3D presentation. It saves you a lot of time and hazel by directly exporting visual effects made in 3D studio max. The Octaga Exporter makes the work process complete from 3D studio max, to Octaga Professional, Octaga Producer to Octaga Server. Octaga Exporter is available for both 3ds Max v.5 and v.6





Okino's PolyTrans & NuGraf provide the defacto implementations of X3D, Classic-VRML, VRML2 and VRML1 for the 3D industry. Provides bi-directional conversion between all major 3D file formats, animation systems (3ds Max, Maya, XSI, Lightwave, C4D and more), CAD file formats and VisSim systems. Robustly and accurately cross-converts meshes, trimmed NURBS, curves, 3D points, line sets, materials, textures, bitmaps, animation, and everything expected of a professional conversion system. See online help for full details. Used by 10's of thousands of 3D professionals and Fortune 1000 companies.





Enables 3DS MAX to use SFImage data in WRL/X3D/X3DV file, include input PixelTexture to a bitmap, and output a bitmap to WRL/X3D/X3DV file.





RawKee is an open source plugin for Maya Complete and Maya Unlimited that not only allows users to export the X3D file format, but also allows them to setup X3D scripting and routing from with Maya through the RawKee X3D interaction editor.





A stand-alone application to convert the scene files exported from UnrealEd (free Unreal game editor) into X3D, including geometry, animation, sound and interactivity.





This is a standalone Java-based software package for translating VRML97 files into X3d file using "x3d-3.0.dtd".





VrmlMerge converts VRML'97 files to X3D files (XML encoding), merges multiple .wrl files producing one big file, and replaces image textures with pixel textures.





The X3D and VRML Plugin Detector determines which, if any, X3D and VRML plugins are installed in your web browser.





Export X3D data files form the popular AC3D modeler





Xj3D includes a command-line X3D translator between XML encoding (.x3d), Classic VRML encoding (.x3dv) and VRML97 encoding (.wrl).





http://www.web3d.org/about/overview/

VRML File Format

VRML File Format


You need not have any substantial knowledge of the VRML format to use the VRML authoring tools to create virtual worlds. However, it is useful to have a basic knowledge of VRML scene description. This helps you to create virtual worlds more effectively, and gives you a good understanding of how the virtual world elements can be controlled using the Virtual Reality Toolbox.

This section is an introduction to VRML. For more information, refer to the VRML97 Reference. This reference is available online at http://www.web3d.org.

In VRML, a 3-D scene is described by a hierarchical tree structure of objects (nodes). Every node in the tree represents some functionality of the scene. There are 54 different types of nodes. Some of them are shape nodes (representing real 3-D objects), and some of them are grouping nodes used for holding child nodes. Here are some examples:
  • Box node -- Represents a box in a scene.
  • Transform node -- Defines position, scale, scale orientation, rotation, translation, and children of its subtree (grouping node).
  • Material node -- Corresponds to material in a scene.
  • DirectionalLight node -- Represents lighting in a scene.
  • Fog node -- Allows you to modify the environment optical properties.
  • ProximitySensor node -- Brings interactivity to VRML97. This node generates events when the user enters, exits, and moves within the defined region in space.

Each node contains a list of fields that hold values defining parameters for its function.

Nodes can be placed in the top level of a tree or as children of other nodes in the tree hierarchy. When you change a value in the field of a certain node, all nodes in its subtree are affected. This feature allows you to define relative positions inside complicated compound objects.

You can mark every node with a specific name by using the keyword DEF in the VRML scene syntax. For example, the statement DEF MyNodeName Box sets the name for this box node to MyNodeName. You can only access the fields of those nodes that you name in a virtual world.

In the following example of a simple VRML file, two graphical objects are modeled in a 3-D scene: A floor is represented by a flat box with a red ball above it. Note that VRML file is a readable text file that you can write in any text editor.

  • #VRML V2.0 utf8
    # This is a comment line
    WorldInfo {
      title "Bouncing Ball" 
    }
    Viewpoint {
      position 0 5 30
      description"Side View"
    }
    DEF Floor Box {
      size 6 0.2 6
    }
    DEF Ball Transform {
      translation 0 10 0
      children Shape {
        appearance Appearance {
          material Material {
            diffuseColor 1 0 0
          }
        }
        geometry Sphere {
        }
      }
    }


The first line is the VRML header line. Every VRML file must start with this header line. It indicates that this is a VRML 2 file and that the text objects in the file are encoded according to the UTF8 standard. You use the number sign (#) to comment VRML worlds. Everything on a line after the # sign is ignored by a VRML viewer, with the exception of the first header line.

Most of the box properties are left at their default values -- distance from the center of coordinate system, material, color, and so on. Only the name Floor and the dimensions are assigned to the box. To be able to control the position and other properties of the ball, it is defined as a child node of a Transform type node. Here, the default unit sphere is assigned a red color and a position 10 m above the floor. In addition, the virtual world title is used by VRML viewers to distinguish between virtual worlds. A suitable initial viewpoint is defined in the virtual world VRML file.

When displayed in V-Realm builder, the floor and red ball look like