Sun, 04/28/2013 - 15:27
Forums:
Hi,
I am trying to view something with opencascade on mac, unfortunately I cannot find any examples of the occ viewer or opengl or anything that works on mac. The qt examples in occ/samples/qt all have the familiar error's connected to the mac. For example
device = new Graphic3d_WNTGraphicDevice();
is specifically for windows.
Has anyone been successful in viewing? With any type of viewer?
And if you have had success, could you give me an example of it?
Thankyou
Mon, 04/29/2013 - 10:56
Dear Daniel,
Have a look, please at Qt samples in OCCT 6.6.0, they demonstrate use of 3d viewer on Mac with Cocoa. See also section 'Porting' of the OCCT 6.6.0 Release Notes.
Regards
Mon, 04/29/2013 - 12:23
Thankyou,I have only been able to find the xlib/glx sample.
I can't seem to find a cocoa example. Could you tell me exactly where in samples
Mon, 04/29/2013 - 14:49
Dear Daniel,
You can find it at ../OpenCASCADE660ros/samples/qt/
(see OCCT Universal source package).
Regards
Tue, 04/30/2013 - 11:05
found it thanks