Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
freecad_x3d
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
freecad_x3d
Commits
03a8dd76
Commit
03a8dd76
authored
Dec 24, 2015
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.shineness
parent
22b37c5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
viewmodel.js
x3d_web_viewer/viewmodel.js
+8
-2
No files found.
x3d_web_viewer/viewmodel.js
View file @
03a8dd76
...
...
@@ -69,7 +69,7 @@ function prerun(){
//stop_animation();
});
var
x3d_cnv_ni
=
$
(
"<navigationinfo>"
,{
id
:
"navi"
,
type
:
"'examine' 'any'"
,
speed
:
"1"
});
var
x3d_cnv_ni
=
$
(
"<navigationinfo>"
,{
id
:
"navi"
,
type
:
"'examine' 'any'"
,
speed
:
"1"
,
headlight
:
"true"
});
var
x3d_cnv_vp
=
$
(
"<Viewpoint>"
).
attr
(
"fieldOfView"
,
"0.200"
);
...
...
@@ -446,7 +446,13 @@ function showBOM(){
//set default transparency?
parts_unique
.
find
(
"Material"
).
attr
(
"transparency"
,
0.1
);
parts_unique
.
find
(
"Material"
).
prop
(
"transparency"
,
0.1
);
parts_unique
.
find
(
"Material"
).
attr
(
"shininess"
,
0.5
);
parts_unique
.
find
(
"Material"
).
prop
(
"shininess"
,
0.5
);
parts_unique
.
find
(
"Material"
).
attr
(
"specularColor"
,
"0.2 0.2 0.2"
);
parts_unique
.
find
(
"Material"
).
prop
(
"specularColor"
,
"0.2 0.2 0.2"
);
var
prev_nsn_group
=
""
;
var
odd_group_en
=
false
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment