ADC Home > Reference Library > Technical Q&As > Legacy Documents > Graphics & Imaging >
Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.
Current information on this Reference Library topic can be found here:
NOTE: This Technical Q&A has been retired. Please see the Technical Q&As page for current documentation. |
|
Q: When I open a file that comes from our translator with NURBS PATCH, the model is drawn
in A: The reason the model doesn't draw with some of the applications that you mention is that the camera information written to the file is not useable with those applications. To avoid this problem, comment out the camera information, as shown here:
This allows the object to draw properly. What is actually happening is that the object is being drawn, but it's not in the field of view for the camera. Both Tumbler and Spin attempt to a best-guess approximation for useable camera settings if these settings are not supplied. This is what Spin used for the camera values:
If you use something like Spin or Tumbler (which always tries to generate a good view of the data if no camera information is supplied), first get the camera object from the view with some debugging code. Next, get the camera data from the object, and inspect the values that are generated. Then, work your way back to determine why the original values in the camera object differ, and try to adjust them to produce something reasonable. You can also read in the file, determine what values are assigned, write it back out as a text metafile, and investigate the values assigned. |
|