|
Map rendering... Displaying 1-16 of 16 total.
1
Omni
|
Is it possible to render the Map to a specific destination? Like
Render(mybuffer); ? If not, what exactly is the Map rendering to?
--------
I have a renderstring. We'll say it's "R".
Now, I during a HookRetraced function, I changed the renderstring to "1" (carefully removing the R, so as not to do recursive HookRetraces), and call Render(). I then restore the Renderstring to "R" and return from the function.
This in effect draws layer 1 at the HookRetrace layer.
Is this possible?
Posted on 2004-06-11 02:07:18
|
el_desconocido
|
If I recall, in v2, I tested multi-layer rendering and did so by having the single HookRetrace() something like: ...
if(curr_pass == 0)
{
curr_pass = 1;
// switch rstring to render second pass
// first pass drawing
}
else if(curr_pass == 1)
{
curr_pass = 0; // or 2
// switch rstring back to first pass (or third)
// second pass drawing
}
...
It drew n layers, made first pass, drew next n layers, made second pass, drew remaining n layers, and showed the page.
Basically move the R around to fool verge into calling it multiple times.
Make any sense?
El
Posted on 2004-06-11 04:45:52
|
Omni
|
Looks like a way to render something different every frame.
Can't quite understand how this would be useful, but hey. If it works, then maybe my idea will work.
Posted on 2004-06-11 15:18:52
|
el_desconocido
|
I don't remember if I actually got it to work, but my intention was to do something like this:
Map has 6 layers.
Rstring set via maped as 1,2,R,3,E,4,5,6.
While the map runs, it:
draws 1,2, calls retrace
retrace draws, sets rstring to 1,2,3,E,4,R,5,6
draws 3,4, calls retrace
retrace draws, sets rstring back to 1,2,R,3,E,4,5,6
draws 5,6
shows page, repeats.
El
Posted on 2004-06-11 15:52:05
|
Gayo
|
Sorry, I went on a long tangent but misunderstood what you were asking. Having proved useless, I now have a question for you: how are you reading and writing the renderstring? I couldn't see any functions for that, though I have a history of missing documented functions in V3.
Posted on 2004-06-11 15:53:40 (last edited on 2004-06-11 15:58:25)
|
Interference22
|
Quote:Originally posted by Gayo
Sorry, I went on a long tangent but misunderstood what you were asking. Having proved useless, I now have a question for you: how are you reading and writing the renderstring? I couldn't see any functions for that, though I have a history of missing documented functions in V3.
Vecna did something like that in the v3 Sully packin, didn't he? Its something I've coded into Perceptions but haven't really used yet.
Posted on 2004-06-11 16:00:02 (last edited on 2004-06-11 16:00:03)
|
Interference22
|
Ok, I didn't edit that last post and apparently I have. Who did that?!
Posted on 2004-06-11 16:01:02
|
el_desconocido
|
You had an extra space at the end of your post, wasting valuable disk space on the server. So in the 1 second from your having posted it, I learned to haxor, haxored verge-rpg.com, and removed it for you.
Posted on 2004-06-11 16:05:20
|
Omni
|
It would be a custom renderstring.
myrstring = "XXXRXXX"
*edit the string all I want to
SetRString(myrstring)
Posted on 2004-06-11 16:09:01
|
vecna
|
There is renderstring editing in my WIP build - as well as a RenderMap(int xwin, int ywin, int destimage) to compliment the normal Render().
Posted on 2004-06-11 18:59:43
|
Buckermann
|
Quote:Originally posted by vecna
There is renderstring editing in my WIP build - as well as a RenderMap(int xwin, int ywin, int destimage) to compliment the normal Render().
That sounds absolutly marvelous! Can't wait for the next version :)
Posted on 2004-06-11 19:49:27
|
Omni
|
How far is it from release? :)
Posted on 2004-06-12 02:51:19
|
vecna
|
Im pretty far from reaching my original goals but on account of it being way overdue Im going to release a miniWIP as soon as zero fixes some bugs.
Posted on 2004-06-12 03:17:45
|
Omni
|
Sounds understandable.
Posted on 2004-06-12 03:21:10
|
KilloZapit
|
Quote:Originally posted by El Desconocido
I don't remember if I actually got it to work, but my intention was to do something like this:
Map has 6 layers.
Rstring set via maped as 1,2,R,3,E,4,5,6.
While the map runs, it:
draws 1,2, calls retrace
retrace draws, sets rstring to 1,2,3,E,4,R,5,6
draws 3,4, calls retrace
retrace draws, sets rstring back to 1,2,R,3,E,4,5,6
draws 5,6
shows page, repeats.
El Why not just use 1,2,R,3,E,4,R,5,6 ?
I remember being able to do that in verge2 anyway. You could just put in as many duplicates as you wanted.
Posted on 2004-07-04 10:38:33
|
Zip
|
Right, how do I get this one to work then? SetRString() isn't a function according to my verge.exe
Zip
Posted on 2004-07-05 19:55:24
|
Displaying 1-16 of 16 total.
1
|
|