Jump to content
  • Advertisement

All Activity

This stream auto-updates     

  1. Past hour
  2. DerTroll

    can not link program

    You are asking for the ShaderSourceLength in line 74. From the name I would think it is the length of the shader code and not of the error log. You should use InfoLogLength: https://docs.microsoft.com/de-de/dotnet/api/opentk.graphics.es30.shaderparameter?view=xamarin-ios-sdk-12
  3. MrWhiteRaccoon

    GDWC 2019 Team

    Perfect, I'll send you the link later, I'm still configuring the Discord channel and the GDD drive doc
  4. mandolinable

    can not link program

    in the watch window something i can not understand the compilation status is 1 that means successful how ever GL.getshader returns length = 483 for log and gl.getshaderinfolog returns an empty string how come ?
  5. Hi, I am fairly inexperienced in DX11 and I am trying to implement a particle system that is handled purely on the GPU. To keep things simple, the particle system will have a fixed number of particles that, once dead, will be respawned at the emitter location. As such, I only have a single compute shader that updates each particle. Based on the method outlined in 'Practical Rendering and Computation in Direct3D 11', an AppendStructuredBuffer<Particle> and a ConsumeStructuredBuffer<Particle> are bound to the compute shader, so that last frame's particles can be consumed, updated and appended, ready for the next frame. As I want to minimise the data flowing back to the CPU, I want to make a call to DrawIndexedInstancedIndirect(), feeding the particle data directly from the compute shader to the vertex shader. In the vertex shader, the particle will be expanded to a quad billboard (I am trying to avoid the geometry shader for performance) and sent to the pixel shader for rasterization. As a side-effect, the primitive topology will be set to TRIANGLELIST. I am using DrawIndexedInstancedIndirect() rather than DrawInstancedIndirect() as the number of particles and, by extension, the index buffer will remain fixed. However, I am unclear on how to implement indirect draw calls and have the following questions: - How can I pass the updated particle data from the compute shader to the vertex shader without sending the data back to the CPU? As I understand, the vertex shader cannot read from the AppendStructuredBuffer that was written to by the compute shader. - How do I generate vertices without a vertex buffer bound to the input assembler? I know that vertices are identified with the semantic SV_VertexID, but I have no input layout bound to the input assembler. Any help would be greatly appreciated, as I am not very confident with indirect drawing in DX11 and I cannot find any beginner-friendly resources to point me in the right direction.
  6. mandolinable

    can not link program

    yes i am working on it
  7. OK, thanks guys. I read somewhere that one can use spherical coordinates to randomly "jitter" the vector, while keeping the vector length r coordinate constant. Sounds good to me.
  8. DerTroll

    can not link program

    Okay, well, in your compile function there is this one branch: if (!string.IsNullOrEmpty(log)) { Console.WriteLine("failed to comile sahder " + path + '\n' + log); } Have you checked the console output when the program still crashed? As I said, I have no experience with C#, but if your shader did not compile, it does not seem like the program will stop. It just writes something to the output and goes on. In this case the access violation is not the initial error and therefore not relevant. Maybe an exception is the better choice there. Did you also check if this branch even get's triggered if there is a mistake in a shader? Put an obvious mistake into your shader and check the output of the console.
  9. MAKE 'MERICA GREAT AGAIN THE OFFICIAL VIDEO GAME OFFICIAL SITE: https://jesusstrikesback.com/ TRAILER: https://www.bitchute.com/video/pZb6RestXgG2/ The year is 2028. Homosexual billionaire reptilian satanists George Sorrows and Mark Cuckerberg are president and vice-president of the USA. A strict communist regime is immediately implemented across the USA, resulting in millions of deaths, the collapse of the economy and the end of free speech. The constitution is ripped to shreds and replaced with the decree of 7485373 genders.
  10. So I am writing a game design doc regarding a game that I wanted to make in the future with many mature themes which are commonly never touched and often avoided. I wanted to address topics such as racism, sexual assault/rape, pedophilia and homophobia in a respectable manner via interactions with NPCs and quests. As I was writing the events down, I thought that it would be a good idea to consult a larger audience before I keep going down this road. Before you read the idea section, you should know where the game is set in. Basically, the game is going to be a survival horror zombie game (like resident evil and last of us, not like MGS: Survive or WWZ) and will be set in a small city on an island(Island contains two other cities and rainforests). The focus of the game is how society functions in war-like situations and will not be focused on kill the zombies and fill a bunch of food meters. Idea 1: Pedophilia/ Rape In the game, there will be a female doctor who would volunteer to help the government during the outbreak with all her medical knowledge. The outpost she was assigned to collapses within the first week and she runs away with her surviving friends and nephew to create their own safe house. This safe house gets destroyed too within the next week and many of her friends who survived the collapse of the government outpost die during this attack. The female doctor escapes and huddles down with the medical supplies and her nephew in another location. She now only helps women who were abused and you (in case you built a good rapport with her). Later in the game, when you investigate her new safe house, you will find a locked door which will lead to a dark basement. As you investigate the dark basement with your flashlight you will find her nephew chained to a metal pipe and various signs that the nephew had been raped by his aunt. The rape would be suggested by a bottle of aphrodisiac you will find in the room and confirmed when the doctor (the rapist) will turn the lights on and will have a shotgun pointed at you. At this point in the game, you can either leave her be or return to save the nephew by killing her. The other route (the redemption route) is that the player will find the doctor's diary and police report she was going to file against her ex for rape charges. These two items will be obtained via a quest where you will try to retrieve an item from her apartment on her request. The diary and the police report will let the player know that the doctor was once raped by her ex who was a rich man. He bought her silence by paying for her student loans. This will be done so that the player will understand that her previous experiences with sexual assault, deaths of her friends and isolation due to the outbreak had corrupted her and led her down this awful path. Using this newly gained knowledge, the player can rescue the nephew with a drop of blood shed and talk some sense into her. Idea 2: Racism/Homophobia In the game, there will be an Arabian Muslim businessman who owns a successful food franchise in the country and a farm that produces the ingredients for his franchise. During the outbreak, he will be one of the main suppliers of food to the survivors with the help of the government and his privately owned security team. He is a very hospitable and generous man who will risk his life and wealth to help those in the outbreak. His people will even try delivering food to those who can't come to the various outposts to retrieve it. However, he also has a policy that prohibits entry and food delivery for homosexuals, jews, and transsexuals in any of his outposts. He also believes that the outbreak is a punishment from God for not condemning homosexuality due to the sins committed by Jews. The Arabian businessman would stick to his ideology no matter what someone says to him. However, despite his backward and horrid ideology he would still not take the life any human being whether they belonged to the group he hated. To further add depth to his family and faction, you can also go on a mission to deliver food to a location with his son. His son will tell him that he is going to deliver some supplies to the neighboring Christain family. Upon delivering the supplies, you will find out that his son lied to him and was actually delivering supplies to a gay couple in need. On your way back when you question him, he will tell you that he doesn't share the same ideology as his father. The businessman's son believes that just because he doesn't find the acts of some people agreeable according to his religious values doesn't mean he should condemn them to death or abuse. Towards the good route of their storyline the Arabian businessman, his squadron, son and you will head out on a rescue mission. His son will die during that mission and as you and his father enter the building you will find out that the family you set out to save was a Jewish family. The Arabian man would be enraged by seeing the star of David necklace on the table and the Torah. The Arabian man would want to kill the Jewish mother and her children but with the correct dialogues, you can talk sense into him. After completing the mission and saving the family, he will immediately ask the mother if she knows whether she knows any other Jewish family in danger or hiding. When asked what he intends on doing with that information, he will reply "Send my men to see if they need anything or if they need rescue..." he will look at her kids and say "God would never let me enter heaven if watched as innocent people die while I could still help them" Conclusion I know that these topics are difficult to tackle but I believe that gaming as an interactive medium can tackle them at a much deeper level compared to any other medium. The amount of hours games usually pack is ample time to develop and build characters. I just want to know whether you guys think the direction I am taking regarding this is a good idea or not. And whether you all believe that games can be used as a platform to deal with mature topics. Side note: In case one of your biggest concern is the Muslim man being portrayed as homophobe would raise Islamaphobia flags, I'm a Muslim too.
  11. mandolinable

    can not link program

    when I did what you told and I modified the fragment shader code to like in attachment and now as you see it passed sounds the problem comes from the fragment shader code BasicFS.glsl
  12. Lu Po

    Jesus Strikes Back: Judgment Day

    Official site: jesusstrikesback.com Trailer: https://www.bitchute.com/video/pZb6RestXgG2/ The year is 2028. Homosexual billionaire reptilian satanists George Sorrows and Mark Cuckerberg are president and vice-president of the USA. A strict communist regime is immediately implemented across the USA, resulting in millions of deaths, the collapse of the economy and the end of free speech. The constitution is ripped to shreds and replaced with the decree of 7485373 genders.
  13. crazysimox98

    GDWC 2019 Team

    I'm interested and I'm free and I have no other activities going on , so i'm free to doing only this and focus only on this project. Here on soundcloud i have some tracks for understanding my experience ,but that's not all, every day I work with sounds on my computer, and most of them i do not share. I'm ready for the discord link!
  14. DerTroll

    can not link program

    Don't know much about c#, but I couldn't detect anything that looks like an obvious error. Try setting a breakpoint in each line of the foreach loop and at the linkProgram command and step through them step by step until the program crashes. Sometimes the wrong line is marked when an error occurs. If your IDE is telling the truth, you should loop through the breakpoints twice before you get to the line which links the program. Also, check the values at each breakpoint. Especially what is inside both lists.
  15. Today
  16. mandolinable

    can not link program

    here is the full project on github https://github.com/ahmedTohami/opentk
  17. mandolinable

    can not link program

    yes sure, the shader is the parent of all of my shaders it got some common functions to set uniforms and to compile , link program and the shader info is the place where I hold path and type of shader and the entity shader is the child of shader that I am using to render that uses the attached vertex and fragment shader EntityShader.cs Shader.cs ShaderInfo.cs
  18. Maybe you are right... I always forget that there is something called C# ... never learned it. So forget the things about new and casts that I wrote.
  19. DerTroll

    can not link program

    Please provide some more code. The error you posted shouldn't have anything to do with OpenGL itself. Memory access violations occur if you try to read or write to a memory location that is not reserved for your program. For example, if you access the 3. element of an array which only has 2 members or if you store a reference/pointer to an object which is deleted before you use it.
  20. @DerTroll: It doesn't look like FFA702 is using C++. If not, that may explain some of the things you mentioned (e.g. 'C-style' casts and use of 'new'). @FFA702: I'm not sure if a suggestion of reformatting will be well-received here, but I think your code would be easier to read if it were formatted more consistently. Also, breaking it up further into smaller functions, as DerTroll suggested, could reduce indentation levels and increase clarity. Maybe someone will be able to help out as is, but for me at least, the code in its current form is a little hard to follow.
  21. hello I am pretty new to glsl and opengl I have the 2 shaders attached and they are compiled successfully but the program linking fails like in exception image attachment what wrong i did ?? , forgive about my bad english BasicFS.glsl BasicVS.glsl
  22. MrWhiteRaccoon

    GDWC 2019 Team

    Hi Simone, although sound is not my first priority now, you are welcomed if you want to join the team. Apart from the GDWC I'd like this team to participate in some Game Jams so we can learn to work with each other. If you have some previous work I can see it would be great, don't worry if you don't. Still interested? Reply me and I'll PM you a discord link Thank you for your interest!
  23. Steam does customer support for their platform (managing user accounts, transactions and refunds), not for your game. Many problems and situations can arise after the launch, that would require time (and money). Some are problems (your game breaking in a specific hardware configuration, that you need to test and fix), some are things requested by users that are reasonable (like accessibility options) or even new cool ideas that arise after launch (like DLC or new game modes). Some are simple customer support (time spent explaining things in forums). Also, the business cost (as cited by Tom Sloper above) doesn't end when the game launches. It probably gets higher. So, even if you don't need to do many things after launch, it's reasonable to factor them to your cost, because many things can happen, and it's a good idea to be prepared.
  24. crazysimox98

    GDWC 2019 Team

    Hello mrwhiteraccoon my name is simone, I would like to participate in the project and contribute with the sound part. I use lmms and audacity, lmms for compositions and audacity to create samples with effects too. Can I participate?
  25. MrWhiteRaccoon

    GDWC 2019 Team

    I'm looking for a 3D or 2D artist to form a team for the GDWC 2019. The goal is to build a game for the 30th of September. The game I'm building is an RTS, based on the Japanese culture. I have more details that will be shared with people interested in the project.I'm developing the game in Unity, I don't need the artist to work with it, but some help is always good. The project: The game is not intended to be comercial, meaning that will be released as a free to play game. This is because my goal is to build a portfolio and to find nice people that loves game developing beyond the cash profit. The team: We don't need a huge team to build this game, I was going to build it on my own but I've seen too much talent in this group and is worth trying to build a team. The perfect team for me would not be greater than 3 person team, including: Programmer, Graphic Artist and Sound Designer. I would be leading the team as a Programmer and Game Designer, but always listening to what my teammates suggest Current Status: The game is currently in it's first stage of developing, I'm writing the GDD and once it's ready we can start developing. Even in this stage we can still start doing some stuff, as some simple models, UI art... Apart from the GDWC I'd like this team to participate in some Game Jams so we can learn to work with each other. My previous work: https://mrwhiteraccoon.itch.io/ GDWC web: https://thegdwc.com/ If there is someone interested please contact me Thank you!!
  26. krystian_g

    Props for my upcoming game

    Hi! This time I finished office desk for psychiatrist. I hope you like it:)
  1. Load more activity
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!