Hi,
On Wed, 2004-03-31 at 14:56, Gerrit Voss wrote:
> Hi,
>
> On Wed, 2004-03-31 at 19:34, Hentschel, Bernd wrote:
> > Hello Gerrit,
> >
> > so, here they come, the parameters for my holobench setup:
> > First the "real" values as measured from the hardware
> >
> > //vertical top plane
> > OSG::Pnt3f pTopProjPlaneEdges[4] = {
> > OSG::Pnt3f(-2.953f, 0.0f, -3.609f),
> > OSG::Pnt3f(+2.953f, 0.0f, -3.609f),
> > OSG::Pnt3f(+2.953f, +3.609f, -3.609f),
> > OSG::Pnt3f(-2.953f, +3.609f, -3.069f)
> > };
> >
> > //Horizontal bottom plane
> > OSG::Pnt3f pBottomProjPlaneEdges[4] = {
> > OSG::Pnt3f(-2.953f, 0.0f, 0.0f),
> > OSG::Pnt3f(+2.953f, 0.0f, 0.0f),
> > OSG::Pnt3f(+2.953f, 0.0f, -3.609f),
> > OSG::Pnt3f(-2.953f, 0.0f, -3.609f)
> > };
>
> you have to provide some space between the floor and your camera, as
> the planes come in camera coordinates setting Y to zero gives not
> to much space to get something useful ;-)). Try using -1.804 instead,
> and adjust the vertical plane accordingly, so that your camera
> sits above the floor give me the expected results.
Or... IIRC adjust the translation of the user head node to (0, 1.804,
0). See "usertrans", "tnode" and "d->setUser(tnode)" in
Source/System/Window/testProjection.cpp.
Regards
/Rasmus
--
Rasmus Agerholm
Research Assistant
VR Media Lab (+45) 9635 8792
Niels Jernes Vej 14
DK-9220 Aalborg
Phone: (+45) 9635 8784
Fax: (+45) 9815 2444
http://www.vrmedialab.dk/~rasta
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users