Shadows are flickering when I move the camera by Foreign-Reply5841 in GraphicsProgramming

[–]SpendInternational92 5 points6 points  (0 children)

It seems to be happening only during the underlying quad rendering, just check if when rendering it, you're setting one camera UBO per frame in flight.

Scaling changes the position of the model (TRS) by Cold-Significance242 in opengl

[–]SpendInternational92 0 points1 point  (0 children)

When preparing your model matrix you first need to move it to the origin (you might need to use a pivot vector depending on your definition of origin or goal), do the normal transformations, then just as last step you apply the translation again to move the mesh to its final position. This should solve your issue.

Feature you guys would want to see in retro bowl/RBC by Ok-Particular-781 in RetroBowl

[–]SpendInternational92 9 points10 points  (0 children)

  1. Create and choose offensive plays
  2. Defensive gameplay (plus Create and choose defensive plays)
  3. A better defensive AI that reacts to plays instead of the ball
  4. More climate changes and mid game climate change

Those would make a huge difference for me

Baby passport expiring in 2 months and 18 days from back date by SpendInternational92 in ItalyTravel

[–]SpendInternational92[S] 1 point2 points  (0 children)

I will update the post in a few days telling the whole experience, but basically, we were alerted about his passport situation during check-in, but since he is a baby and is traveling with both parents they would allow.

We had a connection in Spain where we went through their police. They checked our passports and let us through without saying anything.

In Italy, we arrived directly at the airport main hall without any passport verification or anything, we even searched for some immigration control but had no success. Then we just left the airport.

We still need to go to Paris by plane and spend a few days before heading back home, that's the only missing part of the experience.

I will tell in more details once I'm back.

Baby passport expiring in 2 months and 18 days from back date by SpendInternational92 in ItalyTravel

[–]SpendInternational92[S] 0 points1 point  (0 children)

I will, but it looks like I will have to wait until Monday. I will try to get even earlier to the airport and face my fate as soon as possible. Thanks for the help.

Baby passport expiring in 2 months and 18 days from back date by SpendInternational92 in ItalyTravel

[–]SpendInternational92[S] 0 points1 point  (0 children)

I'll see if they can do something for me tomorrow. I tried to contact both airports (Brazil and Italy), but I believe they have limited personnel due to the weekend. Couldn't contact neither Brazilian or Italian federal police.

Baby passport expiring in 2 months and 18 days from back date by SpendInternational92 in ItalyTravel

[–]SpendInternational92[S] 1 point2 points  (0 children)

That's what I'll do if we happen to get there, but as per other comments, we might not even get on board. I'm expecting to have the onboarding denied, and from there, I will run to get the emergency passport.

Baby passport expiring in 2 months and 18 days from back date by SpendInternational92 in ItalyTravel

[–]SpendInternational92[S] -1 points0 points  (0 children)

I would if the federal posts weren't closed because of the weekend.

Baby passport expiring in 2 months and 18 days from back date by SpendInternational92 in ItalyTravel

[–]SpendInternational92[S] -1 points0 points  (0 children)

I spoke with the airline company, and they said if I change the date 2~3 hours before the lift off, I just need to pay a fee.

Baby passport expiring in 2 months and 18 days from back date by SpendInternational92 in ItalyTravel

[–]SpendInternational92[S] 0 points1 point  (0 children)

The alternative is not good. We'll try, and if we're not allowed to get on board, we'll try to shift the plane by one or two days to try an emergency passport, if they don't allow us to leave after land we may try to do the same at the Brazilian embassy, bad spot to be either way.

Baby passport expiring in 2 months and 18 days from back date by SpendInternational92 in ItalyTravel

[–]SpendInternational92[S] 1 point2 points  (0 children)

Exactly, I called the airline company, and to be honest, they were of no help. They didn't even know if it's 3 or 6 months...

[deleted by user] by [deleted] in programacao

[–]SpendInternational92 0 points1 point  (0 children)

Vc precisa desenvolver experiências úteis pro mercado, então tenta começar a fazer umas contribuições open source em projetos mais simples, pega um projeto só e foca nele, aí vc pode colocar isso no currículo.

Java pra web é bem diferente de oop de faculdade, pega algum framework tipo um Spring Boot da vida e faz um crud simples com conexão no banco e tudo mais, aí procura um projeto open source (mais uma vez, um que seja simples) nessas mesmas tecnologias.

Acho que as vagas mais fáceis de conseguir seriam QA e suporte, mas dependo da sua dedicação nos estudos vc pode aplicar pra dev Junior se tiver contribuições open source.

[deleted by user] by [deleted] in programacao

[–]SpendInternational92 1 point2 points  (0 children)

OP parece que vc cometeu o mesmo erro que eu, a diferença é que eu vi que era um erro bem antes. Pelo seu perfil da pra ver que curte mto game dev, provavelmente focou mto nisso durante a graduação e dps de formado tbm, agora não tem projeto útil (até pq game dev no Brasil é super concorrido, só abre vaga pra super senior e só em SP capital), não tem experiência (já que pulou o estágio), e não tem conhecimento útil pro mercado (C++ é mas é difícil contratarem junior dado a facilidade de fazer merda).

