Solid Textures and Liquids
Moderator: InsideQC Admins
18 posts
• Page 1 of 2 • 1, 2
Solid Textures and Liquids
Solved.
Last edited by Team Xlink on Tue Nov 17, 2009 2:19 am, edited 1 time in total.
- Team Xlink
- Posts: 368
- Joined: Thu Jun 25, 2009 4:45 am
- Location: Michigan
I don't think anyone knows what you're talking about?
Do you mean to have simple untextured colored walls, or something altogether different?
Assuming you're working with the PSP, you can color the vertexes and check against a cvar
Where it says that right before you render world textures, do something like
I'd hardly call it blisteringly difficult :O
Then you could assign each texture name a different solid color when the map is loaded, so you don't have to see either all single-colored polygons or flashing colors.
Do you mean to have simple untextured colored walls, or something altogether different?
Assuming you're working with the PSP, you can color the vertexes and check against a cvar
- Code: Select all
sceGuEnable(GU_TEXTURE_2D);
Where it says that right before you render world textures, do something like
- Code: Select all
if (cl_textures_enabled) {
sceGuEnable(GU_TEXTURE_2D);
} else {
sceGuDisable(GU_TEXTURE_2D);
}
I'd hardly call it blisteringly difficult :O
Then you could assign each texture name a different solid color when the map is loaded, so you don't have to see either all single-colored polygons or flashing colors.
-

Downsider - Posts: 621
- Joined: Tue Sep 16, 2008 1:35 am
r_picmip 10
Benjamin Darling
http://www.bendarling.net/
Reflex - In development competitive arena fps combining modern tech with the speed, precision and freedom of 90's shooters.
http://www.reflexfps.net/
http://www.bendarling.net/
Reflex - In development competitive arena fps combining modern tech with the speed, precision and freedom of 90's shooters.
http://www.reflexfps.net/
- Electro
- Posts: 312
- Joined: Wed Dec 29, 2004 11:25 pm
- Location: Brisbane, Australia
in DrawGLPoly in gl_surf.c,
change, or add a cvar to toggle..,
with
change, or add a cvar to toggle..,
- Code: Select all
glTexCoord2f (v[3], v[4]);
with
- Code: Select all
glTexCoord2f (0, 0);
- r00k
- Posts: 1110
- Joined: Sat Nov 13, 2004 10:39 pm
OK.
I think you might be in a little over your head here. You've asked a lot of questions lately, some of them have been basic stuff and some have been major overhauls of the engine. I'm starting to think that you want to jump ahead to some advanced stuff when you don't seem to have the basic knowledge down yet.
My advice is to sit down with a blank file/empty project/whatever, get a good basic OpenGL tutorial (there are plenty on the web) and work with that. Get a triangle on the screen, texture it, light it, make it spin. Play with the various parameters and see what the effect is, then understand why that happened.
Then take a basic Quake build on Windows or Linux and make small modifications. Fix up some texturing bugs if that's your thing, or change the physics, sound or other code. Build up from there. 3D and game engine programming can be both incredibly easy and incredibly hard, and if you let the incredibly easy bits lure you in too far, you'll end up badly bitten when you come to the incredibly hard ones.
It's great to see the ambition coming out, but if you try to run before you can walk you'll end up with a release that's fairly badly botched and will probably need rewriting in 6 months time when you understand things better. Take it from someone who's been there - it's a humbling experience to be making all of your early mistakes in public.
All meant well.
I think you might be in a little over your head here. You've asked a lot of questions lately, some of them have been basic stuff and some have been major overhauls of the engine. I'm starting to think that you want to jump ahead to some advanced stuff when you don't seem to have the basic knowledge down yet.
My advice is to sit down with a blank file/empty project/whatever, get a good basic OpenGL tutorial (there are plenty on the web) and work with that. Get a triangle on the screen, texture it, light it, make it spin. Play with the various parameters and see what the effect is, then understand why that happened.
Then take a basic Quake build on Windows or Linux and make small modifications. Fix up some texturing bugs if that's your thing, or change the physics, sound or other code. Build up from there. 3D and game engine programming can be both incredibly easy and incredibly hard, and if you let the incredibly easy bits lure you in too far, you'll end up badly bitten when you come to the incredibly hard ones.
It's great to see the ambition coming out, but if you try to run before you can walk you'll end up with a release that's fairly badly botched and will probably need rewriting in 6 months time when you understand things better. Take it from someone who's been there - it's a humbling experience to be making all of your early mistakes in public.
All meant well.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
We knew the words, we knew the score, we knew what we were fighting for
-

