Try this, but don't use a docked figure. Just use GETFRAME the normal way, but switch to software re...

Posted in Engineering  /  by Hogeony  /  on Feb 03, 2015 16:46

Try this, but don't use a docked figure. Just use GETFRAME the normal way, but switch to software rendering of OPENGL. You should still be able to use transparency.


opengl('software')


#Source: http://www.mathworks.com/matlabcentral/answers/9000-cannot-use-getframe-when-rendering-in-opengl


=========================================================================================


In the line before the getframe command, I inserted this code:


lighting phong

set(gcf,'Renderer','zbuffer')


This seemed to solve the problem completely. I'm not sure why it did, but I tried another option the documentation offered which was:


lighting gouraud

set(gcf,'Renderer','OpenGL')


and this gave the original issue. I have an OpenGL graphics card, so perhaps its the drivers? Matlab doesn't like them?


#Source: http://kr.mathworks.com/matlabcentral/newsreader/view_thread/239590

Me2day Yozm
  1. 태그
  2. 문서정보
  3. 이 게시물을...
  4. SNS
    Social Network Service
Comment '0'

Leave Comments



제목 최근 수정일
How to add an external jar file in Android Studio 2015.08.06
extends, interface, implements 의 정의 2015.08.05
Android 단축키 팁 (생산성 최적화) 2015.08.05
Better Quality Images from Figures 2015.02.03
"getframe" not working on 64-bit Windows properly 2015.02.03
msg_make_directory_failed 2011.09.22
Solution for not running problem after pop-up window "Thank you for using SolidSQUAD's SolidWorks 2011 release!" 2011.09.17
2진수 <-> 8 진수, 16 진수 변환 [1] 2011.09.17
Align <Div> at center 2011.08.12
[On2 Salsa - Beginner] Outside Turn, Close Cross Body Lead, Inside Turn 2011.08.11
[On2 Salsa - Beginner] Inside Turn, Open&Close Cross Body Lead,Left Turn 2011.08.11
[On2 Salsa - Beginner] Side&Basic&Cuban Step, Left Turn,Right Turn 2011.08.11