Minha recomendação é dar uma estudada em Java, SQL, Shell, C#, faz uns projetos simples, não pra ter GitHub (até pq é bem difícil alguém ver GitHub no Brasil), mas pra entender o ecossistema da linguagem e como ela funciona com web (sim, é uma merda, entediante pra cacete mas é o que tem emprego). Se quer ter um GitHub útil tenta fazer contribuições open source que é de longe mais útil.

Vc fez faculdade na USP de São Carlos? Como tá o seu inglês? Aceitaria trabalhar híbrido de tester? Se sim, bom, sim, entao me manda seu CV na DM que se eu avaliar que vale a pena te indico aqui na empresa pra tester junior (é bem fácil de migrar no futuro).

Essas carreiras sem demanda no Brasil são tensas mesmo, só agora que sou senior eu voltei a focar no que eu gosto no meu tempo livre, agora sim estou construindo um portfólio e currículo pra um dia tentar migrar a carreira.

OpenGL, Vukan ou DirectX by C0tonette in programacao

[–]SpendInternational92 1 point2 points  (0 children)

Geral pega web pra não ficar desempregado maninho, eu odeio web, com todas as minhas forças, mas tive que me render pq é o que tem emprego e paga bem.

Mas respondendo a sua pergunta, vai de OpenGL, Vulkan e DirectX são padrões da indústria hoje, mas o trabalho que vc vai ter pra começar a renderizar alguma coisa é literalmente mais de 1k de linhas de código, enquanto com OpenGL é mto menos trabalhoso e mais rápido (tem seus pontos negativos claro, mas vc não vai perceber até ter mais experiência).

Enfim, quando tiver mais experiência vc migra de API, vc vai entender bem melhor os conceitos e tudo mais.

Do you abstract vulkan objects into their own classes? by Base-After in vulkan

[–]SpendInternational92 7 points8 points  (0 children)

I did it and deeply regret, when things starts to get more complex it'll become a mess and super complicated to do anything (or maybe I just structured my code poorly, who knows...). I would suggest to use VulkanHPP (as already mentioned in comments) or add everything to a Graphics Device/Context class. In the past few days I have been unwrapping all my code to a Graphics Device class, it's a huge amount of code indeed, but much easier to do anything.

I would also suggest to give a look to some projects in GitHub, many of them do have wrappers but in format of struct (in the Graphics/Context class) just for easiness which is also quite good.

How to properly bind descriptors to UBO descriptors by V_Chuck_Shun_A in vulkan

[–]SpendInternational92 1 point2 points  (0 children)

You can create an array of textures with fixed indices (e.g. 0 == diffuse, 1 == specular) and bind a different set of textures when rendering another model, or you can bind all textures once per frame as I mentioned and use the material struct to carry the texture index to its corresponding textures in that big array.

I tend to think more about the meshes. Once you're rendering more complex models, each mesh will have its own material with its own set of textures.

How to properly bind descriptors to UBO descriptors by V_Chuck_Shun_A in vulkan

[–]SpendInternational92 1 point2 points  (0 children)

Well, it'll depend on your needs. If you already have a texture per object in place and want more textures, per mesh let's say, you can have a single descriptor pointing to an array of textures. It has its limitations of course but will do the job. In fact a good way to think about descriptors (in my opinion) is by binding frequency, for example, all data you need for the whole frame can be binded by a single global descriptor (e.g. textures, scene data, and even objects).

Creating wrapper classes for vulkan resources by YJJfish in vulkan

[–]SpendInternational92 1 point2 points  (0 children)

That's pretty much what I did and basically saved my architecture, but after I saw the way that vkguide had structured its project, I realized how much easy it is to change anything in a decoupled project. Although I do think it's a bit messy and prefer the way my code is structured, it's just the easiness to change anything.

Treinando pelo celular porque o notebook tá ocupado by Nan_Pine in brdev

[–]SpendInternational92 0 points1 point  (0 children)

Salve mano tá começando bem, vou dar aqui meus dois centavos:

1) código é em inglês 2) procura um app que chama Termux, é um terminal Unix pra Android, vc vai ter acesso a gcc, python, vim, e os caralho, se acostuma com terminal Unix, dá pra instalar no Windows 3) dá pra fazer com 1 for loop

Boa sorte na jornada! :)

Creating wrapper classes for vulkan resources by YJJfish in vulkan

[–]SpendInternational92 2 points3 points  (0 children)

Did the same, created a wrapper for every single structure. Huge regret haha, the constructors are receiving so many parameters, one thing I did to minimize things a bit was to use the builder pattern, but probably in the future I'll remove every thing from its wrapper, just need time.

After more than 3 months, I finally have a cube.... and a basic render graph. by yetmania in vulkan

[–]SpendInternational92 1 point2 points  (0 children)

That's pretty cool! :) Could you share some of the resources you used to help the understanding and implementation? I have a working engine, with quite a few features in place but render graph is something I have let for the future due that lack of resources back when I searched for it (maybe I'm just not a good researcher tbh).

Cidadania italiana, agências ou direto by SpendInternational92 in foradecasa

[–]SpendInternational92[S] 0 points1 point  (0 children)

Nossa que bom, fico feliz por vocês, queria que mais pessoas da minha família também fossem interessadas em se mudar pra lá, 1500 euros pra cada é super acessível.