About Store Forum Documentation Contact
Donations:
158$/mo



Post Reply 
How to see far ? + Bug whith ScreenToPosDir bugged ??
Author Message
Tupac Offline
Member

Post: #1
How to see far ? + Bug whith ScreenToPosDir bugged ??
Hi 1st i wanna say that i love that engine and i understand that it's not opensource cause the price is reasonable. I'm actualy making a mmorpg and i have some problems..

I can set the fog more far than default, but didn't find the option to set world drawing depth. Hope that there is an option grin

Next, i'm drawing names by the fonction ScreenToPosDir (or inverse.. dont remeber) and i have the name on screen when i look at the inverse of the player :/
Maybe an option to correct this or i need to fix manualy??

Finaly, i saw an config.txt file but it dont influence on my game. can i use it with a specific mod or func that load it ?

thnx
06-06-2009 10:58 AM
Find all posts by this user Quote this message in a reply
menajev Offline
Member

Post: #2
Re: How to see far ? + Bug whith ScreenToPosDir bugged ??
Tupac Wrote:I can set the fog more far than default, but didn't find the option to set world drawing depth. Hope that there is an option grin
ViewportActive.range=;
ViewportActive.set();
06-06-2009 11:17 AM
Find all posts by this user Quote this message in a reply
Tupac Offline
Member

Post: #3
Re: How to see far ? + Bug whith ScreenToPosDir bugged ??
Thx you a lot that rock !! grin
a problem in less !!
06-06-2009 11:37 AM
Find all posts by this user Quote this message in a reply
Tupac Offline
Member

Post: #4
Re: How to see far ? + Bug whith ScreenToPosDir bugged ??
And thx to Harry who gave me the tuto for config.txt using !!!! wink

Advanced/1 - Geometry, Graphics, Gui, Misc, Net, Sound/Misc/Config.cpp

The community is realy reactive !!

I found THE Engine !! my quest is finished grin

now lets go working pfft !!
06-06-2009 11:48 AM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #5
Re: How to see far ? + Bug whith ScreenToPosDir bugged ??
Hi,

It's great that you like the engine

Quote:Next, i'm drawing names by the fonction ScreenToPosDir (or inverse.. dont remeber) and i have the name on screen when i look at the inverse of the player :/
Maybe an option to correct this or i need to fix manualy??

please take a look at these functions, maybe they will help (they return false when the position is behind the camera)
Code:
Bool PosToScreen (Vec &pos,Vec2 &screen); // convert 3D position to 2D screen position                                       , false on fail (point is behind the camera)
Bool PosToScreenM(Vec &pos,Vec2 &screen); // convert 3D position to 2D screen position (transformed by current object matrix), false on fail (point is behind the camera)
06-06-2009 12:37 PM
Find all posts by this user Quote this message in a reply
Tupac Offline
Member

Post: #6
Re: How to see far ? + Bug whith ScreenToPosDir bugged ??
Return false if behind !!! of course !!!
I cant beleive that i did not find alone :(

i repeate : i love it thx again : 3 pbs solved in 3 hours great !
06-06-2009 03:05 PM
Find all posts by this user Quote this message in a reply
Post Reply