Algorithm for ASTC software texture compression/decompression [closed] - c

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Today OpenGL 4.3 and OpenGL ES 3.0 specifications have been unveiled and for texture compression they are gonna use the newly developed ASTC texture compression algorithm. I am interested if there exist any purely software implementations (best in C/C++) of the algorithm. There are some code snippets in here, but they cover only the random hash used at the core of the algorithm, the full article is not disclosed. I am basing one of my projects on the Squish project (DXT1 in software) and would be interested how much it would benefit from ASTC. Thanks in advance if you have any resources.

There is a codec for ASTC at this website (malideveloper.com).
Source code seem to be included as well.
Hope that helps.

Related

Programmatic SLI and CrossFireX Detection [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Using C how can I detect the currently installed discrete GPUs and if they are currently in CrossFireX or SLI. I am using windows 7 and openGL. I would like to discover this information so that in my game I can support Alternate Frame Rendering more efficiently.
You need to use specific extensions, for each vendor. For CrossFire, you would use WGL_AMD_gpu_association, and specifically wglGetGPUIDsAMD and wglGetGPUInfoAMD to get information about the different GPUs. For Nvidia SLI, you would use WGL_NV_gpu_affinity, and specifically wglEnumGpusNV and wglEnumGpuDevicesNV to get information about the different GPUs.
To actually utilize multi-gpu, you will also need to create your contexts with the functions within those two extensions as well.

Artificial Intelligence for a Chess game [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am new to Artificial programming and I was asked to make a program that stores the moves taken every time and so on. Can anyone of you can give me an idea just to how artificial works and how I should proceed?
Firstly you will have to take a look at languages you can use for AI, have a look at (this is if you want to go really advanced) https://en.wikipedia.org/wiki/List_of_programming_languages_for_artificial_intelligence
Then you can have a look at some tutorials to guide you:
http://www.gamedev.net/page/resources/_/technical/artificial-intelligence/chess-programming-part-i-getting-started-r1014
Note that this can get very complicated, depending on how advanced you want your AI to be. There are also a number of different algorithms that you can use.
This is quite a widely discussed subject, especially with the game of Chess. Google should have all the answers you are looking for.
Some links that you might find helpful:
http://www.aihorizon.com/essays/chessai/intro.htm
https://en.wikipedia.org/wiki/Artificial_intelligence
http://www.quora.com/What-is-the-best-way-to-learn-Artificial-Intelligence-for-a-beginner
http://compsci.ca/v3/viewtopic.php?t=14779
Beginning AI programming

Can a pdf splitter on appengine be built? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
Would it be technically possible to build a pdf splitter on appengine or is there some part of it that couldn't be done? I was thinking of a function where you just upload the pdf file, choose which pages you want and the output is e.g. one chapter from a book and this can be done online. I think it can be a good service but I don't know whether it is technically feasible or whether the best choice first this would be Java, Python, PHP or Go?
I cannot see why not. Splitting a PDF should be possible in all 4 languages so it's up to you what you pick. I know that Python performs faster than Java. PHP doesn't sound like a good fit for me and Go isn't that widely used.
I'd go with Python. There is also a Python library that allows you to split a PDF.

getting started with ARMCI [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I want to use ARMCI, I try to read its documentation,
what I understand is that ARMCI is not used by developers but by a library.
This means that there can be different implementation of ARMCI as MPI do.
Can some one please suggest me some of those implemeations.
In general, I am unable to get started with ARMCI (speaking of the coding),
any help will be appreciated.
You could use ARMCI directly, but it is a low-level interface. Global Arrays (GA) is probably the most popular library based on ARMCI. GA is used by NWChem, among others.
There are multiple implementations of ARMCI. The one from Pacific Northwest can be downloaded as part of the GA package. There is also an implementation of ARMCI in new versions of MPICH2 that works over MPI one-sided operations.

ffmpeg licensing is not clear [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 13 years ago.
Improve this question
its not directly programming question
but i need to implement ffmpeg functionality in my application that is commercial.
what is my restrictions when using this lib/app ?
i was confused from reading there web page .
"FFmpeg is free software and is licensed under the LGPL or GPL depending on your choice of configuration options." from the homepage.
The mini-FAQ at http://ffmpeg.org/legal.html should probably answer your questions. Do you have a specific part of it you don't understand?
http://ffmpeg.org/legal.html
That sums up all relevant information quite nicely.
I would say that if you want to incorporate FFmpeg into your commercial application, you should consult a lawyer who is familiar with the laws and regulations in your area and the area in which you wish to distribute your application.

Resources