- On-line code generation - 9 Updates
- Hateful abusive posts by Leigh Johnston, round #2 - 1 Update
- SEMPRE SCOPATO E SBORRATO IN CULO: LUIGI BERLUSCONI! CON PADRE IL VERME PEDOFILO SILVIO BERLUSCONI! SI, E' SEMPRE CON MEGA CAZZI IN CULO, IL RICCHIO-N-AZISTA LUIGI BERLUSCONI, FACENTE PER LAVORO IL MEGA RICICLA SOLDI MAFIOSI! SI, SI E SI, HA SEMPRE.. - 1 Update
- Using #define in the construction of an array - 5 Updates
- About Single Responsibility Principle - 3 Updates
- neoGFX C++ ECS - 1 Update
woodbrian77@gmail.com: Nov 11 10:50AM -0800 Shalom Would like a demo of the C++ Middleware Writer? https://github.com/Ebenezer-group/onwards A compiler with 2017 C++ support is needed to build the software. Comments on the code in the repo including these files: https://github.com/Ebenezer-group/onwards/blob/master/src/cmw/wrappers.hh https://github.com/Ebenezer-group/onwards/blob/master/src/cmw/tiers/genz.cc https://github.com/Ebenezer-group/onwards/blob/master/src/cmw/tiers/cmwA.cc are welcome. Thanks in advance. Brian Ebenezer Enterprises - Enjoying programming again. http://webEbenezer.net |
Melzzzzz <Melzzzzz@zzzzz.com>: Nov 11 07:13PM > https://github.com/Ebenezer-group/onwards > A compiler with 2017 C++ support is needed to build > the software. Why restrict possible users? -- press any key to continue or any other to quit... |
woodbrian77@gmail.com: Nov 11 11:37AM -0800 On Sunday, November 11, 2018 at 1:13:48 PM UTC-6, Melzzzzz wrote: > > A compiler with 2017 C++ support is needed to build > > the software. > Why restrict possible users? As far as output from the code generator goes, only support for 2011 C++ is needed. The support for 2017 C++ is only needed to build the programs that are used to help generate the code. So a compiler with 2017 C++ support is needed initially to build the programs, but after that you can use 2011 C++ if that's what you want. |
Melzzzzz <Melzzzzz@zzzzz.com>: Nov 11 07:40PM > generate the code. So a compiler with 2017 C++ support > is needed initially to build the programs, but after > that you can use 2011 C++ if that's what you want. Look, I have programmed in C++2003 since last year, because compiler with C++11 was not an option... depends on whom you target. Home users have no problem with that, but companies do. -- press any key to continue or any other to quit... |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Nov 11 11:49AM -0800 Brian, It is admirable how you pursue your software, and reach out to offer it to others. You have my respect and my admiration in your diligence. -- Rick C. Hodgin |
woodbrian77@gmail.com: Nov 11 11:53AM -0800 On Sunday, November 11, 2018 at 1:40:36 PM UTC-6, Melzzzzz wrote: > Look, I have programmed in C++2003 since last year, because compiler with > C++11 was not an option... depends on whom you target. Home users have > no problem with that, but companies do. Sorry, but my bottom line 2011 C++. I can't help you if you want an older version. I know there's a lot of software still on older versions, but I made decision years ago to switch to 2011 C++ as the basis for my work. That decision helps me in a number of ways, but it also has some drawbacks. |
Mr Flibble <flibbleREMOVETHISBIT@i42.co.uk>: Nov 11 08:49PM On 11/11/2018 19:49, Rick C. Hodgin wrote: > It is admirable how you pursue your software, and reach > out to offer it to others. You have my respect and my > admiration in your diligence. Nobody gives a fuck. Will you pair of bigoted homophobic misogynist Christian fucktards please get a room. /Flibble -- "You won't burn in hell. But be nice anyway." – Ricky Gervais "I see Atheists are fighting and killing each other again, over who doesn't believe in any God the most. Oh, no..wait.. that never happens." – Ricky Gervais "Suppose it's all true, and you walk up to the pearly gates, and are confronted by God," Bryne asked on his show The Meaning of Life. "What will Stephen Fry say to him, her, or it?" "I'd say, bone cancer in children? What's that about?" Fry replied. "How dare you? How dare you create a world to which there is such misery that is not our fault. It's not right, it's utterly, utterly evil." "Why should I respect a capricious, mean-minded, stupid God who creates a world that is so full of injustice and pain. That's what I would say." |
woodbrian77@gmail.com: Nov 11 02:02PM -0800 On Sunday, November 11, 2018 at 2:49:28 PM UTC-6, Mr Flibble wrote: Please don't swear here. As far as I can tell on-line code generation is where things are headed. |
Melzzzzz <Melzzzzz@zzzzz.com>: Nov 11 10:27PM > On Sunday, November 11, 2018 at 2:49:28 PM UTC-6, Mr Flibble wrote: > Please don't swear here. As far as I can tell on-line > code generation is where things are headed. What things? -- press any key to continue or any other to quit... |
"Rick C. Hodgin" <rick.c.hodgin@gmail.com>: Nov 11 01:35PM -0800 If you would like to see Leigh Johnston (aka Mr. Flibble) stop posting his hateful, obscene content, please send an email to abuse@newsdemon.com. Here's the information you can report to them on the recent posts exhibiting that hate and abuse: -----[ Begin ]----- Usenet message information / content shown on Google Groups: Message and message source posted November 11, 2018: https://groups.google.com/d/msg/comp.lang.c++/8hpU4kVHbuU/FFGBgWRYBgAJ https://groups.google.com/forum/#!original/comp.lang.c++/8hpU4kVHbuU/FFGBgWRYBgAJ Prior posted similar content on November 9, 2018: https://groups.google.com/d/msg/comp.lang.c++/4GRuB8txcaE/L2BwxuKlBQAJ https://groups.google.com/forum/#!original/comp.lang.c++/4GRuB8txcaE/L2BwxuKlBQAJ -----[ End ]----- -- Rick C. Hodgin |
"ANTONIO BINNI - MAI PIU' COL PEDOFILO BERLUSCONI" <ginopanpan6@protonmail.com>: Nov 11 11:25AM -0800 SEMPRE SCOPATO E SBORRATO IN CULO: LUIGI BERLUSCONI! CON PADRE IL VERME PEDOFILO SILVIO BERLUSCONI! SI, E' SEMPRE CON MEGA CAZZI IN CULO, IL RICCHIO-N-AZISTA LUIGI BERLUSCONI, FACENTE PER LAVORO IL MEGA RICICLA SOLDI MAFIOSI! SI, SI E SI, HA SEMPRE........... FIUMI DI SBORRA IN CULO, LUIGI BERLUSCONI, DA SEMPRE " AD ALTEZZA" CRIMINALISSIMA DI PADRE E NONNO! SI, SI, SI E STRA SI, CIUCCIA E PRENDE CAZZI IN CULO A RAFFICA LUIGI BERLUSCONI, CHE HA PER FIDANZATA: "UN NOTO MASSONE MAFIOSO DEL GRANDE ORIENTE D' ITALIA, CON LA BARBA ( AMICO E FINANZIATORE DEL FURBASTRO, COMPLOTTARDO E CORROTTISSIMO STEFANO BISI)". MASSONE MAFIOSO, CHE IO, FRA L' ALTRO, CONOSCO!!!!!!! IN QUANTO LAVORAVA CON ME E CON QUELL'IMMENSAMENTE CRIMINALE DI ALDO ACQUISTAPACE DI CREDIT SUISSE, IN BORSA, A MILANO" .. ANYWAY... GUARDATE QUI, PLEASE, COME IL SEMPRE SBORRATO PROFONDAMENTE DENTRO AL CULO, LUIGI BERLUSCONI, SLINGUA DETTO MASSONE MAFIOSO DEL GOI CON LA BARBA http://www.sostenitori.info/wp-content/uploads/2017/07/luigi-berlusconi-681x357.jpg UN MIO CARO AMICO, IL NOTO OMOSESSUALE, ANCHE UN PO' DEPRAVATO, FEDERICO TRABUCCO DI KAIROS https://fundspeople-repository.s3.amazonaws.com/system/person/logo/3872/medium_Federico_Trabucco.jpg 1 HA PARTECIPATO A DIVERSE ORGE GAY MENEGHINE CON LUIGI BERLUSCONI E MI HA ASSICURATO CHE LO STESSO PRENDE ANCHE DUE CAZZI, NELL'ANO, CONTAMPORANEAMENTE. SIA CHIARO E STRA CHIARO, PLEASE: IO NON SONO PER NULLA ANTI GAY, PER NULLA OMOFOBO, PER QUANTO ETEROSESSUALE. TANTO E' VERO CHE DA ANNI IL MIO MIGLIORE AMICO E' IL CITATO GAY FEDERICO TRABUCCO DI KAIROS. MA RITENGO ASSOLUTAMENTE CHE TUTTO IL MONDO, SI, IL MONDO INTERO, IL PIANETA TERRA TUTTO, DEBBA SAPERE OGNI COSA, PROPRIO OGNI COSA, QUALSIASI COSA, SUI BASTARDISSIMI CRIMINI E LE MEGA PERSERSIONI SESSUALI DI TUTTI I BERLUSCONI: OSSIA LA METASTASI ASSASSINA DEL PIANETA TERRA. IN QUANTO SONO I DITTATORI NAZISTI, MAFIOSI, CAMORRISTI, NDRANGHETISTI, PEDOFILI, STRAGISTI, ASSASSINI, DEL NOSTRO PAESE E DA "APPENA APPENA" 40 ANNI! FACCIAMO UN CHECK, ORA, SULLA PARTE CHE ANCORA PIU' CONTA, PROBABILMENTE. OSSIA SU QUANTO SIA PROFESSIONALMENTE CRIMINALISSIMO LUIGI BERLUSCONI! E' MEGA RICICLA SOLDI MAFIOSI LUIGI BERLUSCONI (ECCO QUALE E' IL SUO MALAVITOSO LAVORO..CHE POI, CASPITERINA CHE "COINCIDENZUZZA BEDDA", ERA LO STESSO LAVORO DEL PEZZO DI MERDA LUIGI BERLUSCONI NONNO IN BANCA RASINI, LA NOTA BANCA " DI COSA NOSTRA BEDDA BEDDUZZA AAAH" https://www.ilfattoquotidiano.it/2010/11/19/berlusconi-e-cosa-nostra-il-primo-capitolo-de-lintoccabile-di-peter-gomez-e-leo-sisti/77797/5/ http://susannaambivero.blogspot.pt/2009/08/rasini-la-banca-di-berlusconi-e-della.html ). AVENTE COME PADRE, IL BASTARDO STRAGISTA SPAPPOLA MAGISTRATI, MANDANTE DI MIGLIAIA DI OMICIDI MASCHERATI DA FINTI MALORI, SUICIDI, INCIDENTI.. IL DITTATORE SATANISTA E NAZIFASCISTA, DICIAMO .. DITTATORE SATA-N-AZIFASCISTA, OLTRE CHE MEGA LAVA SOLDI DI COSA NOSTRA, CAMORRA, NDRANGHETA, LUI STESSO CAMORRISTA, MAFIOSO, NDRANGHETISTA, NONCHE' LADRO, TRUFFATORE, SEMPRE FALSO, POR-CO-RRUTTORE, MEGA COCAINOMANE, NOTISSIMO PEDOFILO SILVIO BERLUSCONI. 2 CIAO A TUTTI. SONO IL MASSIMO MASSONE MONDIALE ANTONIO BINNI DELLA GRAN LOGGIA DI BERLUSCONIA, OPS, DI LEGALADRONUSCONIA, OPS, DI ASSASSINOSALVINUSCONIA, OPS, DI RENZUSCONIA, OPS, DI CULACCHIONEFASCISTAROCCOCASALINUSCONIA, OPS... OK, GRAN LOGGIA DI ITALIA. DAI, A PARTE LE IRONIE, GRAN LOGGIA D'ITALIA. SI, MI HANNO INSIGNITO MASSONE MONDIALE MAXIMO. DONALD TRUMP IN PERSONA, A NEW YORK, MI HA PREMIATO PRESSO LA LOGGIA DEGLI ILLUMINATI, COME MMM, MASSONE MONDIALE MAXIMO, SETTIMANA SCORSA. LA PAROLA, ORA, PERO', AD UNA SORELLA MASSONA CON CUI ABBIAMO FATTO CENTINAIA DI ORGE, NEGLI ULTIMI 15 ANNI. SCRIVENTE UN TESTO DICENTE GIUSTISSIME COSE. SI, E' PROPRIO LEI, LA PIU' TEMUTA PENTITA, A LIVELLO " DI BERLUSCONAZISMO E PADANAZISMO": MARIA GRAZIA CRUPI. https://plus.google.com/108636656730606836659 https://plus.google.com/102103531009107965093 https://plus.google.com/100248419268040066274 SI, E' PROPRIO LEI, LEI, STRA LEI. LA PIU' GRANDE SCOPATRICE DI TUTTE LE MASSONERIE DEL PIANETA TERRA. L'INSEGNANTE A SCUOLA, LA MASSONA DI ALTO GRADO, LA PORNOSTAR FOCOSISSIMA (MA SEMPRE E SOLO CON MASCHERINA), L'INFORMER DI TANTI SERVIZI SEGRETI DI TANTI PAESI DEL MONDO. E SPECIALMENTE, L' EX AMANTE LESBICA DI MARINA BERLUSCONI E MARIA DE FILIPPI, PER BEN 12 ANNI! LA PAROLA, QUINDI, ORA, ALLA NOSTRA STAR MARIA GRAZIA CRUPI. SALUTI DA ME, MMM, MASSONE MONDIALE MAXIMO ANTONIO BINNI DI BOLOGNA. 3 BY MARIA GRAZIA CRUPI, NOW. EX AMANTE LESBICA DI MARINA BERLUSCONI E PER BEN 12 ANNI. https://yt3.ggpht.com/a-/ACSszfGYKnNA7XEP81l-T0eLaUTs8OwxdR6vxCtIFg=s900-mo-c-c0xffffffff-rj-k-no https://yt3.ggpht.com/a-/AJLlDp0JZgJt3slrUkUEWnWHjDcrVnCJYCft00OO8A=s900-mo-c-c0xffffffff-rj-k-no http://it.cultura.linguistica.italiano.narkive.com/jDPPWzSr/hi-babies-son-la-pornostar-insegnante-maria-grazia-crupi-facebook-maria-grazia-mari-crupi-maria:i.1.4.thumb http://it.cultura.linguistica.italiano.narkive.com/jDPPWzSr/hi-babies-son-la-pornostar-insegnante-maria-grazia-crupi-facebook-maria-grazia-mari-crupi-maria:i.1.3.thumb E' SEMPRE, SEMPRE E STRA SEMPRE SBORRATO NEL CULO: LUIGI BERLUSCONI! CON FIDANZATA UN ^MASSONE MAFIOSO^ CON LA BARBA https://www.tuttouomini.it/images/2017/7/luigi-berlusconi-bacio-gay-estate-amico.jpg E NON CON FIDANZATA, LA NOTA ZOCCOLA FEDERICA FUMAGALLI, DA ANNI SCOPATA DA TUTTI, IN MILLE CLUB PRIVE' DI INTERA FOGNA NAZISTA E MAFIOSA DI BERLUSCONIA. COME COSI', DI MONTECARLO, INGHILTERRA E SVIZZERA! DICEVO.. E' SEMPRE SBORRATO TUTTO DENTRO AL CULO: LUIGI BERLUSCONI! CON FIDANZATA UN ^MASSONE MAFIOSO^ CON LA BARBA https://www.tuttouomini.it/images/2017/7/luigi-berlusconi-bacio-gay-estate-amico.jpg ^MASSONE MAFIOSO^ DELLA MEGA ASSASSINA GRAN LOGGIA DEL DRAGO DEL DITTATORE FASCISTA, NDRANGHETISTA, CAMORRA, DI COSA NOSTRA, OLTRE CHE STRAGISTA SPAPPOLA MAGISTRATI, MANDANTE DI MIGLIAIA DI OMICIDI MASCHERATI DA FINTI SUICIDI, MALORI, INCIDENTI, NOTO PEDOFILO SILVIO BERLUSCONI!!! RICICLA VALANGHE DI SOLDI MAFIOSI IL RICCHIINE SEMPRE COL CULO PIENO DI SBORRA, IL DELINQUENTISSIMO RICICLA SOLDI MAFIOSI LUIGI BERLUSCONI DI CRIMINALISSIMA B CINQUE SRL. IL DELINQUENTISSIMO RICICLA SOLDI MAFIOSI LUIGI BERLUSCONI DI CRIMINALISSIMA MEDIASET ALIAS MAFIASET, CAMORRASET, NDRANGASET, NAZISTSET. IL DELINQUENTISSIMO RICICLA SOLDI MAFIOSI LUIGI BERLUSCONI DI CRIMINALISSIMA FININVEST ALIAS (MA)FI(A)NINVEST. IL DELINQUENTISSIMO RICICLA SOLDI MAFIOSI LUIGI DI CRIMINALISSIMA MOLMED. IL DELINQUENTISSIMO RICICLA SOLDI MAFIOSI LUIGI BERLUSCONI DI CRIMINALISSIMA HOLDING ITALIANA QUATTORDICESIMA SPA (GIA' CASSAFORTE MAFIOSISSIMA DI STEFANO BONTATE PRIMA E TOTO RIINA, POI...CASPITERINA CHE SOCI PER BENE, CASPITERINA, WAGLIO'). IL DELINQUENTISSIMO RICICLA SOLDI MAFIOSI LUIGI BERLUSCONI DI CRIMINALISSIMA H 14 ( SEMPRE GIA' CASSAFORTE MAFIOSA DI STEFANO BONTATE PRIMA E TOTO RIINA, POI...CASPITERINA CHE SOCI PER BENE, CASPITERINA, WAGLIO'). IL DELINQUENTISSIMO RICICLA SOLDI MAFIOSI LUIGI BERLUSCONI DI CRIMINALISSIMA SERI JAKAL GROUP. IL DELINQUENTISSIMO RICICLA SOLDI MAFIOSI LUIGI BERLUSCONI DI CRIMINALISSIMA ITHACA SRL. IL DELINQUENTISSIMO RICICLA SOLDI MAFIOSI LUIGI BERLUSCONI DI CRIMINALISSIMA DI U-START. IL DELINQUENTISSIMO RICICLA SOLDI MAFIOSI LUIGI BERLUSCONI DI CRIMINALISSIMA SOLDO LTD. IL DELINQUENTISSIMO RICICLA SOLDI MAFIOSI LUIGI BERLUSCONI DI CRIMINALISSIMA SOLDO FINANCIAL SERVICES. IL DELINQUENTISSIMO RICICLA SOLDI MAFIOSI LUIGI BERLUSCONI DI CRIMINALISSIMA MEDIOLANUM, MAFIOLANUM, CAMORRANUM, NDRANGOLANUM, RICICLANUMPERCOCALEROSCOLOMBIANUM, NAZISTANUM, HITLERANUM, PINOCHETTANUM. IL DELINQUENTISSIMO RICICLA SOLDI MAFIOSI LUIGI BERLUSCONI DI CRIMINALISSIMA XLAB. IL DELINQUENTISSIMO RICICLA SOLDI MAFIOSI LUIGI BERLUSCONI DI CRIMINALISSIMA HOLDING DI INVESTIMENTI B5. IL DELINQUENTISSIMO RICICLA SOLDI MAFIOSI LUIGI BERLUSCONI DI CRIMINALISSIMA ABOCA DI SAN SEPOLCRO. IL DELINQUENTISSIMO RICICLA SOLDI MAFIOSI LUIGI BERLUSCONI DI CRIMINALISSIMA PAYLEVEN. IL DELINQUENTISSIMO RICICLA SOLDI MAFIOSI LUIGI BERLUSCONI DI CRIMINALISSIMA ROCKET INTERNET. IL DELINQUENTISSIMO RICICLA SOLDI MAFIOSI LUIGI BERLUSCONI DI CRIMINALISSIMA ELIGOTECH AMSTERDAM. IL DELINQUENTISSIMO RICICLA SOLDI MAFIOSI LUIGI BERLUSCONI DI CRIMINALISSIMA CGNAL DEL TOPO DI FOGNA BERLUSCORROTTISSIMO MARCO CARRAI. IL DELINQUENTISSIMO RICICLA SOLDI MAFIOSI LUIGI BERLUSCONI DI CRIMINALISSIMA ALGEBRIS DEL FIGLIO DI PUTTANA, ANZI, FIGLIO DI PUTTA-NA-ZISTA MEGA RICICLA SOLDI MAFIOSI TANTO QUANTO: DAVIDE SERRA. |
Juha Nieminen <nospam@thanks.invalid>: Nov 11 12:39PM > FWIW, I wouldn't do it like that: it's cryptic, and I suspect it's > slow. Lookup tables made more sense in the 1990s, before CPUs became > much faster than RAM. Ok, show me a function that counts the number of 1-bits in a bit array (which is represented eg. by an array of unsigned ints) that does not use any lookup tables and is faster than a typical implementation that does. |
"Öö Tiib" <ootiib@hot.ee>: Nov 11 05:00AM -0800 On Sunday, 11 November 2018 14:39:37 UTC+2, Juha Nieminen wrote: > bit array (which is represented eg. by an array of unsigned ints) > that does not use any lookup tables and is faster than a typical > implementation that does. Perhaps usage of POPCNT of SSE4 is most efficient. I suspect __popcnt of Visual Studio and __builtin_popcount of gcc do that, but I've never needed to investigate it. |
Jorgen Grahn <grahn+nntp@snipabacken.se>: Nov 11 01:01PM On Sun, 2018-11-11, Juha Nieminen wrote: > bit array (which is represented eg. by an array of unsigned ints) > that does not use any lookup tables and is faster than a typical > implementation that does. I wrote /suspect/, i.e. I don't claim to know. Anyway, realistic benchmarks for cache-dependent code seem hard to produce. But surely you agree that lookup tables are less useful today than 30 years ago? FWIW, last time I implemented something like this, I used a lookup table for nybbles. Using 16 bytes twice seemed much less of a waste than using 256 bytes once, and that way readability didn't become an issue. /Jorgen -- // Jorgen Grahn <grahn@ Oo o. . . \X/ snipabacken.se> O o . |
scott@slp53.sl.home (Scott Lurndal): Nov 11 03:39PM >bit array (which is represented eg. by an array of unsigned ints) >that does not use any lookup tables and is faster than a typical >implementation that does. Any use of the 1-cycle population count instruction would beat any lookup table approach. gcc has __builtin_popcount(). size_t countbits(const unsigned int * vector, size_t num_elements) { size_t rval = 0ul; while (num_elements--) { rval += __builtin_popcount(*vector++); } return rval; } Even quicker if the vector consists of unsigned longs/long-longs. |
Melzzzzz <Melzzzzz@zzzzz.com>: Nov 11 05:15PM > Perhaps usage of POPCNT of SSE4 is most efficient. I suspect > __popcnt of Visual Studio and __builtin_popcount of gcc do that, > but I've never needed to investigate it. Yeah, if you schedule 3-4 instructions it is as fast as avx2 version... -- press any key to continue or any other to quit... |
Pavel <pauldontspamtolk@removeyourself.dontspam.yahoo>: Nov 10 09:07PM -0500 JiiPee wrote: > I can read you messages.. but is it possible to make a very simple, > couple of lines example code illustrating this issue (why Renderer would > be bad/worse)? I have never said it would be bad. All I am saying you might have to code that renderer class, logic to pass data to it and maybe to get some coordinates back out of it (to use in view event handlers) without a clear reward for writing it -- especially now that you say you are going to use CDocument/CView framework -- which means you won't be able to reuse that renderer with CDialog directly (i.e. without a CView as an intermediary). I don't think I can put it simpler than this. I apologize, but I will not write any code just to say something like "the issue with this code is that it is unnecessary". If you share your code with the renderer or part of it, I promise to point out the lines that would be unnecessary in my opinion in case you wrote your drawing code directly in OnDraw (although I am sure you can see it for yourself). To start with, this line of code of those few lines you shared in your original post: m_openGLRenderer.Render(pView); // or just openGLRenderer.Render(); as the renderer knows the window already can be ditched together with the renderer class declaration. This may not seem like much but a) you did not give me much to "work with"; and b) in the real program this line will be more complex as you need to pass in the data you want to draw and maybe get something back (am I repeating myself? not again.. :-)). |
JiiPee <no@notvalid.com>: Nov 11 11:31AM On 11/11/2018 02:07, Pavel wrote: > m_openGLRenderer.Render(pView); // or just openGLRenderer.Render(); > as the renderer knows the window already > can be ditched together with the renderer class declaration. "ditched": Do you mean that the OnDraw in view could be totally empty, and the Renderer gets the Windows draw message itself? This could be done in Views message map by saying there that the the draw message handler function is in Render class? Is this what you mean? |
JiiPee <no@notvalid.com>: Nov 11 11:39AM On 11/11/2018 02:07, Pavel wrote: > code that renderer class, logic to pass data to it and maybe to get some > coordinates back out of it (to use in view event handlers) without a > clear reward for writing it Do you mean that the Renderer is dependent on the View class? Renderer needs a pointer to view-object? "get some coordinates back out of it (to use in view event handlers)" Dont fully understand.. because for example using getters and setters is not dependent on the View. If we have getters and setters in Renderer Dialog could also use them. But obviously you mean something else... Or you are talking about some kind of feedback function which needs to pass data live to View as its doing calculations? |
"Chris M. Thomasson" <invalid_chris_thomasson@invalid.invalid>: Nov 10 03:26PM -0800 On 11/10/2018 8:38 AM, Mr Flibble wrote: >> in uniforms, something like iTime in ShaderToy.com? > Yes there are shader classes and such but they will probably go through > at least one more design/refactor iteration before release. No problem. > Currently > standard uniforms are the transformation matrix and projection matrix. Okay. I can work with that. Fwiw, going for MVP here via WebGL: http://funwithfractals.atspace.cc/ct_gfield_test/ct_3dgfield_anime_test (btw, does it run for you?) Also, you might want to think about adding a few more "standard" uniforms. Like a frame count, time, ect, for shaders to use to perform animations. Check this out: https://www.shadertoy.com/view/MdcyRs It has click-and-drag capability to dynamically introduce an attractor and move it around the screen, in real time. |
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to comp.lang.c+++unsubscribe@googlegroups.com. |
No comments:
Post a Comment