Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 3 [4]

Author Topic: C++ Cube based 3D engine: I give up. Starting fresh.  (Read 8450 times)

Siquo

  • Bay Watcher
  • Procedurally generated
    • View Profile
Re: C++ Cube based 3D engine: I give up. Starting fresh.
« Reply #45 on: March 03, 2010, 04:01:17 am »

Also going to "steal" Outcasts Oranges'/Toady Ones design, having an uberworld that is generated first, from which smaller world-parts are generated. It's easier to do large terrain-features such as mountains, lakes and rivers with an uebermap.
Logged

This one thread is mine. MIIIIINE!!! And it will remain a happy, friendly, encouraging place, whether you lot like it or not. 
will rena,eme sique to sique sxds-- siquo if sucessufil
(cant spel siqou a. every speling looks wroing (hate this))

Outcast Orange

  • Bay Watcher
  • [SOMETIMES_SQUID]
    • View Profile
    • The Outcast Orange
Re: C++ Cube based 3D engine: I give up. Starting fresh.
« Reply #46 on: March 03, 2010, 09:09:13 am »

Not stealing.
Most complex world games start like that.

I'm also assuming you're using a tile-based system? O.o

It would be cool to have a project going,
 which was similar to mine, but not.

It might be beneficial for me to observe the methods of another.
Logged
[7:53:55 PM] Armok, why did you demand that I don't eat you?
[7:54:34 PM] [Armok]: woooooo

Burried Houses - Platform Explorer Demo H - Cloud Scream

Siquo

  • Bay Watcher
  • Procedurally generated
    • View Profile
Re: C++ Cube based 3D engine: I give up. Starting fresh.
« Reply #47 on: March 03, 2010, 09:16:47 am »

Tile-based as in Cube-based. Tile-based is 2D, such as Wurm, where complex terrainstructures and modifications are not possible.
Logged

This one thread is mine. MIIIIINE!!! And it will remain a happy, friendly, encouraging place, whether you lot like it or not. 
will rena,eme sique to sique sxds-- siquo if sucessufil
(cant spel siqou a. every speling looks wroing (hate this))

Siquo

  • Bay Watcher
  • Procedurally generated
    • View Profile
Re: C++ Cube based 3D engine: I give up. Starting fresh.
« Reply #48 on: March 03, 2010, 02:45:42 pm »

On the down side, it's not progressing much. On the upside, I now know a lot about mortgages that I never wanted to know in the first place, and that I don't make enough money to buy my house.
Logged

This one thread is mine. MIIIIINE!!! And it will remain a happy, friendly, encouraging place, whether you lot like it or not. 
will rena,eme sique to sique sxds-- siquo if sucessufil
(cant spel siqou a. every speling looks wroing (hate this))

Siquo

  • Bay Watcher
  • Procedurally generated
    • View Profile
Re: C++ Cube based 3D engine: I give up. Starting fresh.
« Reply #49 on: March 08, 2010, 05:04:56 am »

Ohh-kaayyy. When I include SDL.h, I get a segfault at runtime. When I don't, I don't.

But I really want SDL!

Okay... Compiling my own binaries now from SDL source, and try again...

WHY DOESN'T ANYTHING JUST *#&$^^% WORK?!?!? This is not programming, this is 99% just debugging sh*t.
Logged

This one thread is mine. MIIIIINE!!! And it will remain a happy, friendly, encouraging place, whether you lot like it or not. 
will rena,eme sique to sique sxds-- siquo if sucessufil
(cant spel siqou a. every speling looks wroing (hate this))

Outcast Orange

  • Bay Watcher
  • [SOMETIMES_SQUID]
    • View Profile
    • The Outcast Orange
Re: C++ Cube based 3D engine: I give up. Starting fresh.
« Reply #50 on: March 08, 2010, 09:01:05 am »

Sounds like programming to me. : \
Logged
[7:53:55 PM] Armok, why did you demand that I don't eat you?
[7:54:34 PM] [Armok]: woooooo

Burried Houses - Platform Explorer Demo H - Cloud Scream

timmeh

  • Bay Watcher
    • View Profile
    • My Portfolio
Re: C++ Cube based 3D engine: I give up. Starting fresh.
« Reply #51 on: March 08, 2010, 09:41:01 am »

I know I spend the majority of the time debugging any more too... I may have to look into changing this.

Logged
On the Wall is a Masterfully engraved carving of Urist McHardcastle and Goblins. Urist McHardcastle is surrounded by the Goblins. The Golbins are stamping on Urist McHardcastle. Urist McHardcaste is laughing at the Goblins. The carving related to the prolonged and bloody death of Urist McHardcastle in the Fall of 1659, the Winter of 1659, and the Spring of 1660. On the engraving is an image of Cheese.

Siquo

  • Bay Watcher
  • Procedurally generated
    • View Profile
Re: C++ Cube based 3D engine: I give up. Starting fresh.
« Reply #52 on: March 08, 2010, 10:14:22 am »

Well if it was debugging my own sh*t it would stink less.
Logged

This one thread is mine. MIIIIINE!!! And it will remain a happy, friendly, encouraging place, whether you lot like it or not. 
will rena,eme sique to sique sxds-- siquo if sucessufil
(cant spel siqou a. every speling looks wroing (hate this))

timmeh

  • Bay Watcher
    • View Profile
    • My Portfolio
Re: C++ Cube based 3D engine: I give up. Starting fresh.
« Reply #53 on: March 08, 2010, 05:32:15 pm »

A fair point.  Unfortunately, I don't have any experience with SDL, so I can't help much, sorry...
Logged
On the Wall is a Masterfully engraved carving of Urist McHardcastle and Goblins. Urist McHardcastle is surrounded by the Goblins. The Golbins are stamping on Urist McHardcastle. Urist McHardcaste is laughing at the Goblins. The carving related to the prolonged and bloody death of Urist McHardcastle in the Fall of 1659, the Winter of 1659, and the Spring of 1660. On the engraving is an image of Cheese.

eerr

  • Bay Watcher
    • View Profile
Re: C++ Cube based 3D engine: I give up. Starting fresh.
« Reply #54 on: March 11, 2010, 09:37:43 pm »

Two debugs:

A:Try turning off compiler optimization.(is a registry collision possible?)
B: Try a second Main that just loads the SDL to see what happens.

I mean seriously, theres only so many ways loading another library WITHOUT using it could cause a segfault. I think.
Logged

Siquo

  • Bay Watcher
  • Procedurally generated
    • View Profile
Re: C++ Cube based 3D engine: I give up. Starting fresh.
« Reply #55 on: March 12, 2010, 05:36:19 am »

Yeah, I could try that...

I recompiled SDL myself, to no avail. Perhaps try another version next.


This project was started because I had brain capacity to spare, since my projects at work were not so demanding. Since then I've been given more interesting projects, and have less brain to spare for this, so I haven't worked a lot on this project. I do have a new major structure in my head that should work, although simulating plate tectonics with morphing voxel structures is still hard.
Logged

This one thread is mine. MIIIIINE!!! And it will remain a happy, friendly, encouraging place, whether you lot like it or not. 
will rena,eme sique to sique sxds-- siquo if sucessufil
(cant spel siqou a. every speling looks wroing (hate this))

Siquo

  • Bay Watcher
  • Procedurally generated
    • View Profile
Re: C++ Cube based 3D engine: I give up. Starting fresh.
« Reply #56 on: March 29, 2010, 09:30:34 am »

Finally got the basis working again:

Compiled latest SDL 1.3 beta version
Latest GLEW stable version, statically linked

And I get up to GL Version 2.2 now, which is more than enough for now.

So yeah, I've got a black window opening without crashing, and I'm cheering.
Logged

This one thread is mine. MIIIIINE!!! And it will remain a happy, friendly, encouraging place, whether you lot like it or not. 
will rena,eme sique to sique sxds-- siquo if sucessufil
(cant spel siqou a. every speling looks wroing (hate this))
Pages: 1 2 3 [4]