HackerPoet / NonEuclidean

A Non-Euclidean Rendering Engine for 3D scenes.
MIT License
6.07k stars 578 forks source link

How do i make my own rooms? #28

Open TheCrazyInsanity opened 4 years ago

TheCrazyInsanity commented 4 years ago

This is an "engine"and i want to make a simple room in this "engine". How would i do that?

somerandompiggo commented 4 years ago

You can't. It doesn't have an editor, if thats what you mean.

ehx-v1 commented 4 years ago

Look at how the example rooms are programmed to understand which method does what, then apply these principles to what you want to create. That's the best approach I can think of.

IPlayMinecraftYT commented 4 years ago

but then how do i recompile it with g++?

gregsskyles commented 4 years ago

Something like this might help: https://github.com/ikonst/make-it-so

gregsskyles commented 4 years ago

That particular project is probably too old for this purpose, but you can google for similar tools.

IPlayMinecraftYT commented 4 years ago

it says its for linux, but im on windows 10, would it still work?

ghost commented 4 years ago

you'd have to install wsl and most likely an x server, but yea, you could probably get it working, @IPlayMinecraftYT EDIT:typed this before i saw the page, and it can only be run on windows- read the whole page

Axol3 commented 4 years ago

I've managed to do it. You need to create a new level file (cpp and header) and create a new file for the meshes you want to add. This isn't efficient so I'm gonna find a way to add meshes with out the need for a individual file. it reads mesh data from 'Mesh.cpp' and only supports .obj You can add support for more file types like dae but it will take some work since the file is kinda hardcoded for .obj only. Hope this sorta helps.