|
Sprites render on the screen
#260779
04/13/09 15:15
04/13/09 15:15
|
Joined: Aug 2004
Posts: 1,345 Kyiv, Ukraine
VeT
OP
Serious User
|
OP
Serious User
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
|
I asked this question some time ago and it was looked ilke i solve trouble, but i decided to ask this again. So, i think that it would be usefull to render sprites right on the screen. For example, i want to move my sprite with camera, and particles may not to be effected. Look here: i created entity in 3d and place it in front of camera. Entity creates particles. When camera is not rotate, everything looking ok but as i rotate camera to the right direction(clockwise, by pan axis), i get I think that render particles right on the screen would be able to solve this
|
|
|
Re: Sprites render on the screen
[Re: VeT]
#261620
04/18/09 22:23
04/18/09 22:23
|
Joined: Aug 2004
Posts: 1,345 Kyiv, Ukraine
VeT
OP
Serious User
|
OP
Serious User
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
|
Okay, i have next trouble... As emitter is far from camera, it can be postioned behind the models... so, sometimes i dont see particles at all
In addition, it's looking like non-optimized to translate particle coordinates from 3d(emitter) to screen, then calculate new position in 3d, and then translate into screen coordinatees again...
I'd be REALLY happy, if you (please-please-please) add posibility of rendering particles right on the screen, like entittes: ENTITY* shotgun_onscreen = { type = "shotgun.mdl"; layer = 2; // display above view entities with layer 1 flags2 = SHOW; // lite-C only: x = 100; // place 100 quants ahead of the view y = -50; // 50 to the right z = 0; // and center vertically }
|
|
|
|