This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > VRML > January 2005 > manipulate the pose of the object and the lighting
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 |
manipulate the pose of the object and the lighting
|
|
| HongChen77@gmail.com 2005-01-16, 11:17 pm |
| Hi,
I am a beginner for VRML. Since I have a urgent task to finish, I think
it would be faster to get answers by asking questions here than reading
books by myself.
My question is:
for VRML 2.0, How to manipulate the pose of the object and the
lighting. Also, How to take a snap shot of the scene?
Any hint is welcome.
Thank you very much.
Goshiwen
| |
| spam purse 2005-01-17, 4:17 am |
| What sort of manipulation of the pose are you looking for, if you want
an animated object, have fun! If you just want to rotate the object or
something I recommend using:
Transform
{
translation 1 2 3
rotation 0 1 0 1.5
children [
//You object here
]
}
you can have two transforms, on containing you light and one you
object to move the 2 independently.
The values in this field can also be updated dynamically by using
scripts with timers and interpolaters, have a quick look through the
VRML97 spec couldn't hurt either.
the PrtScn function on the keyboard is always good for taking a
screenshot into the windows clipboard...
| |
| Joerg Scheurich aka MUFTI 2005-01-17, 7:18 pm |
| > My question is:
> for VRML 2.0, How to manipulate the pose of the object
Komplex objects are usally build by simpler object and chains of
Transform-Nodes. A Transform Node are responible for something like
movement, rotation, scale, rotation center and steer multiple other
objects.
> and the
> lighting.
There are 4 light sources in VRML: Pointlight, Spotlight, directionallight
and headlight. The headlight is similar to a light connected to the camera.
It may be needed to switch this headlight off (in the NavigationInfo node),
to get good lighting.
Lighting is influenced by the Material node, which has diffuse ("normal",
emissive ("glow") and specular ("glance") components.
> Also, How to take a snap shot of the scene?
Depends on browser/operation system....
so long
MUFTI
--
Sie koennen diese gesunden Wirkungen, die WAV Akten benutzt, auch benutzen
(aus einem Softwarehandbuch, Stichworte: sound effect)
| |
| spam purse 2005-01-20, 7:23 pm |
| What sort of manipulation of the pose are you looking for, if you want
an animated object, have fun! If you just want to rotate the object or
something I recommend using:
Transform
{
translation 1 2 3
rotation 0 1 0 1.5
children [
//You object here
]
}
you can have two transforms, on containing you light and one you
object to move the 2 independently.
The values in this field can also be updated dynamically by using
scripts with timers and interpolaters, have a quick look through the
VRML97 spec couldn't hurt either.
the PrtScn function on the keyboard is always good for taking a
screenshot into the windows clipboard...
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|