This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > VRML > December 2003 > can't open file





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 can't open file
Samba

2003-12-30, 10:29 am

Hello, i've found an exemple on internet that i wanted to open using
vrmlView, but when i try it says "can't open file", why?
Here is the code below:

#VRML V2.0 utf8
#- KDO - Cours VRML : IndexedLineSet
#- Exemple 1

NavigationInfo {

type "EXAMINE"
}
Shape {
geometry IndexedLineSet {
colorPerVertex FALSE
coord Coordinate {
point [
-2 -2 2, 2 -2 2, 2 2 2,-2 2 2,
-2 -2 -2, 2 -2 -2, 2 2 -2, -2 2 -2
]
}
coordIndex [
0 1 2 3 0 -1, 4 5 6 7 4 -1
0 4 -1, 1 5 -1, 2 6 -1, 3 7 -1
]
color Color {
color [
0 0 1, 0 1 0, 1 1 0
]
}
colorIndex [
0, 1, 2, 2, 2, 2
]
}
}


Joerg Scheurich aka MUFTI

2003-12-30, 11:29 am

> Hello, i've found an exemple on internet that i wanted to open using
quote:

> vrmlView, but when i try it says "can't open file", why?
> Here is the code below:



The code looks good in cosmoplayer, lookat, freewrl, white_dune and cc3dglut.

#VRML V2.0 utf8

Are you shure, this is really the first line/first character of the file ?
If not, that is a common reason for VRML browsers to ignore files.

so long
MUFTI
--
Aktualisierte DirectX-Laufzeitkomponenten werden gesucht und
aktualisiert. Dieser Vorgang kann einige Minuten oder laenger dauern.
(aus einer Windows Warnung)
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews