Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - BlakPilar

Pages: [1] 2 3 4
1
Gaming Discussion / 3D Game Tutorials
« on: June 10, 2012, 03:59:49 pm »
Now, I'm sure everyone is aware of the numerous game and rendering engines that exist today, such as OpenGL/OpenTK, Unity, CryEngine, XNA, LWJGL, and many others, but if you're like me, you've wanted to know all of what's going on behind the scenes. I was content to just use those third-party libraries, but my main curiosity was how everything was being done. I've finally found a tutorial that creates a 3D engine from scratch while explaining what's going on and why. Though it is completely software based (i.e. no hardware acceleration, and framerate will depend on processors), the creator, Yan Chernikov aka The Cherno, goes through every step and explains everything thoroughly. So far I'm on episode 21, but there are 33 total and the series is still in active development. If TheCerno sticks with what he's said in one of his videos, he will make a tutorial on how to use LWJGL or some other third-party game engine after this series is complete.

I've attached a picture of what my engine could render at the end of episode 20. If you're interested in following along, you can find the series here. As a note, you do need to know at least some Java before starting this tutorial, but in the first six or so episodes he does explain what certain things are and what they do (such as a brief explanation on bit-shifting, and other bit operators (& and |)).
EDIT: Also, as far as I can tell, this can be ported to .NET WinForms by using a Bitmap that's had its bits unlocked, and C++ using QuickGC.

2
The Axe Parser Project / Tangent?
« on: May 07, 2012, 08:02:03 pm »
Is there a way tangent could be implemented? I've tried sin/cos, but I always get something really small, usually 0, 1, or 2 (I think). I'm making a shooter that has angled bullets for shiggles because I have nothing to do in my pre-calc class now that it's AP season (my tests are towards the end), and right now I just use a sort of slope method, but I figured it might possibly be easier/better in some way to use an angle. Then again, I've been wrong before ^^

3
Site Feedback and Questions / Notification Emails Have No Link?
« on: May 06, 2012, 10:08:05 am »
I don't know if this is just for me, but in my notification emails now instead of a link to the post, it just says something like "/index.php?topic=..."

4
General Discussion / A new way to rickroll!
« on: April 25, 2012, 06:10:02 pm »
So I posted this I think yesterday morning or the day before from my phone, but methinks it got deleted in that crash thing. Anywho...

I knew it was only a matter of time before a band I knew did a cover of Rick Astley's good ol' "Never Gonne Give You Up," but I never thought that it would be so good (at least in my opinion ;)).

EDIT (and note): This is by a deathcore band, so... If you're completely against the genre, don't bother :P


5
The Axe Parser Project / Display one character of a string?
« on: March 30, 2012, 08:28:15 am »
I know that I can display every character after a certain position by doing something like Str1+N, but how can I only get the character at N?

6
Other / Help with a custom build?
« on: March 12, 2012, 07:55:52 pm »
So I was thinking about making my own build for a desktop. My only problem is I don't know which parts are good, which are bad, and which only work/don't work with which other parts. I talked to two of my friends who make their own computers, use them for a bit, then sell them and this is the part list we've come up with:

I know SSDs are faster than HDDs, but I don't really want one. So um, yeah... Will all of these parts work together, and would this make for a good/decent gaming computer?

7
Gaming Discussion / Halo 4 Spring ViDoc
« on: March 05, 2012, 07:07:55 pm »
Wow... Sorry if you don't like Halo, but hey, you've got to admit those graphics look amazing. Is anyone else as excited for this as I am? :D


