Some texturing resizing after compiling

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators

Some texturing resizing after compiling

Postby Idakus » Sun Nov 04, 2007 8:43 pm

I've found that some textures stretch parameter seems to change when I compile and play a map. I'm a newb at this, but I have tried to narrow the problem down to a simple example. The first image here is of a small room I built in radiant. all walls have e7/e7sbrickfloor except for one. The other wall* is e7/e7sbrickfloor_bump.
Image

*Note this is just an example texture. The next image on this post is what happens when I compile and play the map in Nexuiz. The problem occurs also with full color textures that I create myself. I've tried 256x256 and 512x512 textures, and they get squished down to 64x64. Here's what this looks like running in Nex.

Image

Funny thing, is that if I choose a different texture in e7, say e7/e7bricks01.jpg, the resizing doesn't happen. I've googled forums, looked at the .map files, and the radiant and nexuiz source code, and haven't been able to find what the solution. Here's a link to the .map and .bsp.

ttest.bsp
ttest.map

I feel like I'm missing something simple, care to give a clue?

Cheers,

-I
[/img]
Idakus
Newbie
 
Posts: 4
Joined: Sun Nov 04, 2007 7:38 pm
Location: Earth

Postby Revenant » Sun Nov 04, 2007 10:00 pm

I've had this problem before and I think it was something to do with wrong paths set up. Did you ever have it working properly? If you did, just make sure you have the right project selected (.proj). If its never worked, try using tZorks Nexuiz-radiant thingy.
Revenant
Alien
 
Posts: 122
Joined: Sat Mar 04, 2006 9:38 pm
Location: Canada

Postby Idakus » Sun Nov 04, 2007 10:12 pm

I'll give tZorks radiant stuff a try. I'm running a 1.5 radiant build I somehow got working on linux this past April, so I'll update my svn and apply his patch. Thanks.
Idakus
Newbie
 
Posts: 4
Joined: Sun Nov 04, 2007 7:38 pm
Location: Earth

Postby TVR » Mon Nov 05, 2007 12:30 am

I believe the problem lies in the use of texture superfixed with _<word>, these aren't textures, these are actually informing the radiant of where on a texture to apply effects [bump maps, gloss, normal maps, etc.]

Otherwise, tell us about the compiling parameters you've used.
TVR
Alien trapper
 
Posts: 404
Joined: Fri Jun 01, 2007 12:56 am

Postby Idakus » Mon Nov 05, 2007 1:03 am

I've got it working. In short it was a problem with my directories, thanks for the good hint in that direction.

Looks like tZork's patch is included in 1.5. I did a new check out and it generally worked out of the box. I had to build with g++-4.1, because g++-4.2 was stricter on some of the opengl header syntax concerning GLVoid something or other. After that, it built and came up.

The problem I was having with the textures is that I was creating the textures under $HOME/.nexuiz/data/textures and not /usr/share/games/nexuiz/data/textures. I made some links to have only one set of directories and all is well in textureland. Thanks a bunch.
Idakus
Newbie
 
Posts: 4
Joined: Sun Nov 04, 2007 7:38 pm
Location: Earth

Postby divVerent » Mon Nov 05, 2007 5:56 am

For the directory problem, do this:

mkdir ~/.q3a
ln -snf ~/.nexuiz/data ~/.q3a/data

Then q3map2 should find your files when called from Radiant. The problem is that ~/.q3a is hardcoded in q3map2, and does not follow the Radiant settings.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE


Return to Nexuiz - Editing

Who is online

Users browsing this forum: No registered users and 1 guest

cron