r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[View] discuss view related issues

Geomol
18-Apr-2006
[4790x2]
My guess is, that Anton made a function in REBOL like IMAGE used 
in the DRAW dialect. It takes 4 points and do some calculations producing 
a modified image. Like what I do in Canvas, when you use perspective. 
I'm using DRAW for that, Anton is converting the routine from AGG 
C++-source.
Maybe something like this:

view layout [box 400x400 effect [draw [image logo.gif 20x20 380x50 
300x380 40x100]]]
Henrik
18-Apr-2006
[4792]
because we can
?
Anton
18-Apr-2006
[4793x3]
Not quite, although I think I could. What I have done is made a function 
which can transform a point from one space into another. Eg, for 
Geomol's example above, it maps from the image (logo.gif) space into 
the final rendered space shown on screen. So I could ask for any 
point in the image and find out where it is rendered to at the end.
It's good because it matches exactly the algorithm AGG uses to draw 
the image (I am pretty sure anyway .:)
Yep, locked on solid :)
Geomol
18-Apr-2006
[4796]
Anton, what is your plan with it? For what use do you need such a 
space-transformation routine?
Anton
18-Apr-2006
[4797x2]
Ahaha.... :)
Think - reverse transform.
Geomol
18-Apr-2006
[4799]
You have a "twisted" image and want the original one!? :-)
Anton
18-Apr-2006
[4800]
not image - individual points, one at a time
Anton
22-Apr-2006
[4801]
Why View should not admit defeat.
http://home.wilddsl.net.au/anton/rebol/virtual-face_xvid.avi
Henrik
22-Apr-2006
[4802]
anton, ahhh, so that's what you needed it for :-) very, very good 
demo
Graham
22-Apr-2006
[4803]
that is pretty neat anton!
Henrik
22-Apr-2006
[4804x2]
actually that is almost slashdottable
but I wouldn't do that to anton's server...
Graham
22-Apr-2006
[4806]
where's the source?
Henrik
22-Apr-2006
[4807]
somewhere in the Australian wilderness?
Graham
22-Apr-2006
[4808x2]
I wouldn't call Melbourne a wilderness!
Not that I would ask a user to use a rotated and skewed gui..!
Anton
22-Apr-2006
[4810x3]
Why not ? Novell with their XGL on the rotated desktop thinks it's 
useful.
Actually Melbourne is a bit of a wilderness, in a way.
source coming... hang on
Graham
22-Apr-2006
[4813]
Not familiar with Novell/XGL.  Got a link?
Henrik
22-Apr-2006
[4814]
it's a linux thing
Anton
22-Apr-2006
[4815]
Here, but there is a video somewhere...
http://www.novell.com/linux/xglrelease/
Graham
22-Apr-2006
[4816]
I"m trying to install Suse on a new AMD motherboard and it doesn't 
recognise the video on the motherboard, and so get some rather disturbing 
effects.
Anton
22-Apr-2006
[4817x2]
Some videos of XGL here:
http://cto.secs.oakland.edu/~castro/NLD10video/
Ah here it is:

http://video.google.com/videoplay?docid=-7587965514994593432&q=xgl&pl=true
Henrik
22-Apr-2006
[4819]
too bad the framerate is so low. the effects are completely smooth
Anton
22-Apr-2006
[4820x3]
You can download the video to get smoother playback locally.
do http://home.wilddsl.net.au/anton/rebol/gui/demo-virtual-face.r
Tested on View 1.3.2.3.1
Geomol
22-Apr-2006
[4823]
Hehe, that's pretty fun! :-) Good job!
Anton
22-Apr-2006
[4824]
Thanks, appreciate all the feedback.
Geomol
22-Apr-2006
[4825]
Maybe reverse perspective transform routine should be in rebcode 
to get speed?
Anton
22-Apr-2006
[4826]
Would be good, but that's not the bottleneck at all.
Maarten
22-Apr-2006
[4827x3]
Anton: I can put the video on my surfnet account, bandwidt enough, 
so you can be slashdotted. Suppl me with a page with all the credits, 
and ...
/.
(credits for you, I'm just mirroring)
Anton
22-Apr-2006
[4830]
Wait wait ! I don't think it's good for "world" consumption.
Maarten
22-Apr-2006
[4831]
question: are the events ent over TCP
Anton
22-Apr-2006
[4832]
No, not TCP.
Maarten
22-Apr-2006
[4833]
You australians are so modest;-)
Anton
22-Apr-2006
[4834]
Ah.. of course you don't mean you're going to make a post to slashdot. 
Mirror as you wish.
Maarten
22-Apr-2006
[4835]
Only if you need it, let me know if you get to much viewers. As long 
as it are only the rebelopers I guess it isn't necessary.
Anton
22-Apr-2006
[4836]
The events are captured in wake-event. Instead of just allowing wake-event 
to DO them, I simulate DO with my reverse-engineered version (mimic-do-event). 
Since I have programmed it I can add features like event-transparent 
faces.
Maarten
22-Apr-2006
[4837]
If you can hook up the events to a tcp port we can give X a run for 
its money
Anton
22-Apr-2006
[4838x2]
My ISP will let me know if they are too flooded. :-) But I don't 
think it will be a problem.
Interesting... can't think what that allows immediately. Do you have 
an application in mind ? Why would that be better than handling events 
natively ?