M3G: viewport after bindTarget()

BJörn Lindqvist <[email protected]>
Newsgroups gmane.comp.java.sun.kvm
Message-ID <[email protected]>
Hello all,

If I interpret the M3G spec correctly, the viewport should after a
call to g3d.bindTarget(image), where image is an Image2D object, be
equal to (0,0)-(image.width,image.height). The specification is kind
of vague but says the following:

"The state of this Graphics3D after calling this method [bindTarget]
will be as follows:

viewport : covering the target clipping rectangle"

and "For Image2D targets, the clipping rectangle comprises all pixels
in the target image."

Yet, on all devices I have tried (including Sun WTK2.5-Beta2), the
viewport is set to (0,0)-(0,0) directly after the call to viewport. So
can someone please explain what is wrong?

-- 
mvh Björn

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff KVM-INTEREST".  For general help, send email to
[email protected] and include in the body of the message "help".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.