Jump to content

  • Log In with Google      Sign In   
  • Create Account

Krohm

Member Since 27 Aug 2002
Offline Last Active Yesterday, 01:12 PM

Posts I've Made

In Topic: How much do/have you programmers look through open source code?

Yesterday, 01:56 AM

I had same Quake, QRadiant in the past. Did I learn from it? I cannot say - it is very difficult to understand how those affected me.

I recently wanted to reproduce a cryptocurrency miner, and I had to investigate the available implementations... I can tell for sure I have got nothing from those, they are just crappy.

 

Summing up, I'd say I look at open source very sparingly.


In Topic: Loading multiple 3D models in the VBO

20 October 2014 - 01:42 AM


How is loading multiple 3D models in the VBO?
I'm afraid your English is prone to misunderstanding. I assume you're asking about usefulness and performance.

 

Putting multiple models in the same VBO is debatably useful. If the models feature a different vertex layout, then it will become a debugging hell as debug tools typically consider each VBO as containing a single type of vertices.

 

Years ago, I used to slap everything in a single VBO. That usage originated from an old OpenGL extension ("NV_VAR") which were fairly slow to switch.

Modern VBOs are much, much faster. When I switched from "all in the same VBO" to the new approach, I observed no performance difference.

 

As such, optimize your life and time to finish: do whatever comes easier to you, explore the problem, learn and... maybe you won't need to fix anything and there's no punishment for coming back and iterate your code to meet new requirements.


In Topic: What Language Should I Learn?

20 October 2014 - 01:29 AM

I have been positively impressed by JavaScript. It is a very worthy complement to C++ and a very useful tool to write the utilities. With a modern browser and WebSockets, you can have a C++ server moving a HTML GUI and stick "cloud" in your resume. I think this hybrid has a lot of potential!

 

Now that I have JS however I've been asked to do Python.


In Topic: scan a string character one by one & hexadecimal code

16 October 2014 - 04:51 AM

I know nothing specific about Arabic BUT

I know it is a context-dependent "complex script".

 

Thereby, it goes through a whole thing called Unicode which considers clusters of characters (I think the Unicode standard calls them "runs"). Unfortunately this means splitting the clusters into pieces might not work as expected. Besides this (which is hopefully an ELI5 version of what Bregma wrote) I'm sorry I cannot help because I'd love to learn about this.


In Topic: Fusion Energy Source Advancement - News Today!

16 October 2014 - 01:50 AM

For some reasons I would be much more inclined to believe this if coming from another company. Perhaps I don't know Lockheed all that well.


PARTNERS