Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i want to use your engine as a base to mine #5

Closed
zenux-dev opened this issue Jan 30, 2021 · 5 comments
Closed

i want to use your engine as a base to mine #5

zenux-dev opened this issue Jan 30, 2021 · 5 comments

Comments

@zenux-dev
Copy link

hi,
i wanna make a ray tracing plugin to a game engine called godot iam not one of the gme engine's devs or smth just a user soo i wanna use your engine as a base to mine i will add alot more features and optimizations to it so it works perfectly with a game and the plugin will be completely free and open source after making everything in python i will translate them to gdnative to make the plugin i just want to take permission from you for using it and your name will be mentioned in the vreators page of the plug in,
thnx in advance zenux

@rafael-fuente
Copy link
Owner

Hi!
There is no problem with using and modifying this ray tracer in your project; just cite this repository.
Best wishes for your project, and keep me updated about it!

@zenux-dev
Copy link
Author

thnx alot and sure i will keep you updated about it

@zenux-dev
Copy link
Author

hi i was wondering is there a way to read obj or fbx files to be putten in scene instead of basic ones using scripting or smt?

@rafael-fuente
Copy link
Owner

I already have implemented a class named TriangleMesh to load arbitrary .obj files as triangle meshes.

However, the rendering is quite slow because we need to loop for every triangle of the mesh, and Python loops are very slow. A bounding volume hierarchy acceleration structure could be implemented, but I think renders will still take a lot of time.

If you want to render arbitrary triangle meshes, Python isn't the language to work with.

I worked some time ago in making a very similar Python interface to the C++ Ray Tracing in one-weekend project. I didn't implement an obj loader, but it shouldn't take a lot of work. The raytracer can already quickly render complex scenes with a very similar scene scripting language to this raytracer written in pure Python.
I can share the project with you if you want. However, you should be proficient in C++ to be able to modify it.

@zenux-dev
Copy link
Author

oh ok iam not fammiliar with c++ but i gotta learn it cause godot's plugins should be made with c++ to work fast and even to work soo ya thnx alot again

Repository owner locked and limited conversation to collaborators Jun 6, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants