Jump to content
  • Advertisement

akira32

Member
  • Content Count

    476
  • Joined

  • Last visited

Community Reputation

112 Neutral

About akira32

  • Rank
    Member

Personal Information

  • Interests
    Art
    Audio
    Business
    Design
    DevOps
    Education
    Production
    Programming
    QA
  1. Thanks! I had download and used winRAR to unzip.
  2. Could you give a website link for me to download again. Your links both are unvalidated. Thanks.
  3. Ripiz, I download both. Both cannot unzipped by 7-zip software. Could you rezip and reput again?
  4. Ripiz, the zip file is breaked. Cannot be unzip by 7zip
  5. Could somebody share it with me by skydrive?
  6. Where can I download the source code of the book "GPU Pro"? I cannot download it at the website http://www.akpeters.com/gpupro/.
  7. akira32

    git commit problem

    Sorry! I lose something. But after below processes, I still cannot see my index.php in https://strong-planet-2902.herokuapp.com. E: mp\heroku2>heroku login Enter your Heroku credentials. Email: [email="rikcuo.akira@gmail.com"]rikcuo.akira@gmail.com[/email] Password (typing will be hidden): Authentication successful. E: mp\heroku2>git clone [email="git@heroku.com:strong-planet-2902.git"]git@heroku.com:strong-planet-2902.git[/email] -o heroku Cloning into 'strong-planet-2902'... remote: Counting objects: 162, done. remote: Compressing objects: 100% (144/144), done. remote: Total 162 (delta 71), reused 0 (delta 0) Receiving objects: 100% (162/162), 123.89 KiB | 34 KiB/s, done. Resolving deltas: 100% (71/71), done. E: mp\heroku2\strong-planet-2902>git remote heroku modify the index.php E: mp\heroku2\strong-planet-2902>git commit -am "changed greeting" [master 072c608] changed greeting Committer: unknown <[email="akirachen@akirachen.(none"]akirachen@akirachen.(none[/email])> Your name and email address were configured automatically based on your username and hostname. Please check that they are accurate. You can suppress this message by setting them explicitly: git config --global user.name "Your Name" git config --global user.email [email="you@example.com"]you@example.com[/email] After doing this, you may fix the identity used for this commit with: git commit --amend --reset-author 1 files changed, 1 insertions(+), 1 deletions(-) E: mp\heroku2\strong-planet-2902>git push heroku master Counting objects: 5, done. Delta compression using up to 2 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 295 bytes, done. Total 3 (delta 2), reused 0 (delta 0) -----> Heroku receiving push -----> Ruby/Rack app detected -----> Installing dependencies using Bundler version 1.2.0.pre Running: bundle install --without development:test --path vendor/bundle - -binstubs bin/ --deployment Using addressable (2.2.7) Using crack (0.1.8) Using daemons (1.1.3) Using eventmachine (0.12.10) Using multipart-post (1.1.5) Using rack (1.3.2) Using faraday (0.7.6) Using httparty (0.7.8) Using json (1.5.4) Using multi_json (1.0.3) Using koala (1.3.0) Using tilt (1.3.3) Using sinatra (1.2.6) Using thin (1.2.11) Using bundler (1.2.0.pre) Your bundle is complete! It was installed into ./vendor/bundle Cleaning up the bundler cache. -----> Discovering process types Procfile declares types -> web Default types for Ruby/Rack -> console, rake -----> Compiled slug size is 8.8MB -----> Launching... done, v6 http://strong-planet-2902.herokuapp.com deployed to Heroku To [email="git@heroku.com:strong-planet-2902.git"]git@heroku.com:strong-planet-2902.git[/email] a23dc99..072c608 master -> master When I input the website https://strong-planet-2902.herokuapp.com/index.php in IE, it appears the error message "cannot find the website" even I login facebook. Does somebody know how to add a index.php to heroku and validate it?
  8. akira32

    git commit problem

    I run "git push heroku master". I do not see the file detail uploaded. Just see "Everything up-to-date".
  9. akira32

    git commit problem

    Thanks! I run "git add index.php" and "git push heroku master" and then open the website of "http://strong-planet....herokuapp.com/index.php". IE appears cannot find the website. Does somebody know how to solve this problem?
  10. akira32

    git commit problem

    I saw this website as below. https://devcenter.heroku.com/articles/facebook#create_an_app I follow the steps until input the command of "git commit -am "changed greeting"" When I input the command, it appears the message as below: E:\tmp\heroku\strong-planet-2902>git commit -am "changed greeting" # On branch master # Untracked files: # (use "git add <file>..." to include in what will be committed) # # index.php nothing added to commit but untracked files present (use "git add" to track) Does somebody know how to solve this problem?
  11. akira32

    [XNA] Lightmaps Implementation

    http://www.gamedev.net/page/resources/_/creative/visual-arts/how-to-render-light-maps-in-xna-r2721 [color="#284b72"]How To Render Light Maps in XNA [color="#284b72"]Please see the article.
  12. I render a elephant into a render target and then use the render target to draw a quad(full screen). But I can not use the quad in screen. I think that is rendering problem. I also put my complete source code at: https://skydrive.liv...AFtjlRG9yqoz7d4 My quad max file: https://skydrive.liv...AMf6yH0lBxeac9E My quad faces the position z axis and cullmode=none. In quad max file, the x is between -1 to +1, the y is between -1 to +1. I put my shader code as below for rendering a full-screen quad: Does somebody know how to solve this problem? 1 texture RenerTargetTexture 2 < 3 string ResourceName = "RT"; 4 string UIName = "RenerTargetTexture"; 5 string ResourceType = "Texture"; 6 >; 7 8 sampler2D RT = sampler_state 9 { 10 Texture = <RenerTargetTexture>; 11 MinFilter = LINEAR; 12 MagFilter = LINEAR; 13 MipFilter = LINEAR; 14 }; 15 16 struct VS_OUTPUT 17 { 18 float4 Pos : POSITION; 19 float2 TexCoord : TEXCOORD0; 20 }; 21 22 VS_OUTPUT vs_main( float4 inPos: POSITION, float2 inTexCoord: TEXCOORD0) 23 { 24 VS_OUTPUT Out=(VS_OUTPUT)0; 25 26 Out.Pos = float4(inPos.xy, 0.0, 1.0); 27 Out.TexCoord.x = 0.5 * (1 + inPos.x); 28 Out.TexCoord.y = 0.5 * (1 - inPos.y); 29 30 return Out; 31 } 32 33 float4 ps_main( VS_OUTPUT input ) : COLOR 34 { 35 float4 Color1 = tex2D(RT, input.TexCoord); 36 return Color1; 37 } 38 39 technique Technique1 40 { 41 pass Pass1 42 { 43 VertexShader = compile vs_2_0 vs_main(); 44 PixelShader = compile ps_2_0 ps_main(); 45 46 CullMode = none; 47 } 48 } 47 } 48 } In Draw function: 1 GraphicsDevice.SetRenderTarget(m_RenderTarget1); 2 3 GraphicsDevice.Clear(Color.Black); 4 m_ElephantModel.DrawWithEffect1(m_camera.view, m_camera.projection, m_effect_orginal_model); 5 GraphicsDevice.SetRenderTarget(null); 6 7 GraphicsDevice.Clear(Color.White); 8 m_QuadModel.DrawWithEffect2(null, m_effect_final_result); Even I change the shader code as below, I also cannot see any red pixel on the screen. 33 float4 ps_main( VS_OUTPUT input ) : COLOR 34 { 35 float4 Color1 = tex2D(RT, input.TexCoord); 36 return float4(1,0,0,1); 37 }
  13. Thanks. Another problem, how do I set the vertex limit to 4,294,967,296? Use which function?
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!