Planet terrain rendering engine

asimo321

Newcomer
planet1.jpg

planet2.jpg

planet3.jpg

planet4.jpg

planet5.jpg


I'am working on terrain engines. This is an attempt to such a planet terrain engine. It uses openGl 2.0 for rendering (fragment shaders). It uses an adaptive triangle mesh and generates the texture detail real time. The planet is pretty big, it takes about 7 weeks to walk around at car speed.

Tell me what u think of it.

www.xwaytoonsoft.com
 
It crashes when loading is finished in my computer.
Ati Mobility Radeon X300
Intel Pentium M 760

Wow, I didn't know it was so old.
Sorry about bumping this thread, but in case asimo321 reads this, here is my trace

////////////////////////////////////////////////////////////
// Sound devices
////////////////////////////////////////////////////////////

1 = Primary Sound Driver
2 = Conexant AMC Audio

////////////////////////////////////////////////////////////
// Setup
////////////////////////////////////////////////////////////

display.width = 800
display.height = 600
display.color_depth = 32
display.z_buffer_depth = 24
display.vsync = auto
display.change = true

window.width = 1024
window.height = 768
window.x = 0
window.y = 0
window.fullscreen = true
window.borders = false
window.on_top = false
window.center = true

sound.enable = true
sound.dev = 0
sound.channels = 2

application.fps = 40.00
application.show_fps = false


////////////////////////////////////////////////////////////
// Sound: 0
////////////////////////////////////////////////////////////

Channel[ 1] = SPEAKER_FRONT_LEFT
Channel[ 2] = SPEAKER_FRONT_RIGHT


ERROR: Code failed in file 'D:\Prive\XEos2\C++\lib\modules\gl\program\gl_program.cpp', line 100: Error
 
Last edited by a moderator:
Program error

I've only tested the engine on NVidia cards. It is very possible some other (older) cards, have other views on how the OpenGl 2.0 spec's should be interpreted and therefore do not work with my shader programs.

My advice is install the latest drivers and try again. In the next release of the planet engine I will have better error tracing so I can see in more depth what is going wrong.
 
Well, that's good to hear.
I'll try to install the latest drivers when I arrive home (I'm now at work) but what I don't understand is what causes this error:

ERROR: Code failed in file 'D:\Prive\XEos2\C++\lib\modules\gl\program\gl_prog ram.cpp', line 100: Error

There is not any directory called Prive on my D disk and I don't know why it's looking for a file called gl_program.cpp when it doesn't even exist. Is there some kind of path written in the source or it is looking for something?
 
Ok I see

The line references a piece of source code. This info is only useful for me to see why and where the error took place. In this case the file gl_program.cpp line 100 contains something like assert(result == ok). So the fact that the file does not exist is nothing to worry about.
 
Back
Top