Welcome Guest [Log In] [Register]
We hope you enjoy your visit.


You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.

Join our community!

If you are already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
drawing things without a buffer and; adjusting their size based on distance
Topic Started: Sep 24 2008, 01:07 AM (169 Views)
Eansis
Member Avatar
ghost
[ *  *  *  *  *  * ]
Like for example, I have a billboard behind something I want it to appear seeable. (like the famous GM function, d3d_hidden.) Also what is the equation for having it remain the same screen size regardless of its distance from the camera?
VOTE FOR BUDDY ROEMER HE'S A STRAIGHTFORWARD, DOWN TO EARTH AMERICAN GUY WHO ISN'T PART OF THE BIGBROTHER CONSPIRACY

Til'c
 
Things will not calm down Daniel Jackson. They will infact calm up.
Offline Profile Quote Post Goto Top
 
skarik
Member Avatar
kitten eating scum
[ *  *  *  *  *  * ]
DrawTex()
GetScreenCoord()
BlaThisDip()

Or

pixel_shader = "additive.psh"
CreatePSSShader()
Edited by skarik, Sep 24 2008, 01:21 AM.
Blog|EHS
Offline Profile Quote Post Goto Top
 
Eansis
Member Avatar
ghost
[ *  *  *  *  *  * ]
well i can't use draw tex because theres no additive blending and also if it is a model it wont work

i dont want to use a shader because it is not compatible with certain machines
VOTE FOR BUDDY ROEMER HE'S A STRAIGHTFORWARD, DOWN TO EARTH AMERICAN GUY WHO ISN'T PART OF THE BIGBROTHER CONSPIRACY

Til'c
 
Things will not calm down Daniel Jackson. They will infact calm up.
Offline Profile Quote Post Goto Top
 
skarik
Member Avatar
kitten eating scum
[ *  *  *  *  *  * ]
Use a universal vertex shader where you decrease the z coordinate relative to the screen. That's simple, but you lose most lighting. You can only have 3 lights.
Edited by skarik, Sep 24 2008, 04:08 AM.
Blog|EHS
Offline Profile Quote Post Goto Top
 
Eansis
Member Avatar
ghost
[ *  *  *  *  *  * ]
skarik
Sep 24 2008, 04:08 AM
Use a universal vertex shader where you decrease the z coordinate relative to the screen. That's simple, but you lose most lighting. You can only have 3 lights.
Hmmm, how would that work? Is the shader a 2d orthographic projection?
VOTE FOR BUDDY ROEMER HE'S A STRAIGHTFORWARD, DOWN TO EARTH AMERICAN GUY WHO ISN'T PART OF THE BIGBROTHER CONSPIRACY

Til'c
 
Things will not calm down Daniel Jackson. They will infact calm up.
Offline Profile Quote Post Goto Top
 
skarik
Member Avatar
kitten eating scum
[ *  *  *  *  *  * ]
Eanbro
Sep 24 2008, 08:06 AM
skarik
Sep 24 2008, 04:08 AM
Use a universal vertex shader where you decrease the z coordinate relative to the screen. That's simple, but you lose most lighting. You can only have 3 lights.
Hmmm, how would that work? Is the shader a 2d orthographic projection?
No, it basically does what an object with no shader does except it has one extra calculation called mul oPos, r0, c5
Blog|EHS
Offline Profile Quote Post Goto Top
 
« Previous Topic · Questions about Ultimate 3D · Next Topic »
Add Reply