Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

vrml

Question posted by: vbwire (Newbie) on January 29th, 2008 05:10 PM
hi.. can u guys help me?

i want to make a cylinder but i dont know how to make it to be in horizontal position, or lie on y axis..

my code
Code: ( text )
  1. DEF cylinder Transform {
  2.     translation 0 0.15 0
  3.     children [
  4. Shape {
  5.     appearance Appearance {material Material {
  6.         diffuseColor .68 .68 .16
  7.         specularColor .39 .39 .27
  8.         emissiveColor .18 .18 .04
  9.         ambientIntensity .0433
  10.         shininess .19
  11.     }}
  12.     geometry Cylinder{
  13.         radius 0.35
  14.         bottom TRUE
  15.         side TRUE
  16.         top TRUE
  17.         height 6
  18.     }
  19. }
  20. ]
  21. }
Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
RedSon's Avatar
RedSon
Site Moderator
2,855 Posts
January 29th, 2008
09:03 PM
#2

Re: vrml
Quote:
Originally Posted by vbwire
hi.. can u guys help me?

i want to make a cylinder but i dont know how to make it to be in horizontal position, or lie on y axis..

my code
Code: ( text )
  1. DEF cylinder Transform {
  2.     translation 0 0.15 0
  3.     children [
  4. Shape {
  5.     appearance Appearance {material Material {
  6.         diffuseColor .68 .68 .16
  7.         specularColor .39 .39 .27
  8.         emissiveColor .18 .18 .04
  9.         ambientIntensity .0433
  10.         shininess .19
  11.     }}
  12.     geometry Cylinder{
  13.         radius 0.35
  14.         bottom TRUE
  15.         side TRUE
  16.         top TRUE
  17.         height 6
  18.     }
  19. }
  20. ]
  21. }


Sorry, I stopped using VRML in the early 90's. I don't know if anyone else on this site even knows about it. But good luck!

Reply
Reply
Not the answer you were looking for? Post your question . . .
183,944 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
Top Software Development Forum Contributors