Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Promit

Member Since 29 Jul 2001
Offline Last Active Today, 09:53 AM

#5235611 Tiny Serialization Library

Posted by Promit on 18 June 2015 - 10:10 PM

 

I dunno, I'm skimming through your code and it seems like serializing objects in yours is a crapload of work and code to write, plus you have to maintain matching read/write functions. Is that an accurate assessment?

A crapload of work, is of course subjective; you definitely have to maintain read/write functions; though out of ordering and matching is up to you by design.

I'd argue that having to maintain a parsable 'def' file of sorts for protobuf or the like is roughly as bad; but I am looking at adding some options which can allow for a single 'serialize' function for 90% of use cases where you wont care about having deliberate control over reads.

 

Well, this is what I did. It's kinda hard coded to JSON but it could be patched up for multiple backends easily enough.




#5235530 What is the future of the Game Dev. industry?

Posted by Promit on 18 June 2015 - 11:13 AM

I'm interested in why you think games would run out of places to go after thirty years, when the film industry has been productive for over a century and the classic creative fields (literature, art, music) for ten times that or even longer.




#5235508 Tiny Serialization Library

Posted by Promit on 18 June 2015 - 09:51 AM

I dunno, I'm skimming through your code and it seems like serializing objects in yours is a crapload of work and code to write, plus you have to maintain matching read/write functions. Is that an accurate assessment?




#5235167 Uses of curves in graphics?

Posted by Promit on 16 June 2015 - 12:36 PM

Lighting response curves - http://graphicrants.blogspot.com/2013/08/specular-brdf-reference.html

http://blog.selfshadow.com/publications/s2013-shading-course/karis/s2013_pbs_epic_slides.pdf




#5235019 My .OBJ Model Loader doesn't seem to output the right scanned data of cub...

Posted by Promit on 16 June 2015 - 12:08 AM

Oh - you still need the v part in the string. Try: "v %f %f %f". 

Also, your array declaration is incorrect, it should be value[3] as you have three values. 




#5235015 My .OBJ Model Loader doesn't seem to output the right scanned data of cub...

Posted by Promit on 15 June 2015 - 11:00 PM

%d is integers, %f is floats. You probably just need "%f %f %f". Your values are also ints, which is obviously wrong.




#5234649 how much i can trust the shader compiler?

Posted by Promit on 13 June 2015 - 02:35 PM

Depends on the API and platform, which already means that in the general case: no, you cannot trust "the compiler". The worst of the compilers are the mobile GLSL compilers, which may fail to make even trivial optimizations properly. HLSL is tricky because it's an intermediate compiler to a problematic format that is then finally compiled by the NV, AMD, Intel drivers. Overall I'd say HLSL on NV is probably the most reliable of all the platforms, with HLSL/AMD close behind. It also appears that Apple/Metal is very strong, as it's essentially running the clang/llvm stack.

 

And yeah, sometimes it's bad.




#5234488 Making a tool for the engine

Posted by Promit on 12 June 2015 - 11:49 AM

That's a big topic, but I'm actually going to start by encouraging you to read the Bitsquid blog stuff. Of note is Our Tool Architecture.




#5233569 Game in pure C99

Posted by Promit on 08 June 2015 - 11:45 AM

Without static linking, you have to manually decode a bunch of COM interface details and build function pointer tables. Honestly if you want to do a pure dynamic loader, it will be much easier to use OpenGL, as it is a pure C API.


#5233346 MIT: Is it even remotely possible?

Posted by Promit on 07 June 2015 - 08:54 AM

There's minimal harm in applying, and nothing in particular that tells you yes or no until you try it. I certainly wouldn't plan around getting in, but meh? There are easily dozens of other great, world class computer science programs out there. MIT is a big name but that doesn't even mean they are a good fit for you.


#5232763 Water texturing of caustics effects

Posted by Promit on 04 June 2015 - 08:53 AM


I created actually a 3D texture that was used to achieve this effect (so with animation it was actually 4D texture), the performance was okay and I didn't care about the memory that much (I still had budget in memory).

An alternative way to pull it off would be to use mip maps with additional blur applied, and then apply a bias to the texture lod.




#5232225 What kind of infrastructure is found in game or software studio's

Posted by Promit on 01 June 2015 - 02:28 PM

Offhand... This is just the dev team, not operations.

Lots of back end servers. Source control requires big drive arrays and network bandwidth to handle all the requests. Build servers, the exact use of which depends on the studios. Code build, asset builds of all sorts, etc. Misc servers to run email (usually Exchange), do internal file sharing, provide other internally hosted services, etc. Often times there are internal tools that are built to use the internal server network. Tons of network infrastructure to keep these things humming along.

Lots of desktop computers, usually clones of two or three hardware specs. If you're working on a different platform, lots of dev kits. Typically some spare parts bins for misc needs.




#5231766 virtual pet game

Posted by Promit on 29 May 2015 - 05:34 PM

I would also decide whether you want to start with the visual piece (rendering a pet, having it do things, etc) or the gameplay piece (keeping it fed, watered, happy, etc). They're very different aspects to work on.




#5231381 What are your opinions on DX12/Vulkan/Mantle?

Posted by Promit on 27 May 2015 - 07:13 PM

Just for laughs...

 

uGgcRYG.jpg




#5231271 What are your opinions on DX12/Vulkan/Mantle?

Posted by Promit on 27 May 2015 - 10:51 AM

That's going to depend on the on-the-ground realities of driver and operating system support, when the dust finally settles. Remember, GL sounds like a great cross platform Direct3D killer on paper but doesn't live up to that in reality. We still don't know how Vulkan in real life will be. I expect that major engines, including DICE/Frostbite, will simply support both.






PARTNERS