Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: aldo_14 on September 08, 2001, 08:11:00 am

Title: Max Texture Size!!!
Post by: aldo_14 on September 08, 2001, 08:11:00 am
Remember the discussion over max texture sizes on this forum a while ago....anyway, I was looking at a link to the registry edits for FS1
 http://www.descent-freespace.com/ddn/kb/registry/ (//"http://www.descent-freespace.com/ddn/kb/registry/")

and noticed something - specifically at the bottom;

D3DTextureDivider DWORD
Sets the rendering routines based on amount of texture RAM:
- 0: autodetect as below
- 1: optimize for > 16 MB
- 2: optimize for > 8 MB
- 3: optimize for > 4 MB
- 4: optimize for <= 4 MB
- else: same as 4

D3DUseLargeTextures DWORD
- 0: use 256 as max textures size (default)
- else: max size the card can use as the max


Now, admittedly it is for FS1, but it may be of use if you still want to try and use higher res textures.....  just thought it may be useful if you have large maps.  (http://dynamic.gamespy.com/~freespace/ubb/noncgi/wink.gif)

------------------
RECIPROCITY (//"http://uk.geocities.com/gunnery_control/index.html")
(No-one lives forever)
          [email protected]          
ICQ: 119819902
Title: Max Texture Size!!!
Post by: aldo_14 on September 08, 2001, 09:04:00 am
Ah, bugger..

based on a different reply on another forum, this may not work after all, due to an engine limitation or something... I don't know if it's been tried or not...sorry if I got anyones hopes up  (http://dynamic.gamespy.com/~freespace/ubb/noncgi/frown.gif)

Still, you live, you learn.
Title: Max Texture Size!!!
Post by: Eth on September 08, 2001, 09:33:00 am
 (http://dynamic.gamespy.com/~freespace/ubb/noncgi/eek.gif)

I just ran a test with the fighter and test textures from back then using the following entries in the registry Key of  HKEY_LOCAL_MACHINE/Software/Volition/FreeSpace2

D3DTextureDivider 1
D3DUseLargeTextures 1

IT WORKS!!!!!  (http://dynamic.gamespy.com/~freespace/ubb/noncgi/biggrin.gif)  (http://dynamic.gamespy.com/~freespace/ubb/noncgi/biggrin.gif)

* Dances the dance of joy *

DOH!

* Smacks forehead on monitor for not remembering this info himself *

THANKS ALDO!

* Buys Aldo a pint at his favorite pub *

(Have screen shots for proof too)
Title: Max Texture Size!!!
Post by: Alikchi on September 08, 2001, 09:42:00 am
Ooooooh!!!! OOOOOHHHH!!!!!
Title: Max Texture Size!!!
Post by: CptWhite on September 08, 2001, 10:48:00 am
Now lets see the proof  (http://dynamic.gamespy.com/~freespace/ubb/noncgi/smile.gif)

------------------
Title: Max Texture Size!!!
Post by: Warlock on September 08, 2001, 12:09:00 pm
Don't worry I'll post shots once Eth's got the fighter finished  (http://dynamic.gamespy.com/~freespace/ubb/noncgi/smile.gif)

Eth....email....hmmmm....well?   LOL

------------------
Warlock
     (http://www.gotp.f2s.com/DA.JPG)    
DeathAngel Squadron ("http://deathangelsquadron.net")
CO

Do or Do Not,..There Is No Spoon
DeathAngel Squadron and Ghosts of the Past Forum ("http://www.dasquad.f2s.com/cgi-bin/ikonboard//ikonboard.cgi")
Ghosts of the Past WebSite ("http://www.gotp.f2s.com")
To Fly Exotic Ships, Meet Exotic People, and Kill Them.


We may rise and fall, but in the end
 We meet our fate together
Title: Max Texture Size!!!
Post by: aldo_14 on September 09, 2001, 07:29:00 am
Strangely, I only discovered this after I found a perfectly good way to map 256x256 without losing much detail.
Title: Max Texture Size!!!
Post by: Setekh on September 09, 2001, 07:34:00 am
It works?!  (http://dynamic.gamespy.com/~freespace/ubb/noncgi/eek.gif)
Title: Max Texture Size!!!
Post by: aldo_14 on September 09, 2001, 07:45:00 am
 
Quote
Originally posted by Setekh:
It works?!   (http://dynamic.gamespy.com/~freespace/ubb/noncgi/eek.gif)

Apparently.

Still be some problems in using it for mods, as you'd have to base texture size on what cards people have, and whether or not they've tweaked their registry.  Good news though.
Title: Max Texture Size!!!
Post by: Eternal One on September 09, 2001, 01:32:00 pm
Yes, it works perfect. Thanks for this one aldo14, it's really gonna make our mod's visuals sky-rocket  (http://dynamic.gamespy.com/~freespace/ubb/noncgi/smile.gif)

------------------
Project Co-leader
Freespace 2: The Babylon Project
Title: Max Texture Size!!!
Post by: Nico on September 09, 2001, 01:54:00 pm
 
Quote
Originally posted by aldo_14:
Apparently.

Still be some problems in using it for mods, as you'd have to base texture size on what cards people have, and whether or not they've tweaked their registry.  Good news though.

I suppose 512*512 would fit on any videocard?
can you post a pic?
Title: Max Texture Size!!!
Post by: Warlock on September 09, 2001, 03:11:00 pm
Here's one of the pics Eth sent me showing the new rez improvments.

As you can tell by readable hi-rez fonts..it works  (http://dynamic.gamespy.com/~freespace/ubb/noncgi/smile.gif)

 (http://www.gotp.f2s.com/screen00.jpg)

------------------
Warlock
     (http://www.gotp.f2s.com/DA.JPG)    
DeathAngel Squadron ("http://deathangelsquadron.net")
CO

Do or Do Not,..There Is No Spoon
DeathAngel Squadron and Ghosts of the Past Forum ("http://www.dasquad.f2s.com/cgi-bin/ikonboard//ikonboard.cgi")
Ghosts of the Past WebSite ("http://www.gotp.f2s.com")
To Fly Exotic Ships, Meet Exotic People, and Kill Them.


We may rise and fall, but in the end
 We meet our fate together
Title: Max Texture Size!!!
Post by: Nico on September 09, 2001, 03:44:00 pm
cool  (http://dynamic.gamespy.com/~freespace/ubb/noncgi/smile.gif)
Title: Max Texture Size!!!
Post by: Setekh on September 10, 2001, 05:46:00 am
I got that pic too, War. Here is what it looks like normally...

 (http://www.3dap.com/hlp/staff/setekh/fs2-normaltex.jpg)

See the difference.  (http://dynamic.gamespy.com/~freespace/ubb/noncgi/wink.gif)
Title: Max Texture Size!!!
Post by: Carl on September 10, 2001, 10:32:00 pm
could someone please tell me step by step how to do this?
Title: Max Texture Size!!!
Post by: Anaz on September 16, 2001, 07:16:00 pm
I don't have the D3DTextureDivider or the other value in my regestry! Do I have to create those, and set their value?

------------------
_____________________
-Analazon
Creator of the mod that will not be coming for a while
Title: Max Texture Size!!!
Post by: Eternal One on September 17, 2001, 01:42:00 am
 
Quote
Originally posted by Analazon:
I don't have the D3DTextureDivider or the other value in my regestry! Do I have to create those, and set their value?


Yes.

Title: Max Texture Size!!!
Post by: aldo_14 on September 17, 2001, 01:57:00 pm
Personally, i'm not bothering with this, as I'm happy with my 256x256 res maps.  (http://dynamic.gamespy.com/~freespace/ubb/noncgi/tongue.gif)
Title: Max Texture Size!!!
Post by: Nico on September 17, 2001, 03:34:00 pm
 
Quote
Originally posted by aldo_14:
Personally, i'm not bothering with this, as I'm happy with my 256x256 res maps.   (http://dynamic.gamespy.com/~freespace/ubb/noncgi/tongue.gif)


me too
Title: Max Texture Size!!!
Post by: WraithHost on September 17, 2001, 04:39:00 pm
256 x256 maps GOOD!

especially as I'm still running on an original Riva TNT card that does 256 x 256 MAX. Remember backwards compatability issues.



------------------
Phil.
  Trust In Me &
  Fall As-well
Title: Max Texture Size!!!
Post by: Anaz on September 17, 2001, 06:06:00 pm
thanx et1

------------------
_____________________
-Analazon
Creator of the mod that will not be coming for a while