This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > VRML > April 2004 > Put together 2 VRML files...
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Put together 2 VRML files...
|
|
| Pablo 2004-04-26, 10:32 pm |
| Hi,
I have two separate VRML files which represent the exterior and interior
surface of an object. What I want to do is to visualize the two files one
inside the other. I remember a couple a months ago I did by creating a file
with these lines:
#VRML V2.0 utf8
inline{url "nameoffile1.WRL"}
inline{url "nameoffile2.WRL"}
Can anybody tell me if I'm using the right syntax, if not can someone tell
me what syntax I should use. I'm very very new with the VRML syntax. Thanks
for the help.
| |
| Muaddib 2004-04-26, 10:32 pm |
| Here is an example:
#VRML V2.0 utf8
PROTO ChessHall [
] {
Transform {
children [
Inline {
url "chessHallGroundModel.wrl"
}
Inline {
url "chessHallModel.wrl"
}
Inline {
url "chessHallBoardModel.wrl"
}
]
}
}
ChessHall {}
- Muaddib
--
-------------------------------------------------------
VRSpace - An open source, modular, cross-platform,
multi-user vrml system with persistent shared objects.
Check out the Nexus at http://www.vrspace.org/
-------------------------------------------------------
| |
| Pablo 2004-04-26, 10:32 pm |
| It did not work... I copied and paste the syntax that you sent me and
modified the name of the files and save it as test.wrl
#VRML V2.0 utf8
PROTO test [
] {
Transform {
children [
Inline {
url "part1.wrl"
}
Inline {
url "part2.wrl"
}
]
}
}
test {}
When I open it with VRML view, nothing happens and when I try to open it
with AccuTrans3D (micromouse.ca) it hangs....
"Muaddib" <rob_nospam@vrspace.org> wrote in message
news:408D9E8C.2080709@vrspace.org...
> Here is an example:
>
> #VRML V2.0 utf8
>
> PROTO ChessHall [
> ] {
> Transform {
> children [
> Inline {
> url "chessHallGroundModel.wrl"
> }
> Inline {
> url "chessHallModel.wrl"
> }
> Inline {
> url "chessHallBoardModel.wrl"
> }
> ]
> }
> }
>
> ChessHall {}
>
>
> - Muaddib
>
>
> --
> -------------------------------------------------------
> VRSpace - An open source, modular, cross-platform,
> multi-user vrml system with persistent shared objects.
> Check out the Nexus at http://www.vrspace.org/
> -------------------------------------------------------
>
| |
| Joerg Scheurich aka MUFTI 2004-04-27, 9:29 am |
| > It did not work... I copied and paste the syntax that you sent me and
> modified the name of the files and save it as test.wrl
> #VRML V2.0 utf8
With the character # as first character in the first line ?
If the starting characters are not in the first place in a file, some tools
say "File is emty" 8-(
Of course, the same rule must be followed for the Inlined files, they must
also start with "#VRML V2.0 utf8"
so long
MUFTI
--
Um das zu pruefen und falls notwendig, zum Zerlegen der Festplatte
gebrauche Win95 Disk Zerleger, welchen Du in deinem Programm:
Zubehoer-System Werkzeug Akte hast.
Aus einer Windows Hilfe
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|