<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/8525" />

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2012-10-25T02:32:25+00:00</updated>

	<author><name><![CDATA[Real-Time Physics Simulation Forum]]></name></author>
	<id>https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/8525</id>

		<entry>
		<author><name><![CDATA[wolves86]]></name></author>
		<updated>2012-10-25T02:32:25+00:00</updated>

		<published>2012-10-25T02:32:25+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=29067#p29067</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=29067#p29067"/>
		<title type="html"><![CDATA[About the opacity of softbody and rigidbody in Bullet]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=29067#p29067"><![CDATA[
Hello everyone:<br> I used CreatePatch function to get a big cloth and rendered the triangles using the following code.<br><br> glEnable(GL_BLEND);<br> glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);<br> glBegin(GL_TRIANGLES); <br>glColor4f(color.getX(), color.getY(), color.getZ(),<span style="color:#FF0000">0.5</span>);<br> glNormal3d(n.getX(),n.getY(),n.getZ());<br> glVertex3d(a.getX(),a.getY(),a.getZ());<br> glVertex3d(b.getX(),b.getY(),b.getZ());<br> glVertex3d(c.getX(),c.getY(),c.getZ());<br> glEnd();<br> glDisable(GL_BLEND);<br> I can get a transparent cloth with the opacity parameter equal 0.5. But the cloth will shelter rigidbodies. That is to say, I can see rigidbodies through the cloth. So could you help me?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=8960">wolves86</a> — Thu Oct 25, 2012 2:32 am</p><hr />
]]></content>
	</entry>
	</feed>
