-
Notifications
You must be signed in to change notification settings - Fork 24
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
Procedural geometry #65
Comments
Could you tell us about your PC spec? What graphic card do you have? |
@dotlogix, would you have any ideas why is that? |
I am learning the internals of stride and trying to debug for more tips, but I am not very optimistic about my skill to do it. |
Any help on how can I verify what's is wrong here. I really want to work with Stride as a code-only solution for a simple game. |
Is your example on GitHub? |
@VaclavElias sorry for the late response I was pretty busy in the last month and couldn't take a look. Could it be an issue with the backend? Not sure what graphics pipeline Nvidia uses by default as I am using an AMD 6700XT |
@thenuts could you try as an experiment to change the IndexType from IndexingType.Int16 to IndexingType.Int32 ? Maybe play around a bit with the data types for vertex colors. Or another idea would be to try to explicitly set the color vertex stream in the material like so:
If nothing of this helps I am pretty much out of ideas as it seems to be a Stride issue then I guess. |
I'm seeing the same problem. A few things to note:
System info: |
The EXEC warning is shown each time. The others are only shown on the first run.
This is how Example01 looks to me. Notice the black 2D squares. |
Oh also, running Example01 produced these warnings.
|
I see. We can ignore the warnings, as most likely they are not causing an issue. Also, the Mesh is most likely ok, as you have the problem generally. Not sure if there is not some issue with lighting, because you have some lights ok but the lights from the dark side are not working.. |
@Doprez, could it be the Light Probe issue? |
Thanks for a screenshot. Hmm, I would need some more experienced dev to step in. Are you exploring only code-only or you are also using Stride Game studio. I wonder if you would have the same issue also there, or is it related only to code-only issue. |
This seems to be happening both with code-only and with game studio. I copy-pasted some of the procedural geometry code into my game studio project and noticed that the plane it made was totally black. I then ran the original code-only example from GitHub and saw that everything was still black. |
What about if you just drop a box to Game Studio, or run some existing Game Studio tutorials (https://doc.stride3d.net/latest/en/tutorials/csharpintermediate/index.html)? Are you having the same issue there? If yes, could you screenshot for us? |
And do you use toolkit's NuGet or directly toolkit source code? |
For what it's worth, I cannot reproduce the problem on my laptop. Its specs are: |
That is really a mystery!!🤦♂️Let's see if we can get some input from others. |
Could it be a problem with NVIDIA GPUs? |
It would be good to find out, if the issue is only happening when you are using the toolkit. The reason for that is that toolkit is in preview and I am trying to figure out the correct settings for the This example #65 (comment), if you do it through Stride Studio, without any reference to the toolkit, does it also lose colours. These are my steps I did through Stride Studio. If you can get the same result, it means the issue is in the toolkit. If not, then I don't know.
|
It works for me also, but I think this is different; how can we create a ComputeVertexStreamColor from the editor? |
Hello. I hope everyone is good. I also experienced the same issue with my new PC! This time it was resolved with this PR #179. We think it might have been related with this issue. The NuGet packages are not yet released. But you can use the source code to try it if you would like. Once the NuGet packages are out, I will close this issue as resolved. |
The Procedural geometry code example on my computer doesn't render color, just black geometry
The text was updated successfully, but these errors were encountered: