Quake3World.com Forums
     Level Editing & Modeling
        LOL Math


Post new topicThis topic is locked, you cannot edit posts or make further replies.
Login | Profile | | FAQ | Search | IRC




Print view Previous topic | Next topic 
Topic Starter Topic: LOL Math

Grunt
Grunt
Joined: 23 Sep 2009
Posts: 63
PostPosted: 11-01-2009 03:37 PM           Profile Send private message  E-mail  Edit post Reply with quote


Does anyone find that the engine ignores 'alphaGen const' under a value of 0.10?




Top
                 

I'm the dude!
I'm the dude!
Joined: 04 Feb 2002
Posts: 12498
PostPosted: 11-01-2009 04:22 PM           Profile Send private message  E-mail  Edit post Reply with quote


0.1 = 10% opacity.

It's not that it ignores it, it's just incredibly subtle that you may not see it.



_________________
GtkRadiant | Q3Map2 | Shader Manual


Top
                 

Grunt
Grunt
Joined: 23 Sep 2009
Posts: 63
PostPosted: 11-01-2009 06:23 PM           Profile Send private message  E-mail  Edit post Reply with quote


I am making a mockup HDR for something and have made 99 squares as small as the editor allows and making each square opacity 99.. 98.. 97 away from the thing that is to look like it glows, and then as soon as I start going under 10% opacity, it gives me a result of something that looks like 80% opacity..

alphaGen const 0.9.9245




Top
                 

Grunt
Grunt
Joined: 23 Sep 2009
Posts: 63
PostPosted: 11-01-2009 06:34 PM           Profile Send private message  E-mail  Edit post Reply with quote


Perhaps the engine is parsing it as 90.9245%... If I added a 0 infront would it parse it off as a 9?

alphaGen const 0.09.9245




Top
                 

Grunt
Grunt
Joined: 23 Sep 2009
Posts: 63
PostPosted: 11-01-2009 06:46 PM           Profile Send private message  E-mail  Edit post Reply with quote


Success.




Top
                 

I'm the dude!
I'm the dude!
Joined: 04 Feb 2002
Posts: 12498
PostPosted: 11-01-2009 07:23 PM           Profile Send private message  E-mail  Edit post Reply with quote


Uhh... that really doesn't make any sense. Numbers are normalized, # / max value.
% values of 0 to 100 = 0.0 to 1.0

0.09.9245 is not a number on any number system. You can't have 2 decimal points in a number.

Quake 3 is probably trimming off everything following the second decimal since it doesn't know what to do with it.



_________________
GtkRadiant | Q3Map2 | Shader Manual


Top
                 

Mentor
Mentor
Joined: 12 Mar 2005
Posts: 3958
PostPosted: 11-02-2009 08:11 AM           Profile Send private message  E-mail  Edit post Reply with quote


obsidian wrote:
Quake 3 is probably trimming off everything following the second decimal since it doesn't know what to do with it.

This.




Top
                 

Messatsu Ko Jy-ouu
Messatsu Ko Jy-ouu
Joined: 24 Nov 2000
Posts: 44139
PostPosted: 11-02-2009 08:24 AM           Profile   Send private message  E-mail  Edit post Reply with quote


much like our decimal system dictates




Top
                 

btw cocks
btw cocks
Joined: 16 Aug 2003
Posts: 3216
PostPosted: 11-02-2009 02:43 PM           Profile Send private message  E-mail  Edit post Reply with quote


best troll in the last five years




Top
                 

btw cocks
btw cocks
Joined: 16 Aug 2003
Posts: 3216
PostPosted: 11-02-2009 02:44 PM           Profile Send private message  E-mail  Edit post Reply with quote


seriously, two decimal points, this thread owns




Top
                 

Grunt
Grunt
Joined: 23 Sep 2009
Posts: 63
PostPosted: 11-02-2009 05:16 PM           Profile Send private message  E-mail  Edit post Reply with quote


rgoer.. I wouldn't be suprized if you weigh over 100Kg.




Top
                 

I'm the dude!
I'm the dude!
Joined: 04 Feb 2002
Posts: 12498
PostPosted: 11-02-2009 05:23 PM           Profile Send private message  E-mail  Edit post Reply with quote


Oooo... burn. Aren't you witty!

Mean mean moderators, locking all our threads.



_________________
GtkRadiant | Q3Map2 | Shader Manual


Top
                 
Quake3World.com | Forum Index | Level Editing & Modeling


Post new topic This topic is locked, you cannot edit posts or make further replies.


cron
Quake3World.com
© ZeniMax. Zenimax, QUAKE III ARENA, Id Software and associated trademarks are trademarks of the ZeniMax group of companies. All rights reserved.
This is an unofficial fan website without any affiliation with or endorsement by ZeniMax.
All views and opinions expressed are those of the author.