User Tag List

Page 3 of 3 FirstFirst 1 2 3
Results 21 to 29 of 29

Thread: LuaGL Bug Topic

  1. #21
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    1,812
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: LuaGL Bug Topic

    Code:
    /* Set viewport so it matches the size of our texture*/
    glViewport(0,0,1024,1024);  
    /* Target texture */
    glBindTexture(GL_TEXTURE_2D, tex);
    /* Copy screen to a 1024x1024 texture */
    glCopyTexImage2D(GL_TEXTURE_2D,0,GL_RGB,0,0,1024,1024,0);
    Link

    and that's it I think

  2. #22
    No Products Registered

    Join Date
    Aug 2006
    Posts
    984
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: LuaGL Bug Topic

    http://file.walagata.com/w/supermetalmario/XLua_-_Textured_quad_rtt.mfa

    this works for me

  3. #23
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    1,812
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: LuaGL Bug Topic

    Quote Originally Posted by xyzzy
    http://file.walagata.com/w/supermetalmario/XLua_-_Textured_quad_rtt.mfa

    this works for me
    Event 11: Attempt to call nil value

  4. #24
    No Products Registered

    Join Date
    Aug 2006
    Posts
    984
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: LuaGL Bug Topic

    that's probably being caused by the copyteximage2d function call

    either you don't have the new opengl.dll, it's loading an older version, or it can't find it

  5. #25
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    1,812
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: LuaGL Bug Topic

    Quote Originally Posted by xyzzy
    that's probably being caused by the copyteximage2d function call

    either you don't have the new opengl.dll, it's loading an older version, or it can't find it
    didn't move the mfa from temp

    i'll look into it later today, cheers for the example

  6. #26
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    1,812
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: LuaGL Bug Topic

    I seem to still get blank even though I am copying everything you do

    I guess my app is just haunted... I'll figure it out though :P thanks!

  7. #27
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Aug 2006
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: LuaGL Bug Topic

    I tested that example and i got the same, i tried linking with the latest dll also but it seemed to just show a black screen always.

  8. #28
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator ProPatch MakerUnicode Add-on

    Join Date
    Jun 2009
    Location
    Japan
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: LuaGL Bug Topic

    The screen became black when there was the FOG_COLOR code.
    Is it my code mistake? Or is it a bug?


    gl.Fog(gl.FOG_MODE, gl.LINEAR);
    gl.Fog(gl.FOG_COLOR, 0.5, 0.5, 0.5, 1.0);
    gl.Hint(gl.FOG_HINT, gl.DONT_CARE);
    gl.Fog(gl.FOG_START, 4.0);
    gl.Fog(gl.FOG_END, 5.0);

    gl.Enable(gl.FOG);

  9. #29
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator ProPatch MakerUnicode Add-on

    Join Date
    Jun 2009
    Location
    Japan
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: LuaGL Bug Topic

    sorry.I solved the problem

    fogColor= {0.5, 0.5, 0.5, 1.0}
    gl.Fog(gl.FOG_COLOR, fogColor)

Page 3 of 3 FirstFirst 1 2 3

Similar Threads

  1. LuaGL Release Thread
    By Retriever2 in forum Lua Scripting
    Replies: 16
    Last Post: 9th April 2010, 11:53 AM
  2. Away Topic
    By LIJI in forum Extension Developers Lobby
    Replies: 4
    Last Post: 26th November 2006, 09:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •