Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
1 registered members (Grant), 999 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
RenderTargets #63388
02/07/06 18:31
02/07/06 18:31
Joined: Aug 2005
Posts: 3
R
rchadwic Offline OP
Guest
rchadwic  Offline OP
Guest
R

Joined: Aug 2005
Posts: 3
I've given it a good shot, but it seems like my rendertargets are not being filled with any information in A6 6.31... I dont need to do a full screen shader with the screen aligned quad and such, but it seems there are alot of other usefull things I could do if I could get the targets working. Is there something special I need to do?

Rob C.

Re: RenderTargets [Re: rchadwic] #63389
02/08/06 10:27
02/08/06 10:27
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline
Expert
Matt_Aufderheide  Offline
Expert
M

Joined: Oct 2003
Posts: 4,131
When you say rendertargets.. do you mean view.bmap ? thats the only way to get a render target...


Sphere Engine--the premier A6 graphics plugin.
Re: RenderTargets [Re: Matt_Aufderheide] #63390
02/08/06 16:46
02/08/06 16:46
Joined: Aug 2005
Posts: 3
R
rchadwic Offline OP
Guest
rchadwic  Offline OP
Guest
R

Joined: Aug 2005
Posts: 3
hummm, that does not sound like what I need. The code I'm thinking of would look somethign like this:

texture RT : RenderTarget
<
float Width=338;
float Height=319;
string Format="D3DFMT_A16B16G16R16";
float ClearDepth=1.000000;
int ClearColor=0;
>;
technique depth
{

pass p0 < string script = "RenderColorTarget = RT";>
{ ....blah...blah...
}

}


or the line with the script may look like <string RenderTarget = RT;>
I've seen this in several other apps, but it seems like they dont work in GS. You should also be able to get a depth buffer. I'd like to use both of these to create volumetric clouds and waters, but I need depth buffers to figure out how thick an object is in view space on the z. Thanks for the help!

Rob C.

Re: RenderTargets [Re: rchadwic] #63391
02/08/06 22:27
02/08/06 22:27
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline
Expert
Matt_Aufderheide  Offline
Expert
M

Joined: Oct 2003
Posts: 4,131
As far as i know you cant do this in A6.. you need to write a dll plugin that does this.


Sphere Engine--the premier A6 graphics plugin.
Re: RenderTargets [Re: Matt_Aufderheide] #63392
02/10/06 17:15
02/10/06 17:15
Joined: Aug 2005
Posts: 3
R
rchadwic Offline OP
Guest
rchadwic  Offline OP
Guest
R

Joined: Aug 2005
Posts: 3
Oh well, Thanks.


Moderated by  Blink, Hummel, Superku 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1