vrml

How can I trigger JavaScript in a VRML Anchor—is it possible to use an Event Listener?

 ̄綄美尐妖づ 提交于 2020-02-26 00:53:49
问题 I'm using the X_ITE javascript-WebGL library to display a legacy VRML project in modern browsers. Anchors in the VRML code currently open HTML files in separate windows (on the same domain) like this: Anchor { url "javascript: window.open('./data/583.html' other_stuff…)" description etc.… } or by calling a function and passing the relevant argument: url "javascript: showInfo('583')" Both produce CORS errors, which I can get around by simply opening the URL: url "data/583.html" However,

Is there a High-Level VRML-like API for doing 3D with HTML5?

那年仲夏 提交于 2019-12-22 18:37:41
问题 I used to love VRML + Java/Javascript as a way of building 3d web-based environments. Of course VRML has died a death and during the course of my subsequent wanderings of the web I picked up a lot of noise about HTML5 and its Canvas element. What I would like to do is revisit my VRML work of the late 90s with the new technology but what I've seen in the demo code out there is very low-level calls and the sort of API that would involve me doing some fairly complex maths (I am emphatically not

OpenVRML in snow-leopard (from macports)

与世无争的帅哥 提交于 2019-12-12 21:18:20
问题 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 <config.h> # endif # include <openvrml/vrml97_grammar.h> # include <openvrml/browser.h> # include <fstream> ... then in Xcode, I added the following path and check "recursive" for the Header search path and Lib Search Path: /opt/local/var/macports/software And all '***.h file not found' errors

Three.js - VRML Loader

烂漫一生 提交于 2019-12-12 04:37:07
问题 I'm trying to use the Three.js with VRML (WRL) models. What I am wondering is that the model is loaded with variations of colors (colored). How can I load the model in solid color as the original file? My example is: http://dev.logicarts.com.br/semapro/projeto-3d/teste-1.html The code: <div id="info"> <a href="http://threejs.org" target="_blank">three.js</a> - vrml format loader test - <!--model from <a href="http://cs.iupui.edu/~aharris/webDesign/vrml/" target="_blank">VRML 2.0 Tutorial</a>,

VRML to X3D Conversion

◇◆丶佛笑我妖孽 提交于 2019-12-03 12:30:26
问题 I'm working on a web application that manages VRML files. I also want to let users see the uploaded files, without requiring a specific plug-in or player. X3DOM allows viewing X3D files without plug-ins on most browsers, so I'd like to use it. Alas, it works on X3D files, and not VRML files. I need to convert VRML files to the X3D format. The same people behind X3DOM released a package called InstantReality that has a utility that converts VRML to X3D. However, I'd much rather not use an

Whatever Happened to VRML?

末鹿安然 提交于 2019-12-03 06:28:52
问题 Back in the late 1990s, when I was at grad school VRML was going to take over the world. My peers and I built all manner of useful and interesting things with it by hooking it up to Java and Javascript code. Of course back then computers were many times slower than they are now - multicore CPUs were largely the stuff of science fiction or hush-hush research projects and our VRML applications ran just that little bit too slowly to catch on in the real world. A decade on, even a cheap PC with a

VRML to X3D Conversion

折月煮酒 提交于 2019-12-03 03:43:00
I'm working on a web application that manages VRML files. I also want to let users see the uploaded files, without requiring a specific plug-in or player. X3DOM allows viewing X3D files without plug-ins on most browsers, so I'd like to use it. Alas, it works on X3D files, and not VRML files. I need to convert VRML files to the X3D format. The same people behind X3DOM released a package called InstantReality that has a utility that converts VRML to X3D. However, I'd much rather not use an external utility (I'm not even sure I'm allowed to use it on a commercial environment, I couldn't find its

View VRML file with WebGL-capable browser [closed]

你说的曾经没有我的故事 提交于 2019-11-29 09:27:37
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 8 months ago . I have a legacy application that generates VRML 1.0 files. I'd like to build a WebGL-based web interface that can display these VRML files. Is there an easy way to do so? Edit: Specified that they are VRML 1.0. 回答1: If you can get it to VRML 2.0 (VRML '97) using a tool like the above-referenced one from