Change observation point for 3D scenes

How to change observation point for 3D scenes

Issue: How to change observation point for 3D scenes.

Tips: To do this, you can use the ObserverPoint class to change the observation point, to update the observation point you need to create a CadRasterizationOptions object and add it to the conversion options.

Example:

ObjImage objImage = (ObjImage)Image.load(inFile);
CadRasterizationOptions objRasterizationOptions = new CadRasterizationOptions();
PngOptions pngOptions = new PngOptions();
pngOptions.VectorRasterizationOptions = objRasterizationOptions;
objRasterizationOptions.PageHeight = 1600;
objRasterizationOptions.PageWidth = 1600;
objRasterizationOptions.DrawType = CadDrawTypeMode.UseObjectColor;
objRasterizationOptions.ObserverPoint = new ObserverPoint(45, 45, 45);
objImage.save(inFile + "1.png", pngOptions);
objRasterizationOptions.ObserverPoint = new ObserverPoint(45, -45, -45);
objImage.save(inFile + "2.png", pngOptions);
objRasterizationOptions.ObserverPoint = new ObserverPoint(-45, -45, -45);
objImage.save(inFile + "3.png", pngOptions);