Windows Phone 7 Development log (first test 2, shader)

Source: Internet
Author: User

In-depth Development.

The most difficult way to achieve

1. Runtime generates shader and writes it to the FX file.

2. Call fxc to compile it into fxo

3. InProgramLoad fxo to generate Effect

Success on PC is the basis of shadertree.

Switched to Windows phone7 for a test. The problem is followed by a string.

First, I/O interfaces are inconsistent. Then, Windows phone7 content cannot be used to test HLSL.

Finally, use titlecontainer. openstream to read the fxo file. The effect prompts that the file cannot be created.

Failed.

After checking the Internet, Windows phone7 does not support custom shader.

The only information is we will do a few things and do them very, very well; we are better off not having a capability than doing it poorly. There are always future versions.

Fortunately, this function is only available in the CTP version. There is still hope for this function in the RC version.

The vectextexture terrain is also required, which cannot be executed on Windows Phone 7.

Depressed, I quickly made a small example of these two parts, so I stopped first. XNa programs that can only run on PCs have no value.

We have native DX on PC.

Looking forward to RC, cursing Microsoft, which is appetizing. At this time, the DOTNET framework was once again mentioned by Microsoft.

Whether Windows Phone 7 will become Windows Vista or Windows 7, you will be able to see the clues when RC is reached.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.