<?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/13048" />

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2020-08-18T23:45:41+00:00</updated>

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

		<entry>
		<author><name><![CDATA[BluePrintRandom]]></name></author>
		<updated>2020-08-18T23:45:41+00:00</updated>

		<published>2020-08-18T23:45:41+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43072#p43072</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43072#p43072"/>
		<title type="html"><![CDATA[Re: Batched raycasting wrapper in C]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43072#p43072"><![CDATA[
it appears to be earlier than that even - it's in the release notes for 2.67<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=10520">BluePrintRandom</a> — Tue Aug 18, 2020 11:45 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[drleviathan]]></name></author>
		<updated>2020-08-16T16:03:09+00:00</updated>

		<published>2020-08-16T16:03:09+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43070#p43070</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43070#p43070"/>
		<title type="html"><![CDATA[Re: Batched raycasting wrapper in C]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43070#p43070"><![CDATA[
Hrm...<br><br>True, there is an <strong class="text-strong">#ifdef BATCH_RAYCASTER</strong> inside <strong class="text-strong">examples/Heightfield/HeightfieldExample.cpp</strong> however I don't see any evidence it actually works... in Bullet <strong class="text-strong">2.88</strong> because it relies on a <strong class="text-strong">gBatchRaycaster</strong> being a valid pointer but there is no code that actually declares or sets it.  AFAICT: if you were to define <strong class="text-strong">BATCH_RAYCASTER</strong> then the example would fail to compile.  That code appears to be cruft.<br><br>I rolled back to <strong class="text-strong">2.83</strong> to see.  The example code there is more complete.  In one of the Demos <strong class="text-strong">gBatchRaycaster</strong> points to an <strong class="text-strong">SpuBatchRaycaster</strong> instance, however I cannot find the actual implementation of that class.  I can only conclude: at the <strong class="text-strong">2.83</strong> release the "batch raycaster" is cruft but has suffered less bitrot.<br><br>I'm just trying to be helpful.  I certainly don't want to discourage you from finding the information you seek.  Unfortunately: I couldn't find the information you are looking for.  Good luck.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=11033">drleviathan</a> — Sun Aug 16, 2020 4:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BluePrintRandom]]></name></author>
		<updated>2020-08-15T17:00:51+00:00</updated>

		<published>2020-08-15T17:00:51+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43069#p43069</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43069#p43069"/>
		<title type="html"><![CDATA[Re: Batched raycasting wrapper in C]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43069#p43069"><![CDATA[
This seems to indicate otherwise*<br><br><br><img src="https://i.snipboard.io/49N7PT.jpg" class="postimage" alt="Image"><br><br><a href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?f=18&amp;t=1907&amp;view=next" class="postlink">viewtopic.php?f=18&amp;t=1907&amp;view=next</a><br><br><br><a href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?t=3790" class="postlink">viewtopic.php?t=3790</a><br><blockquote class="uncited"><div>"Interesting, I didn't know about this. Look in the Benchmark and ConcaveRaycast demos for #ifdef BATCH_RAYCASTER<br><br>I guess you'll have to define that before you can see how it works. Note that this isn't going to make raycasting threadsafe. It looks like it uses a thread barrier to perform raycasts in a large batch, thus the name.<br>Top</div></blockquote>"<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=10520">BluePrintRandom</a> — Sat Aug 15, 2020 5:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[drleviathan]]></name></author>
		<updated>2020-08-13T16:23:20+00:00</updated>

		<published>2020-08-13T16:23:20+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43065#p43065</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43065#p43065"/>
		<title type="html"><![CDATA[Re: Batched raycasting wrapper in C]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43065#p43065"><![CDATA[
By "batched" which one of these do you mean:?<br><br><strong class="text-strong">(1)</strong> "One raycast against the whole (batched) world of objects"<br><strong class="text-strong">(2)</strong> "A batch of raycasts against the whole world of objects"<br><br>Item <strong class="text-strong">(1)</strong> does exist as a feature of the BulletPhysics API.  Item <strong class="text-strong">(2)</strong> does not.<br><br>Item <strong class="text-strong">(1)</strong> is done through <strong class="text-strong">btCollisionWorld::rayTest()</strong>.  You have to supply a (typically custom) <strong class="text-strong">RayResultCallback</strong> implementation which "does what you want" whenever the ray hits something.<br><br>I downloaded what I think is a more recent copy of UPBGE.  All of the "physics" stuff I could find was in python.  Under the hood Bullet is truly C++ but there is a python wrapper.  You might try asking in the <strong class="text-strong">PyBullet Support and Feedback</strong> forum.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=11033">drleviathan</a> — Thu Aug 13, 2020 4:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[BluePrintRandom]]></name></author>
		<updated>2020-08-12T16:07:49+00:00</updated>

		<published>2020-08-12T16:07:49+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43063#p43063</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43063#p43063"/>
		<title type="html"><![CDATA[Batched raycasting wrapper in C]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=43063#p43063"><![CDATA[
I have a friend maintaining UPBGE - (a fork of blender game engine running in blender 2.9x)<br><br>I was wondering what the name of the batched raycast system was under the hood so we can wrap it / more information about it for upbge<br><br>note-  we are building using bullet 2.83<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=10520">BluePrintRandom</a> — Wed Aug 12, 2020 4:07 pm</p><hr />
]]></content>
	</entry>
	</feed>
