Nebula3 render Application Wizard

Source: Internet
Author: User

The usage is the same as that of n3consoleappwizard.

1. fixed the problem that stdafx. h could not be found during the first compilation.

2. Locate the output directory under $ (n3sdk) test/Win32/, so that the program can automatically load system resources in export *. Zip.

3. The output file of debug version will be suffixed with _ d (because the output directory in 2 is changed to the same as release)

 

Note: The environment variable $ (n3sdk) has been changed to the SDK root directory, for example, "d:/nebula3 SDK (Apr 2009 )/"

 

Demo is a rectangle with changing colors over time

Here, a message is sent directly to register plugin. The test code is written in Plugin:
// Configure <br/>/** <br/> */<br/> bool <br/> testviewerapp: open () <br/>{< br/> n_assert (! This-> isopen (); <br/> If (viewerapplication: open ()) <br/>{< br/> // register render thread plugin <br/> registerrtplugin * MSG = registerrtplugin: Create (); <br/> MSG-> settype (& myrtplugin: rtti); </P> <p> This-> graphicsinterface-> send (MSG ); </P> <p> return true; <br/>}< br/> return false; <br/>}</P> <p> // signature <br/>/** <br/> */<br/> void <br/> testviewerapp :: close () <br/>{< br/> n_assert (this-> isopen ()); <br/> // unregister render thread plugin <br/> unregisterrtplugin * MSG = unregisterrtplugin: Create (); <br/> MSG-> settype (& myrtplugin :: rtti); </P> <p> This-> graphicsinterface-> send (MSG); </P> <p> viewerapplication: Close (); <br/>}< br/>

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.