Questions tagged [vrml]

VRML is a 3D markup language implemented as a browser plug-in.

VRML (Virtual Reality Modeling Language, pronounced vermal or by its initials, originally—before 1995—known as the Virtual Reality Markup Language) is a standard file format for representing 3-dimensional (3D) interactive vector graphics, designed particularly with the World Wide Web in mind. It has been superseded by X3D.

93 questions
2
votes
1 answer

Parsing a file by blocks and extracting information from each of the blocks with Python

I'm trying to parse some blocks of text in a vrml file. Specifically I'm interested in the information contained in the IndexedFaceSets which represents a series of triangles defined by its coordinate points (field Points) and the conectivity…
user3641829
  • 261
  • 2
  • 11
2
votes
0 answers

Only one side of .wrl models gets rendered in ThreeJs

I have a .wrl file that looks normal (image below) when opened in MeshLab or Microsoft 3D Builder. However when loaded with Threejs THREE.VRMLLoader only one side of it gets rendered. I'm using the sample code from the three.js developers site. var…
csicsa
  • 21
  • 1
  • 3
2
votes
4 answers

Virtual 360º, stitching and presentation software, for use on PHP driven website?

EDITED (after 1st answer): Can anyone help by pointing to some good references for the creation and presentation of a 3D environment (a real room) on a website. Ideally it will not involve too much expense or too high a learning curve as this is a…
Matt
  • 935
  • 6
  • 16
2
votes
2 answers

X3D Relative URL's

So I'm developing an X3D scene with NetBeans and the X3D plugins (Similar to X3D-Edit), after validating my file with the built in quality assurance validator I get the following error; url array address(es) missing online…
omegaFlame
  • 245
  • 3
  • 9
  • 21
2
votes
2 answers

glDrawElements() parameters

I want to render a 3D box by reading its geometry from a VRML file. The indices in the VRML file is given as : coordIndex [ 0, 1, 2, -1, 2, 3, 0, -1, 3, 2, 4, -1, 4, 5, 3, -1, 5, 4, 7, -1, 7, 6, 5,…
Hellboy
  • 1,199
  • 2
  • 15
  • 33
2
votes
2 answers

OpenVRML in snow-leopard (from macports)

Hey, I just Downloaded openvrml from macports (port install openvrml) Now I have a Sample program (pretty_print.cpp from openvrml at sourceforge) that begins like this: # ifdef HAVE_CONFIG_H # include # endif # include…
nacho4d
  • 43,720
  • 45
  • 157
  • 240
2
votes
1 answer

VRML to JSON converter for WebGL

I want to convert a VRML 3D object to a JSON object (automatically got some thousand object) in oder to load it into my HTML side. I tried it with some converter I found but it still doesn't work. I tried the J3D.engine but I only can use models…
Phipps
  • 355
  • 1
  • 3
  • 10
2
votes
3 answers

Convert OpenGL 4-matrix into VRML T*R*S

I am trying to export a scene from a direct-mode OpenGL program to VRML. In both OpenGL and VRML, faces can be grouped into objects with their own translation, rotation and scale relative to the scene origin. In OpenGL these are stored as a 4-matrix…
Rich
  • 15,048
  • 2
  • 66
  • 119
2
votes
1 answer

How to open VRML(*.wrl ) file in iOS application

I have VRML(*.wrl ) file & I want to open that file inside my iOS application. Is there any way to do this i.e. any SDK, or other way. Thanks in advance
Sam
  • 902
  • 8
  • 16
1
vote
1 answer

VRML run a script

I am playing around with VRML at the moment, not through choice to be honest but for a project on Web 3D. I am trying to make a touch sensor in VRML that will show and hide a Div in a webpage. I have tried writing a wee script…
Ewen Cluley
  • 111
  • 2
  • 14
1
vote
1 answer

VRML: ROUTE as a parameter in PROTO

I have a PROTO of some object with TouchSensor and I'd like to link different ROUTEs to it when creating objects e.g. I have PROTO plate[] { Shape {..something..} DEF TS TouchSensor {} } I want to call plate{ROUTE ...} plate{ROUTE ...} with…
Ilya Blokh
  • 11,923
  • 11
  • 52
  • 84
1
vote
1 answer

How to upgrade Chevrotain in VRMLLoader

Trying to load vrml files into a three.js scene using the VRMLLoader bundled with three. When running the project locally, everything runs fine without issues, loading the project from a built deployment leads to the onLoad function failing due to…
1
vote
2 answers

How to export VRML including texture from 3D Studio Max

I am using 3D Studio Max 2011. I manage to export VRML by File / Export / …VRML but all the texture information gets lost by this. How do you export a model as VRML including its texture?
Bernd
  • 11,133
  • 11
  • 65
  • 98
1
vote
0 answers

VRMLLoader from three.js error on Angular 6 project

When loading a sample .wrl file using VRMLLoader from three-full npm package into Angular 6 project I get the following error: Cannot set property 'undefined' of undefined" at VRMLLoader.parse() method. In my component I have the following…
1
vote
1 answer

VRML loader in three.js rev 94 and above

I have a VRML model.file at: https://fe4d.com/tmap/assets/tube.wrl . I can load it with VRMLLooader in three.js rev 82. But when tried three.js rev 94 and rev 102, it failed. Has anybody had the same issue? What I need to do to load it in recent…