Klvnk
@klvnk
New Member
Joined: Feb 14, 2024
Topics: 50 / Replies: 1212
Reply
RE: Create Plane from Bounding Box

if it’s trees does it have to be a billboard, would some “simpler” surfice ? crossing quads for example.

5 years ago
Forum
Reply
RE: Create Plane from Bounding Box

assuming it’s an editable mesh this gives the “exact” screen bounding box… fn GetScreenBounds obj = ( maxy = maxx = -99999999.0; miny = minx = 9…

5 years ago
Forum
Reply
RE: Do 2 BoundingBoxes Intersect

the “likes recursion” wasn’t really a reference to performance but the way it (trees) lends its self to the coding

5 years ago
Forum
Reply
RE: Do 2 BoundingBoxes Intersect

not even close i’m afraid… and the kdtree is also finding the median during the build… also the qkdtree seems to have a clean up issue

5 years ago
Forum
Reply
RE: Do 2 BoundingBoxes Intersect

only twice as fast as what exactly ?

5 years ago
Forum
Reply
RE: Do 2 BoundingBoxes Intersect

another issue with mxs and trees is trees like recursion and mxs doesn’t

5 years ago
Forum
Reply
RE: Do 2 BoundingBoxes Intersect

this is the alternate version (in c++) if anyones interested struct OBB { Matrix3 tm; Point3 hsize; OBB() : tm(TRUE), hsize(0.0f,0.0f,0.0f) {}…

5 years ago
Forum
Reply
RE: Do 2 BoundingBoxes Intersect

think SAT is your best bet the c++ example assumes the position is at the center of the box and half size is 0.5 *(len, width,height) could look som…

5 years ago
Forum
Reply
5 years ago
Forum
Reply
RE: Busted search

for me this place ranks alongside the half wit that thought moving max help online was a good idea, I fucking hate max’s online help with a vengance …

5 years ago
Forum
Reply
RE: Bsearch to replace finditem with huge array?

this is one way to do it, if you can guarantee the strings are already sorted you can forgo the qsort stage… ( key_string=”C:\Users\Admi…

5 years ago
Forum
Reply
RE: Bounding Mesh object

convex bounding box for something like that is a non trivial exercise… you could try something like merge to single object, shell mod (for an offse…

5 years ago
Forum
Reply
RE: How to emit a NodeEvent to be caught by NodeEventCallback

have you tried… callbacks.broadcastCallback #preNodeUserPropChanged/#postNodeUserPropChanged it’s not a Node Event per se but may trigger something …

5 years ago
Forum
Reply
RE: Custom SimpleObject mesh wireframe turns red on occassion

it’s seems to be related to elements with high matid and standard material or no material (an fx shader doesn’t have an issue) ( delete objects mob…

5 years ago
Forum
Reply
RE: Custom SimpleObject mesh wireframe turns red on occassion

seems to be having a material id higher than 2048 that’s causing it

5 years ago
Forum
Page 12 / 85