MButchers
09-20-2001, 11:46 PM
hi there,
im currently putting reflections into my
game engine but am having problems with
the call to glScale in that it doesnt do
anything
I thought that if i rendered a primitive
then called glScale(1,-1,1) and re-rendered
the primitive it would be flipped around
the y plane however i only ever get the one
primitive rendered.
im only using glScale for testing purposes as i intend to have reflective surfaces in
any plane and will therefore transform my
vertices by a matrix before the second pass
however it is a bit strange.
Any ideas??
Thanks
Mark
im currently putting reflections into my
game engine but am having problems with
the call to glScale in that it doesnt do
anything
I thought that if i rendered a primitive
then called glScale(1,-1,1) and re-rendered
the primitive it would be flipped around
the y plane however i only ever get the one
primitive rendered.
im only using glScale for testing purposes as i intend to have reflective surfaces in
any plane and will therefore transform my
vertices by a matrix before the second pass
however it is a bit strange.
Any ideas??
Thanks
Mark