Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/08/2005 at 03:29, xxxxxxxx wrote:
User Information: Cinema 4D Version: 9.102 Platform: Windows ; Language(s) : C++ ;
--------- Whats the proper method for retrieving the cameras target distance?
The CameraObject only provides zoom, aperture etc. and the camera don't has a target point attached by tag.
On 23/08/2005 at 03:57, xxxxxxxx wrote:
I've found out that RayCamera with [Real middle] contains the information.
VolumeData has "RayCamera* GetRayCamera(void);"
But how to get the VolumeData?
On 23/08/2005 at 08:49, xxxxxxxx wrote:
Don't get me wrong, I don't need code, just a hint for the direction in the class structure.
Is VolumeData an overall structure in the scene or does every object contain this? Is there something like obj->getVolumeData()?
For any help Thanks in advance!
Sascha
On 24/08/2005 at 03:30, xxxxxxxx wrote:
I don't know much about it ... But when I'm browsing for Render ... I found that Render class has a member function namely GetInitialVolumeData and it returns VolumeData ..
With all my respects ZawMinTun
On 24/08/2005 at 05:31, xxxxxxxx wrote:
I've seen this method too, but since I'm using a single CPU machine, don't know if it works. I'll test with cpu = 0...
Thanks
On 25/08/2005 at 01:07, xxxxxxxx wrote:
Its base (BaseVolumeData) is used by the render to hold data about the currently traced ray. VolumeData has lots of useful functions in it. If you want to get the to cameras tags then use GetRayCamera, this returns the rendering camera (RayCamera) and from here you have 'link' which points to the original camera object.