Skip to content
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

Model appears black #141

Open
worsas opened this issue May 13, 2023 · 9 comments
Open

Model appears black #141

worsas opened this issue May 13, 2023 · 9 comments

Comments

@worsas
Copy link

worsas commented May 13, 2023

Hello.

I've downloaded the compiled 1.0.0.rc7 - version for windows.
When I use the application, the mesh appears completely black, which makes it difficult to properly work with it.

blackmodel

I'm using Windows 10
GPU: Radeon RX 570 Series

I hope, it can be helped.

@huxingyi
Copy link
Owner

Hi @worsas are you able to open this example file: https://dust3d.org/model-complete/examples/banana.ds3 ? Or could you provide your model file?

@worsas
Copy link
Author

worsas commented May 18, 2023

Hello again.

Yes, I'm able to open the banana.ds3 file just fine, but the model appears black in it aswell. It doesn't seem to have to do with any particular file. When I create a new file, the model is black. When I open an existing file, it's the same.

I've just switched to a new PC with Windows 11 and "installed" the same pre-compiled program and it's exactly the same thing as in Windows 10. However, I'm using the same graphics card, which I had in my previous PC with up-to-date drivers.

I'm including the file seen in the screenshot above, just in case:
HorseTest.zip

@huxingyi
Copy link
Owner

Thanks @worsas I tried your model on my machine, it renders fine, so it should be issue related with OpenGL environment. If possible could you provide the debug info(Menu -> Window -> Debug -> Select All -> Copy) and version info(Menu -> About -> Select All -> Copy).

@worsas
Copy link
Author

worsas commented May 18, 2023

Thanks for the quick reply. Here is the requested output (I did open the Horsetest.ds3 in that session):

— WARNING: QFSFileEngine::open: No file name specified - :0
— WARNING: Cannot open file '', because: No file name specified - :0
— WARNING: QFSFileEngine::open: No file name specified - :0
— WARNING: Cannot open file '', because: No file name specified - :0
— WARNING: QFSFileEngine::open: No file name specified - :0
— WARNING: Cannot open file '', because: No file name specified - :0
— WARNING: QFSFileEngine::open: No file name specified - :0
— WARNING: Cannot open file '', because: No file name specified - :0
— DEBUG: uiReady - sources\document.cc:1557
— DEBUG: Mesh generating.. - sources\document.cc:2296
— DEBUG: The mesh generation took 0 milliseconds - sources\mesh_generator.cc:100
— DEBUG: [ 0 ]item.name: model.xml item.type: model - sources\document_window.cc:876
— DEBUG: Mesh generation done - sources\document.cc:2245
— DEBUG: UV mapping generating.. - sources\document.cc:2336
— DEBUG: Mesh generating.. - sources\document.cc:2296
— DEBUG: UV mapping generation done(meshId: 0 ) - sources\document.cc:2375
— DEBUG: The mesh generation took 39 milliseconds - sources\mesh_generator.cc:100
— DEBUG: Mesh generation done - sources\document.cc:2245
— DEBUG: UV mapping generating.. - sources\document.cc:2336
— DEBUG: UV mapping generation done(meshId: 1 ) - sources\document.cc:2375

Dust3D 1.0.0-rc.7 (version: 1.0.0.37 build: Feb 21 2023 09:56:13)
opengl: 3.3.0 Core Profile Context 23.4.3.230420 shader: 4.60 core: true

@huxingyi
Copy link
Owner

@worsas Is there a graphics processer control panel which you can select integrated graphics for specified application? If so you can force it to use integrated graphics for Dust3D. Sorry, I don't have Radeon RX 570 Series to debug this issue at the moment.

@worsas
Copy link
Author

worsas commented May 23, 2023

That's fine.

I just tested the app on a different windows pc with a Geforce GTX 960M and there the model appears fine.
So it seems to be related to the Radeon Graphics Card indeed.

@Dhelio
Copy link

Dhelio commented Jun 18, 2023

I can confirm that. On my desktop with a 6800xt the model is all black, while on my laptop with an RTX 3060 it is viewed correctly.

@luzpaz
Copy link

luzpaz commented Jul 29, 2023

So this is a Graphics card issue ?

@Dhelio
Copy link

Dhelio commented Jul 31, 2023

@luzpaz Pretty much. Until the rendering is fixed there's little we can do, I guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants