Jump to content
  • Advertisement

All Activity

This stream auto-updates     

  1. Past hour
  2. Hi, I am trying out Vulkan ray tracing extensions and I am at the point where I need to compile shaders. I usually use DXC to compile my shaders to Spir-V but I am having trouble understanding how to create a lib_6_3 shader. This is the shader I am trying to compile: struct Payload { float4 color; }; [shader("miss")] void main(inout Payload payload : SV_RayPayload) { payload.color = float4(0, 0, 0, 1); } I was trying to use the following command to compile it but it simply does not produce any output: dxc.exe -spirv -T lib_6_3 -fspv-target-env=vulkan1.1 miss_rt.hlsl -Fo miss.spv I a clearly missing some key detail here... Well, 3 mins after writing this post, I updated my version of DXC and now it works... False alarm! Cheers!
  3. lawnjelly

    Quaternion to Euler very imprecise

    I apologise as I didn't mean to offend, slightly off topic, but it is quite interesting linguistically this kind of thing, and often comes up with Euler angles: https://english.stackexchange.com/questions/315906/pronunciation-of-the-name-leonhard-euler It has some similarities to a 'borrowed word' from another language. Often the pronounciation will be changed to fit more easily with the language that adopts it .. see pidgin english for example. As well as the phonetic pronounciation being 'yooler' in english, there is a conflict with the word oil, and our existing word oiler, in which case it makes total sense to alter the pronounciation in english, otherwise you are relying on context for meaning. The counterargument of course, which has won in maths, is that as a name it should be preserved as spoken in the original language. But you can see there are valid arguments both ways. And of course languages are dynamic, evolving and subject to change, I believe pronounciation in english has changed greatly in the past few hundred years, compare the difference between american english and british english for example. You say tomato, I say tomato...
  4. Today
  5. RoKabium Games

    ScreenShotSaturday

    Keeping up with the twitter hashtag of screen shots on Saturday!
  6. lawnjelly

    Quaternion to Euler very imprecise

    I tried my euler to quaternion and it gave a different result to yours. I checked and mine follows the convention on wikipedia: https://en.wikipedia.org/wiki/Conversion_between_quaternions_and_Euler_angles#Source_Code which appears to follow heading, attitude, bank convention. The source you linked also claims to follow the same convention: https://www.euclideanspace.com/maths/standards/index.htm Yet the equations you use are different to that on wikipedia. I would include the code here but the code thing on the forum isn't working for me for some reason.
  7. VoxycDev

    First Person Catcher!

    Pony, kitten and bunny hanging out in front of the pink castle
  8. Alundra

    Quaternion to Euler very imprecise

    The problem is the imprecision is not little but very large... Puting a quaternion with 45 degrees on X, Y and Z gives this quaternion: The euler resulting from this quaternion is: Of course we are far from 45 degrees that we started but the visual result is almost the same but the Y angle is far. The "9.735610" on the Y axis should in reality be around 23 degrees. Up is the result of the Quaternion to Euler, Down is the reference 45 degrees on each axis. Used for the editor to show the euler angles to be artist friendly. But I begin to think that it should completely be avoided and do the calculation differently to get the good angles. - When the gizmo is used, instead of add another quaternion for the transform, surely the euler can be modified local and world space and then the quaternion can be created safely from these angles. - When you attach one object to another, the relative angles can surely be calculated safely too to have a good representation of the actual euler angles. It's actually the two cases where I use the quaternion to euler because I do quaternion operation then I set the new quaternion but of course then the eulers is computed by converting the quaternion to euler if you set a quaternion and not euler angles for the new rotation.
  9. fleabay

    Quaternion to Euler very imprecise

    I doubt he (Euler) cares very much.
  10. a light breeze

    Game initialization.

    The main reason for initializing things outside of main is that they are needed for other things that also exist outside of main. This sounds like a circular argument, but consider that every static variable has a lifetime that extends beyond main. If one of your functions has a static variable of type T, and T accesses the logging system in its destructor, then the logging system and its dependencies need to be available outside of main. You can, of course, avoid this whole issue by not using any static variables. However, this requires a lot of discipline, and it has costs both in code complexity and performance.
  11. If you need a music composer/sound designer, I would love to get involved. I'm not sure what style of music you would be looking for but here are links to my portfolio. I specialize mostly in orchestral writing. Video Game Music - https://soundcloud.com/shaun-bellamy/sets/video-game-music Portfolio - https://soundcloud.com/shaun-bellamy Covers- https://www.youtube.com/channel/UCHBtJNK3jaB_ulhd6yaLsIA
  12. Phoenix Games

    [Work In Progress] Don't Give Up

    'Don't Give up' is a game set around a child growing up through school years, each level represents a school year passed. As you play through the game, the levels get darker to reflect the stress and anxiety many students feel towards the later years, obstacles will also begin to appear in the form of school themed dangers like a pencil or books etc..., as well as this the levels will become more twisted and loose their colour for a more dark, bleak and twisted theme.
  13. a light breeze

    Quaternion to Euler very imprecise

    Don't. Just don't. "Euler" isn't some arbitrary sequence of letters, it's the last name of the mathematician Leonhard Euler (pronounced /ˈɔɪlər/), and deliberately mispronouncing somebody's name is just incredibly insulting.
  14. Hello, I am a sound designer and Foley artist who is relatively new but very knowledgable in what I do and I am looking for some experience in the game industry. I am willing to work for almost any project that is needing assistance. Feel free to shoot me a message or reply to this if interested! Thanks
  15. Sounds like you're asking a Law question. Can you say more about what it is you want to find out? What do you think the requirements might be?
  16. Pepsidog

    How to make a hard platformer

    In summary, precision, and no invisible objects. I also learned earlier that letting the player get right back into the action instead of having a long checkpoint span is good.
  17. We are developing Fatal Core as a full-featured trading card game, complete with competitive play, packs to open, and a player market to sell/buy cards. One thing Fatal Core will not have are purchases of any kind. We're hoping to offset some/all of the cost of development through Patreon eventually, with huge incentives for the whole community when certain donation tiers are reached. The game can be played in browser with no download, although it is not yet optimized for mobile. For the interested: Game link: https://fatalcoretcg.com/ Quick tutorial: https://imgur.com/bXtQskX Discord (for easy matchmaking): https://discord.gg/augzm4n Patreon: https://www.patreon.com/user?u=19475742
  18. VoxycDev

    Did I really remake Minecraft?

    I'm looking at the screenshots and it's quite a beautiful and vast world you got. That's a lot of cubes and this technically quite impressive to me. To be less Minecraft-y, you could: Make the cubes flexible / bendable to add curved surfaces to make the world look more realistic (that's the route I took and taking again), but then you may have to change the name since it's no longer cubes technically. Make the cubes even smaller. Like 1/4th of the Minecraft size. It may just fool the eye. Use fewer colors in textures. If you remove the basic primary colors and reduce the overall number of colors you use (stick to maximum 2-3 different distinct colors per scene), it will look more realistic and less Minecraft. Again, your voxel worlds look nearly realistic, and that is very cool. More power to you!
  19. Lendrigan Games

    Writing for a Village

    A quick way to set up an NPC is to answer the question, "What does this NPC want?" From there, you can eye-ball dialogue responses in relation to whether or not the dialogue aligns with the goal.
  20. Lendrigan Games

    How to make a hard platformer

    The most common form of challenge in platforming is low margin for error (hence the popularity of the phrase "precision platforming"). If the controls reliably allow for precision, the more skill-ceiling-focused players will appreciate it.
  21. Lendrigan Games

    What are the requirements for creating a original game

    As long as it's not using someone else's copyrighted materials without their permission, you're legally free to sell it.
  22. I've been taking a few classes in game design and think I want to make a career out of it, but I don't know the requirements on creating a game that I can legally sell can someone tell me?
  23. Hi everybody, Since 2004, Xilvan Design is building 2D & 3D games in Blitz3D, we are now showing to you our kindly official gaming related pages. - The Xilvan Design Website - (please click on each links, download games & bookmark the pages): Lights of Dreams IV: Far Above the Clouds v12.75. Candy World II: Another Golden Bones v19.17. Candy Racing Cup: The Lillians Rallies v6.07. Candy World Adventures IV: The Mirages of Starfield v10.07. Candy to the Rescue IV: The Scepter of Thunders v12.75. Candy's Space Adventures: The Messages from the Lillians v24.17. Candy's Space Mysteries II: New Mission on the earth-likes Planets v13.75. -"Lately, I fixed the colors of the ambient lights, adjusted the starlight coming from Galaxies, now the dogs may Walk, Run, Jump, Fly together, Grab bones, Pastries, Golden Bones, Hearts, Crystals, attack with freesbies." -"Now, I've found a new grass textures for my 3D games including Candy World II, Candy to the Rescue IV, Candy Racing Cup, Candy's Space Adventures, Candy's Space Mysteries II & Lights of Dreams IV." -"Recently, it will be possible to edit all the levels of the game in Candy World Adventures IV v10.07. All 28 levels and 8 more in the future. Now, Noopy will do more animation than in v9.47" -"I Want to continue Candy Racing Cup: The Lillians Rallies, then I've just changed the camera type. I want to add more circuits, characters & cars. Now, there's no more accident in the demo caused by collisions." -"In the near future, I'm up to create a whole new Spatial Mode in Lights of Dreams V. New Space travel possibilities will be available before 2020 in our games." Once more, here is my YouTube Channel, where we are showing Candy's & Lights of Dreams series. Each games is free to play for the moment! - My Youtube Channel - Hope you'll like our games, bookmark, downloads & watching our videos! Friendly, Xylvan, Xilvan Design.
  24. Yesterday
  25. Huzzah! Not much to really show since everything happens in Debug.Logs and code, but markets are done. So what can retail agents do? Right now they can choose between restaurants or super markets...both of them have a different lists of goods. The restaurants will have the more complex good types that cost more, and supermarkets will have cheaper goods. Eventually I will have retail agents responding to market conditions and possibly switch Licenses. That's for another time. When a market has a positive inventory, they will put themselves available to the market. A list will be updated every day in the game that gets the total market share of all the companies, and creates a random list of markets based on that market share. This only happens once per day, and before agents start choosing markets to eat at. If you have 40% market share, you will have a 40% chance of being picked. An agent will come and pick a market, and then either decide on picking the most popular good available at the market, or the cheapest. Once decided, the market will feed the consumer and exchange cash. The consumer's hunger goes up based on the good and how well the employees are at their job. If a market successfully feeds a customer, their market share goes up, so being good can snowball. Since this is percentage based on the market share, your market share will go up quickly, but as time goes on, since the change is always a fixed amount, that fixed amount will increase percentage wise less and less. Everyone starts with an integer of 1-10, and it will go up 1 each success. So increase of 10 to 11 is a 10% increase, but a 100 to 101 is a 1% increase. Anyways, I've unit tested it and each part works, and I'm happy with it for now. The player will have the option of just going wherever they want. For now though, we move on to the last type of company. Service Companies. Service Companies will probably be the meat of the game when all the systems are in place. They aren't going to interact with Goods. They are going to provide services to companies and to the player. Most markets are usually service based. To get them online and working with my company, I really just want utilities up and running. As companies hire more employees, they will need more utilities or productivity will be hindered. We will need an ISP utilities which I'm bundling with electricity. They will need IT services to keep everything running. Janitorial services. Mechanics. There will be builders that create more real estate for companies to open more businesses. I will have goods that aren't for eating, but required for construction. Legal services for when I implement a justice system. Accounting services for companies to get their financials straight. Customer service to make sure we don't lose customers. Marketing companies to increase market penetration and market share. Sales forces to get contracts cheaply. Service companies require experts, and that's basically it. I will eventually put supplies in the game like pens and pencils, but keep it abstract with just a "supplies" account on the ledger, and periodically decrement it. Productivity will suffer if the supplies account isn't kept up. I have the code architecture in place for service companies, so it should be a simple manner of creating the Licenses and the Job Types for them, and then getting Service Contracts up for their services. Penalize companies if they have a certain number of employees and they don't have required services. Hopefully have that before the weekend is done. But the goods and contracts are all interacting and moving. Once I have Service companies up I will work on how the player is going to interact with all of this, and start polishing the UI and art to get it ready for Alpha!
  26. alvaro

    Quaternion to Euler very imprecise

    It might help to use doubles instead of floats. But even better, you could stop using Euler angles, since they are rarely what you need. Why do you think you need to convert from quaternion to Euler angles?
  27. Johanna Sdr

    Can anyone draw concept art for me?

    That's nice of you but no thanks, I was interest in this project more for the Harvest Moon art style Good luck on your project!
  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!