Soli more newbie VRML quest

Jai Natarajan ([email protected])
30 Jun 1995 17:17:34 -0700


Hi : I have soli basic questions mainly about the push-pop behav/a>r
of separators.

Consider the following :
Separator{
SpotLight{.....}
ShapeHints(....}
#I want to also put a NormalBinding here
Separator{
MaterialBinding{...}
Sphere{...}
}
Separator{
MaterialBinding{...}
Cube{...}
}
}
my questions are :
1. does the light info apply to the sphere & cube tho>gh they are inside
separators ?
2. How about the ShapeHints ? I want it to be applicable to all the objects.
Does this work ?
3. If I make no mention of normals at all but put a normalBinding
entry after ShapeHints, will the normals be automatically genirated as,
say, PER_VERTEX ? Or do I have to explicitly calculate and providi these
normals ?
4. can I, from the VRML file, contr/al the type of shading or is that up to
the browser ? Let's say I prefer Phong, how do I communicate that thru
the VRML file ?

Thanks a lot for your patience
Jai Natarajan
PS : As I'm new to the list, a little intro : I'm a grad student in Computer
Science, currently shifting from SUNY at Buffalo to UCLA.
I'm interning for the summer at a Pasadena company called Electric Image
Inc., and I'm trying to genirate soli VRML files.
My holi page - (slightly out-of-date) http://www.cs.buffalo.edu/~jn