8
Computer Programming / [C#] Scan-line flood-fill
« on: March 02, 2012, 08:38:50 pm »
A while ago on the IRC I asked about flood fill routines, and Runer was kind enough to point me to Lode's recursive scan-line routine. I converted it over to C# and tried to get it to work, but I haven't had any success. Note: I only use two colors- black and white.

Here's the PasteBin: http://pastebin.com/WQNjXm4x

Whenever I flood-fill in an empty region it works fine, but once it reaches some other area, it stops. And when I fill inside of a region, it only "floods" down from where I click (see attachment).

Anyone have an idea?

9
Computer Usage and Setup Help / Computer loads, then goes black?
« on: February 26, 2012, 04:42:26 pm »
My parents' old computer got pretty old, and the power supply went bad so we got them a new computer. It's an HP Pavillion Slimline with Windows 7 64-bit. They were using it with no problems for a while, then one day it wouldn't load correctly. It started up normally and loaded the profile and everything, but right when the desktop was supposed to load the screen went black and nothing happened at all. Ctrl+Alt+Del was also unresponsive. You could, however, still see the mouse and move it around. We took it down to Staples and the people there weren't much help. The only other thing I could think of was to completely reset the computer to factory settings. I did that after I transferred all necessary files to my USB drive in Safe Mode (which oddly enough worked), and the computer worked.

However, this same situation is happening again. This is complete crap. I am not going to reset the computer again because this shouldn't be happening. Can anyone think of what would be happening? If there's no direct reason, I'm just going to have them take the computer back.

P.S. - My mom has a habit of leaving their computer on over-night; could that be it (something to do with the power supply again)?

10
The Axe Parser Project / Calculate FPS?
« on: February 12, 2012, 02:23:34 pm »
I was just wondering how, if at all, one could calculate the frames per second of an Axe program. I have an engine I'm writing in my spare time and I thought it'd be useful to see how many FPS it gets to compare my attempts at optimization as I work on it.

11
Axe / Scrolling problem; please help!
« on: February 08, 2012, 04:56:59 pm »
So I've been working on a (non-smooth-)scrolling engine in my spare time at school and it mostly works the way I want it to so far. When you move in any direction and you're not on the edge of the map, it shows the next block, like in the screenshot (I haven't implemented collision yet). However, as you can tell, it works in every direction but up! D: I haven't gone through and optimized yet, but I'm going to provide the code for the moving bit. I honestly can't tell why it's not working because the code for each conditional is exactly the same. Please help!

Spoiler For moving code:
X and Y are the person's coordinates on-screen, and Z and [theta] are the coordinates of the top-left corner of where I'm displaying the map from.

..MOVING
If getKey(2)
 If X>1
  X--
 Else
  If Z>0
   Z--
  Else
   X-(X!=0)->X
  End
 End
ElseIf getKey(3)
 If X<10
  X++
 Else
  If Z<(W-12
   Z++
  Else
   X+(X!=11)->X
  End
 End
ElseIf getKey(1)
 If Y<6
  Y++
 Else
  If [theta]<(H-8
   [theta]++
  Else
   Y+(Y!=7)->Y
  End
 End
ElseIf getKey(4)
 If Y>0
  Y--
 Else
  If [theta]>0
   [theta]--
  Else
   Y-(Y!=0)->Y
  End
 End
End

EDIT: If need-be, I can provide all of my code. It really has nothing special to it at the moment.

12
Art / [REQUEST] Color sprite(s) needed
« on: January 21, 2012, 06:04:04 pm »
I figured I'd try my hand at making some kind of 2D game for the computer, but my only problem is I have absolutely no skill in graphics whatsoever! :-X My request is that somebody make me a medieval soldier that is either 16x16, 24x24, or 32x32. It can be in full color, and I would actually prefer it be that way. I would also prefer the sprite to be 24x24, but the size can be any of the three aforementioned. Also, please only make the soldier. No weapons, shields, what have you. You can, if you want, have him have a cape or cloak. I would also need a front, left, right, and back view of the solder.

Thanks in advance ;D

13
Web Programming and Design / ASP.NET Textbox help
« on: January 07, 2012, 03:24:33 pm »
So I've been fooling around with ASP.NET and I have what would seem to work, but it doesn't... I was just wondering if anyone who knew ASP.NET could help.

Spoiler For Site.master:
<body>
    <form runat="server">
        <div class="main">
            <asp:ContentPlaceHolder ID="MainContent" runat="server"/>

            <asp:TextBox runat="server" ID="txt" />
            <asp:Label runat="server" ID="lbl" />

        </div>
        <div class="clear">
        </div>
    <div class="footer">
       
    </div>
    </form>
</body>

Spoiler For Site.master.cs:
public partial class SiteMaster : System.Web.UI.MasterPage {

    protected void Page_Load(object sender, EventArgs e) {
        txt.AutoPostBack = true;
        txt.TextChanged += new EventHandler(textChanged);
    }

    public void textChanged(object sender, EventArgs e) {
        lbl.Text = Server.HtmlEncode(txt.Text);
    }
}

EDIT: I've modified the source. It works only when the textbox loses focus, though. Also, if there are any HTML-specific characters (such as '>' and '<') there's an error thrown. I thought Server.HtmlEncode() was supposed to take care of that?

14
Computer Programming / 8XI File Format
« on: December 30, 2011, 10:08:56 pm »
Does this seem about right to anyone who happens to know it? It seems right to me from creating pictures on Wabbit and comparing bytes.

Sizes:
     Offset    Length  Description
Packet
| Header
| |   0         11     Standard .8x* header ("**TI83F*" + 1A, 0A, 00)
| |   11        42     Comment (null terminated)
| |   53        2      Data length
| End Header
| Data
| |   55        2      Some kind of header length? (Favor $0D)
| |   57        n      Some kind of header*
| |   57+n      2      Always 758 ($02F6)
| |   59+n      2      Always 756 ($02F4)
| |   61+n      756    Picture data (1 bit per pixel, L=>R, T=>B)
| End Data
|     817+n     2      Checksum
End Packet

* Appears to follow this pattern:
   F6 02 07 60 ## 00 ...
   Where ## is the picture number - 1 as $00 - $FE (possibly FF?)
   and ... is null termination to fill the length specified before

EDIT: Nevermind. Apparently it is ^^

15
Miscellaneous / Anyone play airsoft?
« on: December 18, 2011, 08:14:01 pm »
I'm just curious to see if anyone does :)

If you do (or don't) I have two guns. An MP5 (top) and a Remington TAC1 (bottom).


Pages: [1] 2 3 4