Gamestudio Links
Zorro Links
Newest Posts
Help!
by VoroneTZ. 10/14/25 05:04
Zorro 2.70
by jcl. 10/13/25 09:01
ZorroGPT
by TipmyPip. 10/12/25 13:58
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 10/11/25 18:45
Reality Check results on my strategy
by dBc. 10/11/25 06:15
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (VoroneTZ, TipmyPip), 9,297 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Jota, krishna, DrissB, James168, Ed_Love
19169 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
How can I figure out what a quant is? #44122
04/11/05 23:51
04/11/05 23:51
Joined: Jan 2005
Posts: 37
J
Jim Offline OP
Newbie
Jim  Offline OP
Newbie
J

Joined: Jan 2005
Posts: 37
Can someone please tell me in "dummy" terms what a quant is? For instance, if I'm looking at a 16 X 8 grid, I see that there are large squares which contain smaller squares which measure 8 across and 8 down. So, do each one of these smaller squares represent 1 quant? In other words, each one of the larger squares is made up of 64 quants?

__Jim

Re: How can I figure out what a quant is? [Re: Jim] #44123
04/12/05 02:44
04/12/05 02:44
Joined: Oct 2003
Posts: 2,628
IL,US
FeiHongJr Offline
Expert
FeiHongJr  Offline
Expert

Joined: Oct 2003
Posts: 2,628
IL,US
Theres no set distance as far as real life goes. 1 quant is equal to one unscaled pixel. So if you have a block thats 64quants x 64quants then a texture of 64pixels x 64pixels it would fit perfectly. As far as a rough estimate on real life measure i would say its roughly an inch. Hope this helps


http://www.freewebs.com/otama_syndicate/index.htm - Each master to his own technique.

- Not me said the bee, Nor I said the fly.
Re: How can I figure out what a quant is? [Re: Jim] #44124
04/12/05 03:51
04/12/05 03:51
Joined: Aug 2003
Posts: 842
alabama
Drittz_Dourden Offline
User
Drittz_Dourden  Offline
User

Joined: Aug 2003
Posts: 842
alabama
Okay but how many square's = a quant? iv wondered this for a while as well

Daniel

cause i have a texture that is 128X128 and i made a cube the size of one of the grid box's that had 64 grid box's inside it. Please describe this easier please

Daniel

Re: How can I figure out what a quant is? [Re: Drittz_Dourden] #44125
04/12/05 04:39
04/12/05 04:39
Joined: Sep 2003
Posts: 4,959
US
G
Grimber Offline
Expert
Grimber  Offline
Expert
G

Joined: Sep 2003
Posts: 4,959
US
1 quant == 1 pixel at 16 bit texture image

so a texture that is 128x128 x16 ( such as the defualt texture) will take a block surface 128 quants wide/tall/deep , from starting at the origin, untill the texture 'tiles'(repeats) itself.

the origin point of the level is being where ALL texture tileing originates from, so being you want a texture to fit exacly on a surface. place the block at the origin, line up the texture.. then texture lock the block before moving it to its final possition in the level.

Re: How can I figure out what a quant is? [Re: Grimber] #44126
04/12/05 05:06
04/12/05 05:06
Joined: Oct 2003
Posts: 2,628
IL,US
FeiHongJr Offline
Expert
FeiHongJr  Offline
Expert

Joined: Oct 2003
Posts: 2,628
IL,US

EDIT::
oops I apologize its 16 quants per little box when zoomed all the way in on default settings. I beleive the next set when you zoom out is 32. I wasnt positive but was too tired to check last nite guess next time Ill make sure I check first





Last edited by FeiHongJr; 04/12/05 19:34.

http://www.freewebs.com/otama_syndicate/index.htm - Each master to his own technique.

- Not me said the bee, Nor I said the fly.
Re: How can I figure out what a quant is? [Re: FeiHongJr] #44127
04/12/05 06:41
04/12/05 06:41
Joined: Jul 2000
Posts: 11,321
Virginia, USA
Dan Silverman Offline
Senior Expert
Dan Silverman  Offline
Senior Expert

