Giter VIP home page Giter VIP logo

ddsloader's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ddsloader's Issues

TR DDS Loader

Hi, I've implemented my DDS loader inside TextureReplacer now that I've seen how an image loader can be done, by your example.
https://github.com/ducakar/TextureReplacer/blob/master/TextureReplacer/DDS.cs

It can also load non-compressed DDS files and is better compliant to specifications on MSDN (e.g. it reads number of mipmaps only when image actually has them and doesn't assume it's zero otherwise). It's based on C++ code from my 3D engine: https://github.com/ducakar/openzone/blob/master/src/ozEngine/GL.cc

You can merge its code into your DDSLoader if you wish.

Make Apply() optional

I would like to reference this to load DDS textures in RSS, but when loading heightmaps or vertex color maps (which get used to construct MapSOs) I do not want to upload the texture to the GPU. Even when I do, sometimes I want to leave it readable (as does @rbray89 in EVE). Can the loader have cfg-file-specified overrides to make unreadable, and can the static loader method itself (which I will call from RSS) have an optional parameter to skip the Apply() step entirely?

Support 8bit uncompressed

For RealSolarSystem, I load a bunch of heightmaps. I would like to make all RSS textures dds format, but reading the source it looks like no uncompressed 8bpp formats are supported.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.