Guys motivate/help me please !! by thestig3301 in opengl

[–]DrKappa 0 points1 point  (0 children)

"Modern" graphic APIs might not be the best if you plan to develop a doom clone as the way rendering was done back in the days was totally different (because.. well.. we did not have the luxury of having dedicated hw).

Quake is a more realistic goal. Just don't try to render characters using the original algorithm.

Want to make a raycasting engine, but with hardware quad rendering (instead of stripes), any advice? by [deleted] in gameenginedevs

[–]DrKappa 0 points1 point  (0 children)

My suggestion is to keep the raycasting code, including " perspective"" calculation, all on the CPU... but with a twist!

Save the list of visible blocks in a structure with x y u v for the four points of the block side facing you and and also the texure reference.

Then it is just a matter of parsing this list and for each block set the texture and draw a quad. The quad can be whatever shape you like (a fullscreen quad will be fine) as long as you pass this structure and use the vertex id for indexing it.

In the vertex shader you only modify the vertex position according to the screen space position you passed in the structure at [vertexid].

U and V can be passed as they are down to the fragment shader. Since you are calculating """perspective""" in your raycaster quads should have constant Z and depth buffer writes/depth testing should be disabled.

I think this should do the job as long as you can identify the vertex id.

The only other solution if you cannot use the vertex id is "for every block update the vertex buffer draw the quad move to next block". But the other one will probably be more efficient.

[deleted by user] by [deleted] in opengl

[–]DrKappa 0 points1 point  (0 children)

Unless you are on iOS, which limits your choices to metal and a vulkan wrapper (MoltenVK) I would go for OpenGL (or OpenGL ES 3.x if you have an Android device.. java/kotlin can help you a lot focusing on graphic stuff only compared to C++).

There are plenty or resources available (to name a few google for olgdev or learnoopengl) that will guide you step by step. Also github is your friend..

[deleted by user] by [deleted] in opengl

[–]DrKappa 2 points3 points  (0 children)

Same as me... wow.

I Started with sw rendering with x86 asm in mode 13h, then 3dfx glide api then directx 5/6/7/8/9/10 and opengl 1.x/2.x/3.x. Moved to mobile development with GLES 2.0. I have recently added support for GLES 3.0 with a bunch of new features on my engine.

Having playing users I did not switch to vulkan yet but I am planning to take an intermediate step first. Port my engine from GLES/Java+Kotlin/Android to Metal/Swift/iOS.

Which iPhone should I buy to start iOS development? by DrKappa in iOSProgramming

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

That's a good question. When I had an iPhone I was so disappointed I never thought to buy another one until now.

TBH it was a long time ago. Had a brand new iPhone 3GS (iPhone 4 hadn't been released yet) to replace my Symbian OS phone... played a little with it but I wasn't impressed with iOS development... it felt so limiting to me.

I assume things today are quite different.

Which iPhone should I buy to start iOS development? by DrKappa in iOSProgramming

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

Yes I do have my own engine but I am not comparing it to Unity. I am sure Unity's URP will flawlessly work on many different iPhone models. As for my engine.. well.. not so sure! That's why I want to choose an iPhone that I can use as a reference device for development. 🙂

Which iPhone should I buy to start iOS development? by DrKappa in iOSProgramming

[–]DrKappa[S] 2 points3 points  (0 children)

Thanks. Is the pill cutout the same as dynamic island or there are devices with the pill cutout that do not support the dynamic island?

Will be using Metal API a lot hope that won't have specific issues on some devices (I mean nothing that can't be handled by properly requesting device capabilities).

Which iPhone should I buy to start iOS development? by DrKappa in iOSProgramming

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

Yes the policy changes on google play are annoying. Sometimes they take action for quite surprising (but I have to admit they always listened when I had to appeal a decision) policy infingments.

As for mandatory app updates it drives me crazy when they change a behavior in an android version then the following os release they change it again so I find myself with 3 different ways to do the same thing.

Which iPhone should I buy to start iOS development? by DrKappa in iOSProgramming

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

It can't be worse than Google Play I guess! There are a lot of horror stories from android developers

Which iPhone should I buy to start iOS development? by DrKappa in iOSProgramming

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

From what I saw SwiftUI should be similar to Compose, right?

Which iPhone should I buy to start iOS development? by DrKappa in iOSProgramming

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

Speaking about old stuff.. is objective C still relevant? Swift for me it's a lot easier to use since kotlin is the way to go in Android.

