Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A little better support for PointSet, allthough we would need our own…
… shader to make it better
- Loading branch information
1 parent
2638dc7
commit c8ab671
Showing
3 changed files
with
82 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#VRML V2.0 utf8 | ||
|
||
# This is a very basic PointSet with three points and a different color for each point. | ||
Transform { | ||
children [ | ||
Shape { | ||
appearance Appearance { | ||
material Material { | ||
diffuseColor 1 1 0 | ||
} | ||
} | ||
geometry PointSet { | ||
coord Coordinate { | ||
point [ | ||
0 1 0, | ||
1 0 0, | ||
0 0 1, | ||
] | ||
} | ||
color [ | ||
1 0 0, | ||
0 1 0, | ||
0 0 1, | ||
] | ||
} | ||
} | ||
] | ||
rotation 0.4 0.2 0.1 0 | ||
translation -6 2 0 | ||
scale 4 4 4 | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters