<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<br><br><hr id="stopSpelling">From: luca.ramundo@hotmail.it<br>To: utkarsh.ayachit@kitware.com<br>Subject: RE: [vtkusers] call glColorMask from vtk<br>Date: Thu, 28 May 2009 10:07:48 +0200<br><br>



<style>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>


Hi..<br>I listen to your suggestion, but I think thath glColorMask can be used only after this instruction: myVtkRenderWindow-&gt;Render(); ...is it right?<br>So glColorMash is applyed at all scene while I'd like to use glColorMask only for a particular actor (a kind of box which serves as a mask).<br>Whath do you think about this?<br>Thanks a lot...<br><br>Luca<br><br><hr id="EC_stopSpelling">Date: Tue, 26 May 2009 12:45:54 -0400<br>Subject: Re: [vtkusers] call glColorMask from vtk<br>From: utkarsh.ayachit@kitware.com<br>To: luca.ramundo@hotmail.it<br>CC: vtkusers@vtk.org<br><br>Try implementing your own mapper or actor. You can make openGL calls in Render methods in these classes.<br><br>Utkarsh<br><br><div class="EC_EC_gmail_quote">On Tue, May 26, 2009 at 10:48 AM, Luca Ramundo <span dir="ltr">&lt;<a href="mailto:luca.ramundo@hotmail.it">luca.ramundo@hotmail.it</a>&gt;</span> wrote:<br>
<blockquote class="EC_EC_gmail_quote" style="padding-left: 1ex;">



<div>
hi all,<br>I need your help for my great problem. I'd like to visualize a 3D object in my scene with the follow properties:<br>It must to be invisible but not trasparence because it has to hide some object inside it.<br>
I know that there is a openGL method to do it: glColorMask(). It is used to write or not in frame buffer some color component.<br>I'd like if there is something to resolve my problem in VTK or the way to call this openGL method from my vtk object.<br>
Thanks a lot,<br>Luca<br><hr>Quali sono le parole più cliccate? <a href="http://livesearch.it.msn.com/">Scopri la top!</a></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br><br><hr>Scrivi, parla e gioca con i tuoi amici! <a href="http://messenger.it/gioca.aspx">Scarica Messenger 2009!</a><br /><hr />Cerchi i tuoi spazi? Hotmail va oltre i 5GB. <a href='http://messenger.it/hotmail.aspx' target='_new'>Scopri perché!</a></body>
</html>