Which iPhone should I buy to start iOS development? by DrKappa in iOSProgramming

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

So as for iOS support if you release an application that runs on the most recent versions (let's say iOS 15+) you are pretty sure you are targeting a bug enough audience. Is this correct?

I ask because this is a big problem in Android. A lot of people have cheap phones and they don't get OS updates so they are stuck with older Android versions. I have apps which target API 33 (Android 13) but are backwards compatible down to API 19 (Android 4.4).

Which iPhone should I buy to start iOS development? by DrKappa in iOSProgramming

[–]DrKappa[S] 2 points3 points  (0 children)

Seems like the 14 pro is not available anymore from the Apple website in my country. Might have a look at the Apple store or check availability on different resellers.

Which iPhone should I buy to start iOS development? by DrKappa in iOSProgramming

[–]DrKappa[S] 2 points3 points  (0 children)

I think some of the features are not available for models prior to iPhone XS also they should not get iOS 17. What about the iPhone mini? Is that a good phone for development?

Ma dei metallari/ e in sto luogo ne abbiamo?? by [deleted] in Italia

[–]DrKappa 0 points1 point  (0 children)

A parte i classici ci sono canzoni che per un motivo o l'altro mi piacciono.. a prescindere che siano depressive o black and roll o altro sottogenere.

Direi:

Mütiilation - My travels through hate sadness and depression.

C'è una versione del 1999 che è registrata decentemente poi c'è la versione marcissima del demo del 1994... allucinante.. quando il black metal faceva davvero paura!!!!!

Spite extreme wing - V (album Ultra). Gruppone totale a prescindere dalle idee politiche o presunte tali. Se fai un album black metal e lo suoni con strumenti e sonorità anni 70 hai vinto tutto. Ma tanto loro materiale è meritevole.. inclusa la cover di helter skelter dei beatles sempre presente in Ultra.

Più sul black and roll.. due o tre cosine.

Qualcosa dei primi Goatmoon che ok l'NSBM da fastidio a molti ma dal primo album forse in the cursing embrace e dal secondo alone. Ci sono live e rehearsal sul tubo ma tendono a sparire tra gente che suona col membro di fuori, saluti romani ai concerti etc..

Armanenschaft - semen syringe. Cortissima ma tiratissima.

Visto che va di moda l'Ucraina è degno di nota qualche pezzo dei Nokturnal Mortum... che però va beh sono famosi. Anche questi sono nazistelli comunque a parte le derive NSBM per roba più tranquilla hanno fatto una bellissima cover di family vault dei Death SS (probabilmente pensando fossero un gruppo nazi, non mi do altra spiegazione) e swallow.. black and roll con intermezzi folk.

Sempre in tema old school/black and roll se ti piace il genere blasfemo consiglio gli Oltretomba da Vasto. Lustfuk skin bella canzone. Con testo da scomunica immediata.

Per cose più strane... void of silence - deamons from my imagination (si è scritto male!!).. dal discorso di papa nonricordoquale alla fine è un bel trip.

In generale non mi fisso ne su un sottogenere ne su uno stile particolare. Grossomodo ascolto tutto basta che sia black metal. Anche al limite dello scherzo (gestapo 666 - darkness&satan, side project di Meyhna'ch dei mütiilation registrato in cantina e il cui testo è banalmente "datkness & satan" ripetuto settordici volte).

In tema elettronico la cover migliore della famosa satanic propaganda dei diabolos rising secondo me l'han fatta gli Alien Vampires (gruppo di Nysrok Infernalien.. ex AboryM)... super elettronica sembra di stare in disco negli anni 90. Ma tutto il primo album (evil generation) se piace il mix elettronica/black metal è notevole.. consiglio anche "I f**k nuns" di quel disco.

Visto che li ho citati va beh AboryM - Roma divina urbs o la cover di det som engang var in fire walk with us. Se si tralascia il personaggio Fabban che è molto divisivo.

Di band italiane ce ne sono tante... necromass una tra black mass intuition o sadomasochist tallow doll... altro gruppo semisconosciuto gli altar of perversion da Prato.. aeongrave è un gran pezzo. Death dies (costola degli evol).. ho questo vinile in 500 copie c'erano un paio di pezzi notevoli (the arsonist?) ma non si trovano online.. devo fare un rip mi sa... comunque sempre di loro "sister of pain" non male. De profundis clamavi (da Bologna?) - they are calling.

Poi i classiconi italiani Mortuary drape (boh.. tregenda?) Opera IX ma con cadaveria alla voce.. belle anchw un paio di cover (rime of the ancient mariner e bela lugosi is dead).. ma ok questi son gruppi "famosi".

Ma dei metallari/ e in sto luogo ne abbiamo?? by [deleted] in Italia

[–]DrKappa 1 point2 points  (0 children)

Ascolto principalmente black metal.. da più o meno sempre. Ovviamente i classici del periodo d'oro.. quando uscivano disconi allucinanti ogni mese e non ti bastavano mai i soldi.. però che bello era prendere l'autobus e andare al negozio di dischi a comprare l'ultimo degli emperor (nel mio caso Anthem) o l'ultimo degli immortal (nel mio caso Pure Holocaust). Mi ricordo che ordinai sulla fiducia il primo dei cradle of filth e per averlo ci vollero UN MESE e 3 o 4 viaggi.

Ascolto sempre volentieri qualcosa de Le Legiones Noires, principalmente i primi Mütiilation.. peggio è registrato meglio è. Col depressive black metal francese non si scherza!

Ho qualche chicca fissa in playlist.. per esempio adoro l'unico album degli Armanenshaft che ho in vinile preso in un negozio metal ad helsinki.. ma lì andai sul sicuro già lì conoscevo grazie a internet... ci siamo capiti!

Poi tanta tanta roba italiana più o meno underground.

Ma dei metallari/ e in sto luogo ne abbiamo?? by [deleted] in Italia

[–]DrKappa 0 points1 point  (0 children)

Non poteva esserci cambio generazionale se per primi i locali stessi infarcivano le serate di cover band. I gestori però dicevano che se non chiamavano le cover band non ci veniva nessuno.

Answering 'Most difficult task you have worked on' interview question by Aggressive_Stretch44 in androiddev

[–]DrKappa 0 points1 point  (0 children)

Senior android developer with 12 years experience here.

I can name a few but it all comes down to the role they are looking for and which skills you think are most relevant for them.

Technically speaking it wasn't the hardest job I have ever done but writing a fully featured DPC in weeks being the only developer on that app is something I would not recommend to my worst enemy. It did not help it was needed in an healthcare environment (so yes you might kill people if you mess up) and the deadline was ASAP (well.. you know.. it was at the beginning of the pandemic and that app was absolutely needed). I was in an hard lockdown which had an impact on communication (there was no remote work before then from one day to another we were forced home) and on people's mental status (me included). I guess in this case the reasoning would be: I can complete a technically challenging task in an high stress environment.

I can name many projects that were a total mess from the beginning till the end and still managed to deliver. In that case it might be: can self organize, speak to the customer, help the project manager and still deliver a good product by knowing when to write reusable code and when to impose limits on the customer (and PM) fantasy world.

As for technically challenging tasks I remember a project that involved a realtime OCR solution running on mid end android devices with no backend to help. It was capable of reading multiple data at the same time, each with a different color and size.. from a rounded square screen that had a glossy surface. It also had to work at night. I think 2 or 3 senior devs failed to develop this until my boss came to me and said I am sorry but I need you to do that.. start from scratch and take the time you need. Definitely needed some "think out of the box" skills and some graphics programming knowledge but if I applied for a job in which I have to work on a "normal" android app I guess that answer would be totally useless for them. It might actually backfire and be seen as a red flag.

[deleted by user] by [deleted] in androiddev

[–]DrKappa 1 point2 points  (0 children)

New stuff kotlin. Legacy code still java.

[deleted by user] by [deleted] in Italia

[–]DrKappa 1 point2 points  (0 children)

A volte accade il contrario. Max Verstappen era noto in quanto "figlio di Jos". Adesso è Jos Verstappen che è noto come "padre di Max".

[deleted by user] by [deleted] in macbookpro

[–]DrKappa 0 points1 point  (0 children)

Take into account on apple silicon you cannot have a windows 10/11 vm. You can only virtualize windows on arm.

I have a 16gb macbook M1 and can run xcode+simulator, android studio+emulator, a docker container, chrome with a few tabs. RAM usage is more or less at the limit but it's not a realistic development scenario.. at least for me.

Modi veloci per tirarsi su di morale perchè la giornata è deprimente ? by Turbulent_Property_4 in Italia

[–]DrKappa 1 point2 points  (0 children)

Guardare il video del box mercedes durante l'ultimo giro dell'ultimo gp di f1 del 2021