| Author |
Build a simple staircase
|
|
| J_Zanetti 2004-01-20, 3:31 pm |
| Please, I would need someone to tell me or showing the code for a simple
staircase (just 3-4 steps).
Thank you everyone who can help me
=============== Totò alias J_Zanetti ================
Tessera #9 "Nel segno di Cruz"
Tessera #0 #7 "ANDY SCHIET ZE ALLEMAAL" (fondatore)
============== juve.ti.odio@virgilio.it ===============
| |
|
|
"J_Zanetti" <juve.ti.odio@virgilio.it> wrote in message
news:W1fPb.154479$_P.5568015@news4.tin.it...quote:
> Please, I would need someone to tell me or showing the code for a simple
> staircase (just 3-4 steps).
> Thank you everyone who can help me
#VRML V2.0 utf8
DEF stairs Transform
{
children
[
DEF step1 Transform
{
children
[
Shape
{
appearance Appearance
{
material Material
{
diffuseColor 0.99 0 0
}
}
geometry DEF step Box
{
size 1.25 0.15 0.3
}
}
]
translation 0 0.15 -0.4
}
DEF step2 Transform
{
children
[
Shape
{
appearance Appearance
{
material Material
{
diffuseColor 0.99 0 0
}
}
geometry USE step
}
]
translation 0 0 -0.1
}
DEF step3 Transform
{
children
[
Shape
{
appearance Appearance
{
material Material
{
diffuseColor 0.99 0 0
}
}
geometry USE step
}
]
translation 0 0.3 -0.7
}
DEF step4 Transform
{
children
[
Shape
{
appearance Appearance
{
material Material
{
diffuseColor 0.99 0 0
}
}
geometry USE step
}
]
translation 0 0.45 -1
}
]
}
| |
| J_Zanetti 2004-01-21, 11:32 am |
|
"boris" <boris.m@net4u.hr> ha scritto
[CODE]
Thank you very much...
But i need that my view changes when the subjec acrosses the stairs...in
these exemple you just collide with first
stair
=============== Totò alias J_Zanetti ================
Tessera #9 "Nel segno di Cruz"
Tessera #0 #7 "ANDY SCHIET ZE ALLEMAAL" (fondatore)
============== juve.ti.odio@virgilio.it ===============
| |
| J_Zanetti 2004-01-21, 12:33 pm |
|
"J_Zanetti" <juve.ti.odio@virgilio.it> ha scritto
quote:
> But i need that my view changes
ops, its enough to increase the avatar size :-)
thank you so much!!!
=============== Totò alias J_Zanetti ================
Tessera #9 "Nel segno di Cruz"
Tessera #0 #7 "ANDY SCHIET ZE ALLEMAAL" (fondatore)
============== juve.ti.odio@virgilio.it ===============
| |
|
|
"J_Zanetti" <juve.ti.odio@virgilio.it> wrotequote:
>
> "boris" <boris.m@net4u.hr> ha scritto
>
> [CODE]
>
> Thank you very much...
> But i need that my view changes when the subjec acrosses the stairs...in
> these exemple you just collide with first
> stair
You mean you want to use the stairs? The view can not be changed if you have
nothing around to look at.
It is metter where is translation defined. I moved them down and added
walking platform, it is important, too, to have sence of connection with the
groud. If you dont need it just remove "floor1" Transform. Now they can be
used.
#VRML V2.0 utf8
DEF stairs Transform
{
children
[
DEF floor1 Transform
{
children
[
Shape
{
appearance Appearance
{
material Material
{
diffuseColor 0.99 0 0
}
}
geometry DEF floor Box
{
size 5.0 0.15 5.0
}
}
]
translation 0 -2.1 2
}
DEF step1 Transform
{
children
[
Shape
{
appearance Appearance
{
material Material
{
diffuseColor 0.99 0 0
}
}
geometry DEF step Box
{
size 1.25 0.15 0.3
}
}
]
translation 0 -1.95 -0.1
}
DEF step2 Transform
{
children
[
Shape
{
appearance Appearance
{
material Material
{
diffuseColor 0.99 0 0
}
}
geometry USE step
}
]
translation 0 -1.8 -0.4
}
DEF step3 Transform
{
children
[
Shape
{
appearance Appearance
{
material Material
{
diffuseColor 0.99 0 0
}
}
geometry USE step
}
]
translation 0 -1.65 -0.7
}
DEF step4 Transform
{
children
[
Shape
{
appearance Appearance
{
material Material
{
diffuseColor 0.99 0 0
}
}
geometry USE step
}
]
translation 0 -1.5 -1
}
]
}
| |
| Herbert Stocker 2004-01-21, 5:31 pm |
|
boris wrote:quote:
> "J_Zanetti" <juve.ti.odio@virgilio.it> wrote
>
>
>
> You mean you want to use the stairs? The view can not be changed if you have
> nothing around to look at.
Oh, nono you can.
You'll just see the black of the nothing from another perspective.
Herbert
P.S.: Not every of my postings are to be taken seriously.
--
Herbert Stocker (aka hersto)
http://www.hersto.de
www.bitmanagement.de
| |
|
|
"Herbert Stocker" <hst-uzd-nospam@hersto.de> wrote
quote:
have[QUOTE][color=darkred]
>
> Oh, nono you can.
> You'll just see the black of the nothing from another perspective.
:)
quote:
> Herbert
>
>
>
> P.S.: Not every of my postings are to be taken seriously.
:))
| |
| boris 2004-01-22, 11:55 am |
|
"Herbert Stocker" <hst-uzd-nospam@hersto.de> wrote
quote:
have[QUOTE][color=darkred]
>
> Oh, nono you can.
> You'll just see the black of the nothing from another perspective.
:)
quote:
> Herbert
>
>
>
> P.S.: Not every of my postings are to be taken seriously.
:))
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |