fegennari / 3DWorld

3D Procedural Game Engine Using OpenGL
GNU General Public License v3.0
1.15k stars 89 forks source link

Hi. I press F1 when i in the scene, but can not change to the other world_model. #13

Closed manman25 closed 2 years ago

manman25 commented 2 years ago

its seems like the universe_only mode was set, then how i can change my config?

manman25 commented 2 years ago

image okay. I get it. I forget to download some res.

fegennari commented 2 years ago

The scene you want to use is selected by uncommenting a line in defaults.txt. You can also specify a path to the config file on the command line. Config files are text with {keyword, value(s)} specified one per line. You can override the value of universe_only by adding a line "universe_only 0", but it may not work as expected. I'm not sure what config you're using that has this option set.

Some of the textures and 3D models aren't included in the git repo, either because they're too large or because I don't have permission to distribute them. Many of these are available in a separate zip file in my Google Drive. If you can share your email address I'll give you access. But these shouldn't be needed, these files are optional and will be skipped if they're not found.

The textures you list should be found in the "textures" folder. Maybe you ran 3DWorld from somewhere other than the root of the git directory? Or are you using a packaged release?

manman25 commented 2 years ago

yes. I use release and master branches in both, and I debug or release them successfully on my Desktop PC,but there is still a problem that comes out when I try it again on my Laptop. As shown in the following fig: image May the parser of the model failed? The model was missing? Did you face this problem before? I faced many of these problems when I played some computer games.

fegennari commented 2 years ago

I don't know what the problem is. That scene doesn't load any 3D model files, it's generated from code and internal config files. It looks like you have the trees and grass but none of the building parts. I'm not sure what that striped thing is in the sky. It's probably an OpenGL driver or shader issue.

What OS and GPU do you have? I've tested this on:

fegennari commented 2 years ago

Did you ever get this working? I can't fix it without more feedback. Thanks.

manman25 commented 2 years ago

Did you ever get this working? I can't fix it without more feedback. Thanks.

Thank you! I have fixed this bug, and I am enjoying this project.

fegennari commented 2 years ago

Great, thanks. I'm closing this issue.