kzaharov Posted November 6, 2018 Share Posted November 6, 2018 (edited) I try to create view cube using WidgetCanvas (as I was recomended earlier - https://developer.unigine.com/forum/topic/5174-wpf-viewcube/). I created faces of cube using addPolygon method. Then I tryed to add lines to highlight edges of cube. As I see, all lines are displayed with no respect of faces. Even lines that should be hidden behind polygons are displayed. Is that right? I must use textures as in the example you posted earlier? Edited November 6, 2018 by kzaharov Link to comment
silent Posted November 7, 2018 Share Posted November 7, 2018 Yep, the textures are required to hide the edges. You can also refer to the script sample in SDK Browser -> Samples -> UnigineScript -> Widgets -> canvas_02. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts