i want to use your engine as a base to mine #9
-
hi, |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Hi! |
Beta Was this translation helpful? Give feedback.
-
thnx alot and sure i will keep you updated about it |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
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!