Author Topic: nGL - a fast (enough) 3D engine for the nspire  (Read 265421 times)

0 Members and 2 Guests are viewing this topic.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #195 on: April 22, 2014, 04:35:04 pm »
I think it will make the game lag a lot. A full Minecraft clone for the Nspire would be pretty hard actually. :/

Offline GinDiamond

  • LV3 Member (Next: 100)
  • ***
  • Posts: 71
  • Rating: +2/-2
  • I dont always fail at life, but when I do, I dont
    • View Profile
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #196 on: April 22, 2014, 04:57:26 pm »
Very true. But imagine how cool that would be!

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #197 on: April 22, 2014, 05:14:32 pm »
Mobs shouldn't be a problem speed-wise, but the game is not ready for them yet. (Crafting is very unlikely to happen, even if it's in the name - "crafti")
I actually thought of including a bunny that lays eggs in crafti v0.8 as it's easter, but I didn't have the time left.
I'm currently working on caves, fixing the v0.8 bugs and a lot of internal restructuring and refactoring.

Offline GinDiamond

  • LV3 Member (Next: 100)
  • ***
  • Posts: 71
  • Rating: +2/-2
  • I dont always fail at life, but when I do, I dont
    • View Profile
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #198 on: April 22, 2014, 05:20:10 pm »
Also for the bugs, is it just me or do textures right up against the player seem really weird, especially underground?

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #199 on: April 22, 2014, 05:20:27 pm »
Wait, mobs are possible ? O.O
Why no crafting though ? Maybe it could be implemented similar to what Jens K did with MC2D ?

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #200 on: April 22, 2014, 05:24:44 pm »
Quote
Also for the bugs, is it just me or do textures right up against the player seem really weird, especially underground?
Jup, for speed purposes I ignore the depth for texture mapping.

Quote
Wait, mobs are possible ?
Compared to the rest they consist of a fairly small amount of triangles!

Quote
Why no crafting though ? Maybe it could be implemented similar to what Jens K did with MC2D ?
Crafting means recipes, items, more GUIs, a cursor etc.
And a button "craft 10 planks from this wood" is just like no crafting at all.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #201 on: April 22, 2014, 05:27:13 pm »
Well I was more thinking about the AI behind the mobs. It should be decent to be interesting.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #202 on: April 22, 2014, 06:01:47 pm »
I wouldn't call the AI of pigs in minecraft complicated. Sometimes they just stay at the same place, they rarely walk around.
If they want to, they jump a few times into the air, and that's it. Even water is more complicated :)

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #203 on: April 22, 2014, 07:32:54 pm »
LOL indeed but there is pathfinding for mobs that are supposed to follow you and it works pretty well.

Offline XiiDraco

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 513
  • Rating: +32/-5
  • Forget the numbers, just call me, Recreation.
    • View Profile
    • Black-Lark Games
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #204 on: April 23, 2014, 01:09:10 am »
Don't even get me started about the path finding for most games. It is insanely easy (and fun!) to do.

Mine craft uses a hybrid version of A* for 3D planes to do the following.

The method is based off of a node grid and a cost at the expense of each node. The more nodes used the shorter the distance. When path finding you run an algorithm that checks nearby nodes and gets the cost values of the paths of a couple of the most logical paths, it then chooses the one with the shortest cost and follows it.


http://www.policyalmanac.org/games/aStarTutorial.htm

Offline GinDiamond

  • LV3 Member (Next: 100)
  • ***
  • Posts: 71
  • Rating: +2/-2
  • I dont always fail at life, but when I do, I dont
    • View Profile
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #205 on: April 24, 2014, 12:21:43 pm »
All I can say is that this project is really good so far!

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #206 on: April 25, 2014, 12:49:56 pm »
I added a poll above. I'm currently fixing some bugs and school starts monday again here in germany, so it'll take a while.
« Last Edit: April 26, 2014, 07:38:15 am by Vogtinator »

Offline CalebHansberry

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 135
  • Rating: +14/-0
  • This is my personal text
    • View Profile
    • Skylites Computers
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #207 on: April 26, 2014, 08:01:46 pm »
Ugh, I dislike it when I vote, then see the results and I'm the only one who voted that.
You should know, I am a Christian.

Offline ordelore

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 168
  • Rating: +7/-0
  • Genius and Friend
    • View Profile
    • ordelore8x
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #208 on: April 26, 2014, 09:28:47 pm »
Ugh, I dislike it when I vote, then see the results and I'm the only one who voted that.
Same, I voted for ********.
I am a friend.
I mine Bitcoins.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: nGL - a fast (enough) 3D engine for the nspire
« Reply #209 on: April 27, 2014, 04:21:02 am »
Lol, same for me, I am the only one to think that the inventory is what should be added first.
We are not voting for the president so I tell everyone what I voted for and why.

I voted for the inventory because I thought it would not take ages to code (unlike mobs, water and lava or redstone) and would improve gaming experience a lot. Of course mobs, water and lava or redstone are more important features, but I didn't want mobs before being able to quickly build a house with the help of the inventory to protect myself, and the same applies for redstone, I would not want to build a circuit without a convenient menu to choose what to place, and I thought that a "little" update with the inventory was possible before the huge update with mobs, water and lava or redstone.
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s