|
|
DISTORCE A SKIN ON A MODEL/SPRITE
#130192
05/16/07 15:58
05/16/07 15:58
|
Joined: Oct 2006
Posts: 179
ExtraCortex
OP
Member
|
OP
Member
Joined: Oct 2006
Posts: 179
|
 I have a line in a sprite, if i see the sprite in front, i see the line straight, like picture 1. But if i get side to side with the sprite, the line becomes distorced by my perspective, you have the idea that the line is bigger in the right side and tiny in the left side, like in picture 2. How can i make the line not do be distorced by the perpective? I want the result to be something like the 3rd picture. Note: Changing the line's size in the skin picture wont go.
|
|
|
Re: DISTORCE A SKIN ON A MODEL/SPRITE
[Re: ExtraCortex]
#130193
05/16/07 16:15
05/16/07 16:15
|
Joined: Mar 2006
Posts: 2,503 SC, United States
xXxGuitar511
Expert
|
Expert
Joined: Mar 2006
Posts: 2,503
SC, United States
|
I'm guessing this is for use with a portal, in which case you need a shader to render to the screen. Sorry, but I'm not able to release my code for this ATM... 
xXxGuitar511 - Programmer
|
|
|
Re: DISTORCE A SKIN ON A MODEL/SPRITE
[Re: xXxGuitar511]
#130194
05/16/07 16:23
05/16/07 16:23
|
Joined: Oct 2006
Posts: 179
ExtraCortex
OP
Member
|
OP
Member
Joined: Oct 2006
Posts: 179
|
Yes, its for the portal. I cant run shaders neither.
I only need the math logic or the camera's logic using his .arc, size_x, size_y, pos_x and pox_y to give that effect.
Btw, what you mean by 'ATM'? English is not my main language, so some words like that i cant get it.. lol
Last edited by ExtraCortex; 05/16/07 16:23.
|
|
|
Re: DISTORCE A SKIN ON A MODEL/SPRITE
[Re: ExtraCortex]
#130195
05/16/07 16:32
05/16/07 16:32
|
Joined: Mar 2006
Posts: 2,503 SC, United States
xXxGuitar511
Expert
|
Expert
Joined: Mar 2006
Posts: 2,503
SC, United States
|
At The Moment...  You need a shader to do this. Sorry... 3DGS only uses a perpective based camera...
xXxGuitar511 - Programmer
|
|
|
Re: DISTORCE A SKIN ON A MODEL/SPRITE
[Re: ExtraCortex]
#130197
05/16/07 16:40
05/16/07 16:40
|
Joined: Oct 2006
Posts: 179
ExtraCortex
OP
Member
|
OP
Member
Joined: Oct 2006
Posts: 179
|
|
|
|
|