mh - Posts: 2292
- Joined: Sat Jan 12, 2008 1:38 am
Thank you.
I found out what I was doing wrong.
It turns out the way I setup, I had made a mistake so it always returned false and not true.
I found out what I was doing wrong.
It turns out the way I setup, I had made a mistake so it always returned false and not true.
- Team Xlink
- Posts: 368
- Joined: Thu Jun 25, 2009 4:45 am
- Location: Michigan
Sorry, gl_picmip 10
It's already implemented in standard glquake. It simply forces what mip level to use.
It's already implemented in standard glquake. It simply forces what mip level to use.
Benjamin Darling
http://www.bendarling.net/
Reflex - In development competitive arena fps combining modern tech with the speed, precision and freedom of 90's shooters.
http://www.reflexfps.net/
http://www.bendarling.net/
Reflex - In development competitive arena fps combining modern tech with the speed, precision and freedom of 90's shooters.
http://www.reflexfps.net/
- Electro
- Posts: 312
- Joined: Wed Dec 29, 2004 11:25 pm
- Location: Brisbane, Australia
mh wrote:OK.
I think you might be in a little over your head here. You've asked a lot of questions lately, some of them have been basic stuff and some have been major overhauls of the engine. I'm starting to think that you want to jump ahead to some advanced stuff when you don't seem to have the basic knowledge down yet.
My advice is to sit down with a blank file/empty project/whatever, get a good basic OpenGL tutorial (there are plenty on the web) and work with that. Get a triangle on the screen, texture it, light it, make it spin. Play with the various parameters and see what the effect is, then understand why that happened.
Then take a basic Quake build on Windows or Linux and make small modifications. Fix up some texturing bugs if that's your thing, or change the physics, sound or other code. Build up from there. 3D and game engine programming can be both incredibly easy and incredibly hard, and if you let the incredibly easy bits lure you in too far, you'll end up badly bitten when you come to the incredibly hard ones.
It's great to see the ambition coming out, but if you try to run before you can walk you'll end up with a release that's fairly badly botched and will probably need rewriting in 6 months time when you understand things better. Take it from someone who's been there - it's a humbling experience to be making all of your early mistakes in public.
All meant well.
Bawhawhawhaw I've been saying (or at least thinking) this for a while. Then again, I act like a douchebag all the time so it's great that somebody else picks up the slack.
-

Downsider - Posts: 621
- Joined: Tue Sep 16, 2008 1:35 am
See, i disagree....
building an opengl game project from scratch is a lot of work and you won't get any gratificaition for a while. And even when you finally do, it's something pointless like spinning green triangles.
using the quake engine as a base and adding features that you are actually excited about, gives three benefits:
1. the results are meaningful to you
2. you're starting with a fully-functional base, which lets you do very small changes and see instant results
3. you have a working model to study and learn from
building an opengl game project from scratch is a lot of work and you won't get any gratificaition for a while. And even when you finally do, it's something pointless like spinning green triangles.
using the quake engine as a base and adding features that you are actually excited about, gives three benefits:
1. the results are meaningful to you
2. you're starting with a fully-functional base, which lets you do very small changes and see instant results
3. you have a working model to study and learn from
- metlslime
- Posts: 316
- Joined: Tue Feb 05, 2008 11:03 pm
See, i disagree....
building an opengl game project from scratch is a lot of work and you won't get any gratificaition for a while. And even when you finally do, it's something pointless like spinning green triangles.
using the quake engine as a base and adding features that you are actually excited about, gives three benefits:
1. the results are meaningful to you
2. you're starting with a fully-functional base, which lets you do very small changes and see instant results
3. you have a working model to study and learn from
But:
1) You have no understanding of anything you did.
2) You think you're far better than you actually are.
3) You can't sell your shit.
4) Because of 1 & 2, you'll try porting to another platform and fail.
5) You're a tutorial whore.
Last edited by Downsider on Thu Aug 27, 2009 8:32 pm, edited 1 time in total.
-

Downsider - Posts: 621
- Joined: Tue Sep 16, 2008 1:35 am
Disgusting behavior Downsider.
Benjamin Darling
http://www.bendarling.net/
Reflex - In development competitive arena fps combining modern tech with the speed, precision and freedom of 90's shooters.
http://www.reflexfps.net/
http://www.bendarling.net/
Reflex - In development competitive arena fps combining modern tech with the speed, precision and freedom of 90's shooters.
http://www.reflexfps.net/
- Electro
- Posts: 312
- Joined: Wed Dec 29, 2004 11:25 pm
- Location: Brisbane, Australia
18 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 1 guest

