Tupac
Member
|
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
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 |
|
menajev
Member
|
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
ViewportActive.range=;
ViewportActive.set();
|
|
06-06-2009 11:17 AM |
|
Tupac
Member
|
Re: How to see far ? + Bug whith ScreenToPosDir bugged ??
Thx you a lot that rock !!
a problem in less !!
|
|
06-06-2009 11:37 AM |
|
Tupac
Member
|
Re: How to see far ? + Bug whith ScreenToPosDir bugged ??
And thx to Harry who gave me the tuto for config.txt using !!!!
Advanced/1 - Geometry, Graphics, Gui, Misc, Net, Sound/Misc/Config.cpp
The community is realy reactive !!
I found THE Engine !! my quest is finished
now lets go working !!
|
|
06-06-2009 11:48 AM |
|
Esenthel
Administrator
|
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 |
|
Tupac
Member
|
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 |
|