Joined: Jul 2000
Posts: 11,321
Virginia, USA
Well, let's demystify this. I am not sure why so many people are confused about the poor little quant .

First of all, the quant is an arbitrary unit of measure (when it comes to the real world). You can make it equal an inch or a foot or a meter or whatever. It all depends on your needs. The manual recommends, for a first person shooter, that a quant equals approximately one inch or approximately 2.5 cm, but that is only a recommendation.

Now, while the quant can have an arbitrary measurement for the real worl, it has a very specific measurement for textures that is based on the pixel. One quant is exactly equal to one pixel (as long as you have not scaled your texture larger or smaller). Contrary to another post here, it does not matter if the texture is 16-bits, 8-bits, 24-bits or 32-bits. A pixel is still a pixel in size. It is just a dot. The only time the "bits" will come into play is when you want to figure out how much video memory is going to be used by that texture. No matter its bit-size, a 256 x 256 pixel texture will still take up 256 x 256 pixels.

WED, when left at its default, will have 16 quants per smaller grid square. Since a quant is exactly equal to a pixel then, by default, there are 16 pixels across the edge of the smaller square on the grid.

If you notice, there is something unusual about the grid system in WED. Instead of the standard 10 smaller blocks to form a larger grid square, there are only eight. Why? This has to do with the game engine using a power of 2 system. By having eight across at 16 pixels per smaller grid square you end up with a total of 128 quants to a major grid square (16 x 8 = 128). This means that if you made a cube the exact size as one of the major grid squares that an unscaled 128 x 128 pixel texture would fill it perfectly from edge to edge without tiling.

Basically, if you understand the quant then you can use it to properly texture your level geometry.

BTW - Textures begin their tiling (unless you shift their X and Y properties) from the world center. Therefore, if you were to create a 128 x 128 quant cube with one corner of it exactly at the world center then you could apply a 128 x 128 pixel texture to it and there would be no tiling at all. It would perfectly cover the faces of the cube (if you understand what I mean).

Well, I hope this helps.


Professional 2D, 3D and Real-Time 3D Content Creation:
HyperGraph Studios
Re: How can I figure out what a quant is? [Re: Dan Silverman] #44128
04/12/05 06:47
04/12/05 06:47
Joined: Aug 2003
Posts: 842
alabama
Drittz_Dourden Offline
User
Drittz_Dourden  Offline
User

Joined: Aug 2003
Posts: 842
alabama
Thanks guys, while i do think im a decent level designer i never understood quants lol. Now i do so thanks


Daniel

Re: How can I figure out what a quant is? [Re: Drittz_Dourden] #44129
04/12/05 19:22
04/12/05 19:22
Joined: Jul 2000
Posts: 8,973
Bay Area
Doug Offline
Senior Expert
Doug  Offline
Senior Expert

Joined: Jul 2000
Posts: 8,973
Bay Area
This does come up a lot. Moving this to the FAQ forum.


Conitec's Free Resources:
User Magazine || Docs and Tutorials || WIKI
Re: How can I figure out what a quant is? [Re: Doug] #44130
04/12/05 20:29
04/12/05 20:29
Joined: Dec 2000
Posts: 4,608
mk_1 Offline

Expert
mk_1  Offline

Expert

Joined: Dec 2000
Posts: 4,608
Why "quant" if it is still divisible?


Follow me on twitter
Re: How can I figure out what a quant is? [Re: mk_1] #44131
04/13/05 20:11
04/13/05 20:11
Joined: Jul 2000
Posts: 8,973
Bay Area
Doug Offline
Senior Expert
Doug  Offline
Senior Expert

Joined: Jul 2000
Posts: 8,973
Bay Area
Quote:

Why "quant" if it is still divisible?




It's just a name we use for that unit.

It has nothing to do with quantum physics, being an investment manager with a expertise in mathematics, or the British fashion designer who created miniskirts and hot pants.
http://www.tfd.com/quant


Conitec's Free Resources:
User Magazine || Docs and Tutorials || WIKI
Page 1 of 3 1 2 3

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1