Commit History

Autor SHA1 Mensaxe Data
  Ivan Safrin d8d788f480 Added mesh viewer to IDE, added support for resource change events in ResourceManager, added tangents to the mesh file specification (ATTN: old mesh files will need to be re-exported), added support for tangent generation in polyimport, added global version string to PolyGlobals.h, fixed clear color setting in virtual scenes, made Label textures always be POT, added global IDE texture filtering options to the IDE preferences. %!s(int64=12) %!d(string=hai) anos
  mcc 9f06700ad9 Currently if you pass MaterialManager::createTextureFromFile an incorrect file path it returns the default texture, and if you pass it an empty string it special-case returns NULL. Other Polycode classes do not anticipate this inconsistency and can crash when this occurs. %!s(int64=12) %!d(string=hai) anos
  Ivan Safrin 2365cebc9b Fixed single line UITextInput crashing on mousewheel events, fixed normalized render targets not working properly %!s(int64=12) %!d(string=hai) anos
  Nur Monson 7130978066 Add the filename to some file loading error messages %!s(int64=12) %!d(string=hai) anos
  Ivan Safrin 394f41fca4 Finished the material editor in the IDE. Rewrote screen shader bindings. Fixed depth buffer FBOs and depth buffer binding. Screen shaders now require explicit 'color' and 'depth' rendertarget bindings to access the original scene/screen render. Added an optional precision parameter to String::NumberToString. Numberous resizing improvements to UI controls and IDE props. Added DefaultShaderNoTextureHDR shader to hdr pack. Added a default REMOVE_EVENT Event type. Added Vector2 shader prop. Removed deprecated saving/loading code from Scene. Numerous bugfixes in shader code. %!s(int64=12) %!d(string=hai) anos
  Ivan Safrin 1caf52677f Shader programs are now referenced by paths not names, will be loaded if not a current resource when loading shader, changed the default material files to reflect the new changes %!s(int64=12) %!d(string=hai) anos
  Ivan Safrin 4e0c221180 Added cubemap editor to IDE material editor, added LightCube shader to the default pack, fixed cubemap bindings in GLSL, changed the way cubemaps are save in the material file, added cubemap selector in the material editor %!s(int64=12) %!d(string=hai) anos
  Ivan Safrin bd00899428 Fixed new material system not setting ambient color properly, made Materials broadcast resource reload event on shader reload %!s(int64=12) %!d(string=hai) anos
  Ivan Safrin a8e81d54e6 Shaders no longer require unifroms to be declared in the material file and loaded directly from GLSL, fixed a crash in resource manager destructor, added additive blending operation for Color %!s(int64=12) %!d(string=hai) anos
  Ivan Safrin 039b341794 Added ability to create a shader programmatically from MaterialManager, made programs notify shader when they reload, made the YesNo and YesNoCancel popups have minimum width, added a shader icon to the asset browser %!s(int64=12) %!d(string=hai) anos
  cib decbf1e0ef Changed the Image::fill interface %!s(int64=12) %!d(string=hai) anos
  Ivan Safrin aca1fa37a4 Fixed resource paths not setting correctly for textures, added texture resource reload, made images in IDE editors reload on change. %!s(int64=12) %!d(string=hai) anos
  Ivan Safrin 403c82ffdb New material editor, started on shader editor (doesnt save yet), rewrote some internal shader stuff to be more streamlined, fixed Label not redrawing correctly after setting size or font, fix for paths with spaces in executeExternalCommand and IDE on Linux and Mac, made 2D template use an entity2d file, fixed new file and new project dialog buttons firing while invisible %!s(int64=12) %!d(string=hai) anos
  Ivan Safrin bb3204a27a Added clampDefault and mipmapsDefault settings to MaterialManager to set the texture clamping and mimap generation defaults %!s(int64=12) %!d(string=hai) anos
  mcc 4a881447e4 Prevent a potential crash when parsing a materials xml containing mistakes %!s(int64=13) %!d(string=hai) anos
  Ivan Safrin 6135171126 MAJOR MATERIAL SYSTEM CHANGES: Material properties now defined as shader parameters, shader parameters now created for all materials with default values, textures now must be referenced by full relative paths to resource directories, addArchive can now take folder as parameter. Object changes: string children now set as attributes instead of new nodes in XML. IDE: Basic Material file editor (will only edit/save materials for now) %!s(int64=13) %!d(string=hai) anos
  Ivan Safrin 5e356889d3 Merge pull request #123 from mcclure/xmlfix %!s(int64=13) %!d(string=hai) anos
  mcc 524720f71d Merge 7/29 mcclure shader fixes branch with Ivan Polycode %!s(int64=13) %!d(string=hai) anos
  mcc 759f0a54e5 TiXmlNode::ToElement() can return NULL, for example in the case of an XML c %!s(int64=13) %!d(string=hai) anos
  Ivan Safrin 95ef3cc459 Premultiplied alpha support %!s(int64=13) %!d(string=hai) anos
  mcc f9e5bf72fb Material manager 'reload programs' reloads programs (shaders) but not shaders (programs), meaning materials don't actually change after a reload. Fix that. Add a 'grab all resources of type' feature to ResourceManager to support this. %!s(int64=14) %!d(string=hai) anos
  Ivan Safrin 096ec070c0 Only use FP16 framebuffers if specified in material file %!s(int64=14) %!d(string=hai) anos
  Ivan Safrin 5639b9844c Small fix to last commit %!s(int64=14) %!d(string=hai) anos
  Ivan Safrin c2b21a5e41 Made mipmaps not generate for Screen mesh textures %!s(int64=14) %!d(string=hai) anos
  Ivan Safrin 1f89731a0a HDR and shader fixes, made SceneLabel subclass SceneMesh %!s(int64=14) %!d(string=hai) anos
  Ivan Safrin 04a22925fc Tangent generation and normal map shader support %!s(int64=14) %!d(string=hai) anos
  Ivan Safrin 971106bb55 Fixed texture destruction and render to texture %!s(int64=14) %!d(string=hai) anos
  Cameron Hart aa4e7b968e Huge tidy up of headers. Moved includes to .cpp files where possible to improve compile times and reduce circular dependencies. %!s(int64=14) %!d(string=hai) anos
  Cameron Hart d2fde9fc99 Converted string to store as UTF-8 since the majority of the time this is how it's used. Now strings can be passed as const reference parameters which greatly reduces the amount of string copying being performed. %!s(int64=14) %!d(string=hai) anos
  Ivan Safrin 19cd891d7c Rewrote default shaders, fixed light sorting code, fixed UV generation for cylinder, torus primitives, material properties in material files. %!s(int64=14) %!d(string=hai) anos