Doug Gehringer wrote:
Thanks for the code. We can hack it to experiment with the
1.2 factors when available.
> Java3D 1.2 will have an offset with static and dynamic factors. The dynamic
> factor offsets polygons by an amount which depends on thier slope wrt the eye
> vector. The greater the slope, the greater the offset. This has two
> advantages: 1) smaller offsets can be used, since the dynamic offsetting gives
> more offset to the polygons which need more; 2) the dynamic offset is more
> constant across different graphics boards, so the same polygon offset values
> should work for more boards.
My experience with polygon offset, at least in OpenGL, is that
it's witchcraft. Even with the dynamic factor you mention,
there are multiple gotchas that make selection of exact values
impossible--you still have to experiment on a platform-by-platform
and geometry-by-geometry basis. For those who want more information,
see the OpenGL red book, pp. 250-253.
OpenGL Programming Guide, Third Edition (OpenGL 1.2)
Woo, Neider, et.al.
Addison-Wesley
I haven't checked to see how Direct3D handles it.
--
Allen L. McPherson Member Holstein Aerobatic Club
Los Alamos National Laboratory Scientific Viz / Advanced Computing Lab
Box 1663 Group:CIC-ACL MS:B287 [EMAIL PROTECTED]
Los Alamos, NM 87545 Voice: (505) 665-6548 Fax: (505) 665-4939
[Personal mail to: [EMAIL PROTECTED]]
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".