Page 10 of 19 FirstFirst ... 8 9 10 11 12 ... LastLast
Results 91 to 100 of 184

Thread: I bring thee not simple rearrangements, but a whole new world of possibilities,,,

  1. #91
    Next time, we eat Rudolph ThePlague's Avatar
    Join Date
    Dec 2007
    Location
    Arizona
    Posts
    3,024

    Re: I bring thee not simple rearrangements, but a whole new world of possibilities,,,

    I'd hit it.
    Reply With Quote

  2. #92

    Re: I bring thee not simple rearrangements, but a whole new world of possibilities,,,

    And now I have a framebuffer in place to render first person models. And thank god for once the GLSL code was simple. Coming to a total of 3 lines.
    Code:
    vec4 fp = texture2D(fp, texCoord);
     vec4 world = texture2D(world, texCoord);
     gl_FragColor = ((1 - fp.a) * world) + (fp.a * fp);
    My original architecture related to the player and hud also worked without many changes. It's nice when stub code you wrote ages ago works exactly as it should when you hook that shit up to the renderer.

    That's it for tonight. I"m pooped.
    Tommarow, fix that horrific bug I found in BSP and then begin work on the UI framebuffer and the 12DUI library. And if there is time add the scalar functions to shader so that we can have nice things like ammo counters on guns.
    Reply With Quote

  3. #93

    Re: I bring thee not simple rearrangements, but a whole new world of possibilities,,,

    Scalar functions in shaders now supported. I hardcoded it to 4 float variables (scalarA, scalarB, scalarC, scalarD) but this can be expanded later if I feel like it. Basically you can write in your shader like:
    diffuse=tex<0,1,1,0,0,0,0,rgb> * scalarA
    or
    diffuse=tex<0,1,1,0,0,0,scalarA,rgb>

    And then you can create an object like a weapon or vehicle that uses that shader and you can set scalarA during each draw.
    So you can use scalarA to turn on and off the lights on a warthog or to animate the tires to spin when it's moving.

    Halo had a similar system but it was more restricted.

    Also, I'm about to tear TWL out of the engine and start writing my own library to replace it. Making a bak of everything and crossing my fingers.
    Last edited by Not Inferno; May 31st, 2013 at 02:21 AM.
    Reply With Quote

  4. #94

    Re: I bring thee not simple rearrangements, but a whole new world of possibilities,,,

    Welp I'm done for the night. Major changes include:
    TWL has been completely removed from the engine.
    Input has been completely rewritten and is set up in a much more "uniform" way. Improved overall.
    Keybinds are now very easy to rearrange.
    The ground work for 12DUI is in place and is the next thing I'll be working on.
    Reply With Quote

  5. #95
    a bit of the old in-out Roostervier's Avatar
    Join Date
    Jan 2007
    Posts
    3,379

    Re: I bring thee not simple rearrangements, but a whole new world of possibilities,,,

    Quote Originally Posted by Not Inferno View Post
    Also, is it safe to lightly drink alchol 12 hours after taking 10mg adderol? I'm doing it anyways but I hope that's enough time.
    I used to take 80mg adderall and drink like an alcoholic (mostly because the adderall). The only thing that makes it dangerous is the fact that because it's a stimulant, you may not feel as drunk as you really are and therefore have the propensity to get alcohol poisoning, or if you take higher doses of it at the same time (without a tolerance) you could possibly suffer a heart attack. You'll be fine.
    Reply With Quote

  6. #96

    Re: I bring thee not simple rearrangements, but a whole new world of possibilities,,,

    Quote Originally Posted by Not Inferno View Post
    Welp I'm done for the night. Major changes include:
    TWL has been completely removed from the engine.
    Input has been completely rewritten and is set up in a much more "uniform" way. Improved overall.
    Keybinds are now very easy to rearrange.
    The ground work for 12DUI is in place and is the next thing I'll be working on.
    Where's my HDR IBL
    Reply With Quote

  7. #97

    Re: I bring thee not simple rearrangements, but a whole new world of possibilities,,,

    Quote Originally Posted by PenGuin1362 View Post
    Where's my HDR IBL
    Lighting is finally how I want it and I'm not rewriting it.

    I can of course do HDR through the post processing I assume.

    Also, (completely relevant I swear) been working real hard today on this:
    NEED A DISPENSER HERE
    Last edited by Not Inferno; May 31st, 2013 at 11:57 PM.
    Reply With Quote

  8. #98

    Re: I bring thee not simple rearrangements, but a whole new world of possibilities,,,

    So the implementation of UI is done. I need to flesh out the features some more and integrate into the player controller but it is working now.
    I recreated the halo health and shield bar using my amazing artistic skills.
    I used these 3 absolute master piece drawings:
    Click image for larger version. 

Name:	shieldbaroutline.png 
Views:	34 
Size:	3.5 KB 
ID:	3214
    Click image for larger version. 

Name:	shieldbarfill.png 
Views:	35 
Size:	3.0 KB 
ID:	3213
    Click image for larger version. 

Name:	healthbarfill.png 
Views:	38 
Size:	2.9 KB 
ID:	3215

    And made this basic test hud. I put up 3 screenshots showing the color change and bar fill and empty.



    I'm tired as balls at this point. Won't be doing any more work for the next 2 days because of life stuff but I feel that a lot of progress has gone through this week.
    Last edited by Not Inferno; June 1st, 2013 at 08:59 AM.
    Reply With Quote

  9. #99

    Re: I bring thee not simple rearrangements, but a whole new world of possibilities,,,

    Looks like you are using the fixed pipeline still, just a heads up if you didn't already know, it's been removed since opengl 3.1+/ES 2.0+ if you ever plan to use those features or go mobile.
    Reply With Quote

  10. #100
    Venez voir maman. Tnnaas's Avatar
    Join Date
    Mar 2011
    Location
    US Central
    Posts
    252

    Re: I bring thee not simple rearrangements, but a whole new world of possibilities,,,

    That health bar is cool an all, but isn't it supposed to be on the right side of the screen?
    Reply With Quote

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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