Jump to content

Normal maps (and rend2)


Recommended Posts

Posted

The Mobility Radeon 4650 is supposedly capable of OpenGL 3.2 so as long as your driver supports it that should work. You can verify this e.g. using the GPU Caps Viewer. It displays your supported version in the OpenGL tab and lets you try various demos to further test it.

Boothand likes this
Posted
  On 2/26/2014 at 6:58 AM, mrwonko said:

The Mobility Radeon 4650 is supposedly capable of OpenGL 3.2 so as long as your driver supports it that should work. You can verify this e.g. using the GPU Caps Viewer. It displays your supported version in the OpenGL tab and lets you try various demos to further test it.

 

That should be the problem then!

my GL_VERSION is 3.1.8787 BETA Debug Context.

 

If I try to load a 3.2 demo, I get an error similar to the console dump error.

 

But is this dependent on having the latest driver? Or is it something else?

I hope I won't have issues with my stationary computer when I try it on that, since it's probably older than this computer, just more stationary and stable.

 

 

EDIT: According to this site, it seems I should have the driver named Mobility Radeon HD 4650 6.14.10.9756 to support 3.2.

I seem to have some trouble *getting* it though. Google searches only show me that same page.

Posted

Well I don't know much about rend2, but the shader indicates OpenGL 3.0 is enough, no need for 3.2. But yeah, it could be related to your mobile GPU not being up to the task or the drivers not supporting it.

Posted

Strange, rend2 shouldn't be using OpenGL features that the card doesn't support. The minimum version required is OpenGL 2.0 (the GLSL version is added at runtime depending on the GL version available). Might have been a driver bug

Posted

Hey, I'm back at my stationary computer. After my success using rend2 on my laptop, using the exact same procedure on my stationary computer doesn't work. No errors, it just won't switch renderer. When I type cl_renderer rd-rend2, and vid_restart, it stays in vanilla. Also tested on a totally clean steam-install, with the same behavior. Clearing the My games/OpenJK folder only resets my settings, but no change to the problem.

 

Graphics card: Nvidia geforce gts 250

OpenGL 3.3.0

DirectX 11

Windows Vista (it's my brother's previous, previous computer, but in good shape despite its Vistaness).

 

Are you aware of any problems with older computers?

Posted

Starting with cl_renderer rd-rend2 in the shortcut command line -

 

cl_renderer = "rd-vanilla", the default

latched = "rd-rend2".

 

cl_renderer rd-rend2; vid restart.

 

condump:

 

 

  Reveal hidden contents

 

 

I could add that admin rights make no difference, and I'm using a rend2 that Szico sent me, which works on my laptop.

Posted

It didn't work prior nor after I updated my graphics driver big time (it did cause minimizing with alt + enter to give a black screen in both JK2 and OpenJK though. But that's not related).

 

@@eezstreet, @@ensiform, any experience with the game refusing to switch renderer?

The console log (above) simply says:

 

Trying to load "rd-rend2_x86.dll" from "C:\spel\JKA\GameData"...
Loading "rd-rend2_x86.dll" failed
failed
: trying to load fallback renderer

Posted
  On 3/3/2014 at 11:02 PM, DT85 said:

Dumb question probably, but there is a rd-rend2_x86.dll in with the openjk EXE right?

 

Afraid so :P

 

Could I try someone else's rend2? I'm sure it shouldn't matter though, this one worked just fine on my laptop.

Posted

Admin rights won't do you any good.  That was mostly the whole purpose of adding homepath, so that admin rights are not required.  Is the OpenJK exe new enough?

Posted
  On 3/4/2014 at 1:46 AM, ensiform said:

Admin rights won't do you any good.  That was mostly the whole purpose of adding homepath, so that admin rights are not required.  Is the OpenJK exe new enough?

 

Yeah, tried with several versions, including the latest build.

Posted

Rend2 decided to start working after a reinstall! Parallax mapping causes the sky to be inverted, textures to be black and crazy stretched, but it works :D

Posted

So I actually was able to compile the rend2 branch of OpenJK, and got it to run. So I proceeded to make a normal map of one of JA's textures. Here's my shader. 
 

textures/rift/floor1
{ 
	qer_editorimage textures/rift/floor1.jpg
	{  
		map textures/rift/floor1.jpg
		rgbGen vertexLit 
	} 
	{  
		stage normalparallaxmap  
		map textures/rift/floor1/floor1_normal.jpg
	}
}.

Problem is, the game doesn't recognize some of the shader commands. 

 

357rrxc.jpg

 

What am I doing wrong? Is the game somehow not utilizing rend2?

Posted

@@Xycaleth 

 

That did it, I can see the texture now at least. My normal map must be awful though because I don't see any improvement.

 

2143uxv.jpg

 

@@redsaurus no it's a .shader, does it have to be a .mtr to work?

 

EDIT:

 

...and now, when I try to load the same map using the exact same procedure as before, OpenJK crashes.

Posted

Put rend2 shaders in .mtr so you don't get errors from q3map2. I was pretty sure they'd show up if running rend2 anyway though, but I might be wrong.

 

I experienced lots of crashing and trouble with various versions of openJK/rend2. On this computer it worked for *some* reason after reinstalling the game, but not after trying it on a clean steam-install. I sometimes deleted Documents/My games/OpenJK when things weren't working. OpenJK will generate a new one next time you run it, so it's safe, although you'll lose configs setup in openJK. But that worked as a way to clean up to make sure openJK was up to date and working alright.

 

Did it crash after you put it in .mtr or have you done that yet?

Posted

I got kind of pissed off after that last crash and deleted OpenJK. I don't think I'm going to use it again until it's stable, or until rend2 is available for JK2 HD. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...