Code Monkey home page Code Monkey logo

ueplugin-kdtree's Introduction

Unreal Engine Plugin: kd-tree

This is a UE4 plugin to provide utility functions for building kd-tree as Blueprint Function Library.

Thumbnail

Features

  • Build kd-tree.
  • Radius search by using kd-tree.
  • Support synchronous and asynchronous versions.

Supported Environment

This plugin supports on the below environment.

  • Unreal Engine Version: 4.22-4.27, 5.0-
  • Development Platforms: Windows, macOS, Linux
  • Target Build Platforms: All platforms

Installation

See the installation document.

Tutorial

See the tutorial.

Change Log

See CHANGELOG.md

Project Authors

Owner

@nutti

Indie Game/Application Developer.
Especially, I spend most time to improve Blender and Unreal Game Engine via providing the extensions.

Support via GitHub Sponsors

Contributor

ueplugin-kdtree's People

Contributors

ilias-7565 avatar irvnriir avatar nutti avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ueplugin-kdtree's Issues

How to build

i've created the "Plugin" folder with this plugin, in the project's one, but can you please give a little guide on how its intended to be included into the Solution?

Calling from C++: Linker errors due to missing KDTREE_API

All publicly accessible classes should be marked with KDTREE_API to mark their methods as EXTERN and prevent other modules from attempting to link against them statically.

e.g. the UkdtreeBPLibrary should be declared:
class KDTREE_API UKdtreeBPLibrary

This will fix "unresolved external symbol" linker errors when attempting to call those functions directly from C++ in another module.

These errors have not been observed in the past because the module is designed to be called from non-nativized blueprint, which only links dynamically, never statically. However, these issues may start to appear if calling blueprints are added to the nativization list!

How to return index of input locations that matched?

Hello,
I would like to store meta data about positions in a game. How would I go about returning the results as an index of the original array? Or what would you recommend going about storing meta data for a particular position in an efficient manner?
Thanks,
Dan

CollectFromKdtree Returns Incorrect Position Data

KdtreeBPLibrary.cpp, Line 29:
Data.Add(Tree.Internal.Data[Index]);
will return only the first n vertices from the vertex buffer, not the matched vertices from the search.
The line should be:
Data.Add(Tree.Internal.Data[Indices[Index]]);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.